|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-13 15:43 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 01:00:01 2025 UTC |
Description: ------------ is_file failes to see the file has gone i wanted to have a script run as long as a file existed, on removing the file is_file was supposed to fail and my program should break out of the loop Reproduce code: --------------- test.php: <? while (is_file('foo')){ echo "still there\n"; sleep(1); } ?> shellcode: #> touch foo #> php test.php & still there still there still there .. #> rm foo still there still there .. Expected result: ---------------- It should have stopped after rm foo