ID:               48805
 User updated by:  carsten_sttgt at gmx dot de
 Reported By:      carsten_sttgt at gmx dot de
 Status:           Open
 Bug Type:         Streams related
 Operating System: Windows_NT
-PHP Version:      5.3.0
+PHP Version:      5.2.10, 5.3.*
 New Comment:

It's also not working with the latest snapshot.
(Version: 5.3.1-dev; Sun, 05 Jul 2009 16:08:49 +0000)


Previous Comments:
------------------------------------------------------------------------

[2009-07-05 16:13:08] carsten_sttgt at gmx dot de

Description:
------------
Hallo,

IPv6 socket transport is not working in Windows.

PHP is build with "--enable-ipv6" and you can see this in phpinfo()
to:
| IPv6 Support  enabled

After a short check, this bug was introduced in 5.2.10. With 5.2.9 this
is working perfect.

(That's really a pain, if you must access a IPv6 only server...)

Regards,
Carsten


Reproduce code:
---------------
<?php
var_dump(file_get_contents('http://[::1]/'));
?>


Expected result:
----------------
A string with the content of the webpage.

Actual result:
--------------
bool(false)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48805&edit=1

Reply via email to