#31189 [Fbk->NoF]: usage of third argument of flock broken
ID: 31189
Updated by: sniper@php.net
Reported By: ivan_tihonov at mail dot ru
-Status: Feedback
+Status: No Feedback
Bug Type: Filesystem function related
Operating System: debian/linux
PHP Version: 4.3.9
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-12-20 00:01:10] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-12-19 23:26:53] ivan_tihonov at mail dot ru
Description:
------------
when using TRUE as third arg to flock fatal error happend:
Fatal error: Only variables can be passed by reference
debian/sarge package php4 version 4.3.9-2
Reproduce code:
---------------
<?php
flock(0, LOCK_EX, TRUE);
?>
Expected result:
----------------
Warning: flock(): supplied argument is not a valid stream resource in
a.php on line 2
Actual result:
--------------
Fatal error: Only variables can be passed by reference in a.php on line
2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31189&edit=1
Thread (3 messages)