ID: 48326
User updated by: VJTD3 at VJTD3 dot com
Reported By: VJTD3 at VJTD3 dot com
Status: Open
Bug Type: Sockets related
Operating System: windows vista
PHP Version: 5.2.9
New Comment:
print (defined('MSG_DONTWAIT') ? 'defined:'.constant('MSG_DONTWAIT') :
'not defined');
just a typo fix in the example, missed the ', it's a bug just a typo in
my example.
Previous Comments:
------------------------------------------------------------------------
[2009-05-19 04:56:58] VJTD3 at VJTD3 dot com
Description:
------------
socket_recvfrom and socket_recv function flag of the constant
MSG_DONTWAIT are not defined.
Reproduce code:
---------------
print (defined(MSG_DONTWAIT) ? 'defined:'.constant(MSG_DONTWAIT) : 'not
defined');
Expected result:
----------------
'defined:' and the value of the constant MSG_DONTWAIT
Actual result:
--------------
not defined
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48326&edit=1