php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
Submitted: 2012-06-13 11:41 UTC Modified: 2012-06-14 16:17 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Testing related
PHP Version: 5.4Git-2012-06-13 (Git) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 5 = ?
Subscribe to this entry?

 
 [2012-06-13 11:41 UTC] ab@php.net
Description:
------------
The test diff:

021+ Warning: socket_set_block(): An operation was attempted on something that is not a socket.
022+  in C:\php-sdk\php54\vc9\x86\php-src\ext\sockets\tests\socket_import_stream-4.php on line 11
023+
024+ Warning: socket_set_block(): unable to set blocking mode [0]: The operation completed successfully.
025+  in C:\php-sdk\php54\vc9\x86\php-src\ext\sockets\tests\socket_import_stream-4.php on line 11
021- Warning: socket_set_block(): unable to set blocking mode [%d]: %s in %s on line %d
024- Warning: socket_get_option(): unable to retrieve socket option [%d]: %s in %s on line %d
028+ Warning: socket_get_option(): unable to retrieve socket option [0]: An operation was attempted on something that is not a socket.
029+  in C:\php-sdk\php54\vc9\x86\php-src\ext\sockets\tests\socket_import_stream-4.php on line 14

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

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-14 16:06 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=280e3a4ec8616f4a32a5186463d475592d1eebda
Log: Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
 [2012-06-14 16:17 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-06-14 16:17 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.


 [2014-10-07 23:24 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=280e3a4ec8616f4a32a5186463d475592d1eebda
Log: Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
 [2014-10-07 23:35 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=280e3a4ec8616f4a32a5186463d475592d1eebda
Log: Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC