Bug #14621 Updated: popen() never returns false

From: Date: Sat, 09 Feb 2002 23:44:43 +0000
Subject: Bug #14621 Updated: popen() never returns false
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342154@lists.php.net to get a copy of this message
ID: 14621 Updated by: torben@php.net Reported By: petr@dousa.cz -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: 4.1.0 New Comment: This bug has been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2001-12-20 09:51:34] petr@dousa.cz popen() doesn't return false on non-existent file. Bug#9043 says that it is intentional, but probably it's not the expected behavior and should be noted in the manual. if (popen("/i/dont/exist","r")) echo "OK"; results in "OK" (and no warning is issued). Also applies to exec(), system() and backtick operator. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14621&edit=1

« previous php.doc (#969342154) next »