ID:               48805
 Updated by:       j...@php.net
 Reported By:      carsten_sttgt at gmx dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Streams related
 Operating System: *
 PHP Version:      5.*, 6CVS (2009-07-06)
 New Comment:

Can you provide an url to an ipv6 only server?


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

[2009-07-05 18:17:14] carsten_sttgt at gmx dot de

Also not working on Linux.

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

[2009-07-05 18:12:57] carsten_sttgt at gmx dot de

Same problem on OS X.

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

[2009-07-05 16:45:06] carsten_sttgt at gmx dot de

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

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

[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