php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61800 ext\standard\tests\streams\bug61371.phpt fails
Submitted: 2012-04-21 19:05 UTC Modified: 2012-04-26 11:35 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Streams related
PHP Version: 5.3.10 OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-04-21 19:05 UTC] ab@php.net
Description:
------------
Test diff:

002+
003+ Warning: stream_socket_client(): unable to connect to udp://0.0.0.0:80 (The requested address is not valid in its context.
004+ ) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 14
005+
006+ Warning: fclose() expects parameter 1 to be resource, boolean given in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 15
007+
008+ Warning: stream_socket_client(): unable to connect to udp://0.0.0.0:80 (The requested address is not valid in its context.
009+ ) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 14
010+
002- bool(true)
003- memory: %dkb
004- bool(true)
005- memory: %dkb
006- memory: %dkb
007- bool(true)
008- memory: %dkb
009- bool(true)
010- memory: %dkb
011+ Warning: fclose() expects parameter 1 to be resource, boolean given in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 15
012+
013+ Warning: stream_socket_client(): unable to connect to udp://0.0.0.0:80 (The requested address is not valid in its context.
014+ ) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 14
015+
016+ Warning: fclose() expects parameter 1 to be resource, boolean given in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 15
017+
018+ Warning: stream_socket_client(): unable to connect to udp://0.0.0.0:80 (The requested address is not valid in its context.
019+ ) in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 14
020+
021+ Warning: fclose() expects parameter 1 to be resource, boolean given in C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\streams\bug61371.php on line 15
022+
................................. and about 2000 lines more

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61800.diff (last revision 2012-04-21 22:09 UTC by ab@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-21 22:09 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61800.diff
Revision:   1335046147
URL:        https://bugs.php.net/patch-display.php?bug=61800&patch=61800.diff&revision=1335046147
 [2012-04-21 22:09 UTC] ab@php.net
the old thing - 0.0.0.0 vs 127.0.0.1 on windows
 [2012-04-22 00:13 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: ab
 [2012-04-22 00:13 UTC] felipe@php.net
Do not you have karma to commit yourself?
 [2012-04-22 08:27 UTC] ab@php.net
Yep, just waiting for a collegue to validate the patch, will then commit.
 [2012-04-26 11:32 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4e9db5ba9fd0dcaa5f86dc644dfa8a7897ae8dd7
Log: Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
 [2012-04-26 11:35 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-26 11:35 UTC] ab@php.net
-Status: Assigned +Status: Closed
 [2014-10-07 23:26 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=4e9db5ba9fd0dcaa5f86dc644dfa8a7897ae8dd7
Log: Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
 [2014-10-07 23:37 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=4e9db5ba9fd0dcaa5f86dc644dfa8a7897ae8dd7
Log: Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 16:01:29 2024 UTC