#37705 [Opn->Csd]: Semaphore constants not available.
| From: | iliaa@php.net | Date: | Mon, 05 Jun 2006 22:52:38 +0000 |
| Subject: | #37705 [Opn->Csd]: Semaphore constants not available. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98064@lists.php.net to get a copy of this message | ||
ID: 37705
Updated by: iliaa@php.net
Reported By: aeolianmeson at blitzeclipse dot com
-Status: Open
+Status: Closed
Bug Type: Semaphore related
Operating System: Fed4
PHP Version: 5.1.4
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-06-05 20:08:16] aeolianmeson at blitzeclipse dot com
Description:
------------
The constants, as mentioned in the documentation (for msg_send() and
msg_receive()), are not available.
Specifically, the EAGAIN constant (which tells you to try resending a
message because there was no space left), and the ENOMSG constant
(which tells you that there was no message available and blocking was
turned off).
The IPC_CREAT constant should be there as well. This isn't mentioned
officially in the documentation, but in one of the comments, as well as
in bug #25961.
Reproduce code:
---------------
php -r 'print(EAGAIN);'
Expected result:
----------------
An integer.
Actual result:
--------------
PHP Notice: Use of undefined constant EAGAIN - assumed 'EAGAIN' in
Command line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37705&edit=1