Bug #14621: popen() never returns false

From: Date: Thu, 20 Dec 2001 14:51:35 +0000
Subject: Bug #14621: popen() never returns false
Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-74592@lists.php.net to get a copy of this message
From: petr@dousa.cz Operating system: PHP version: 4.1.0 PHP Bug Type: Documentation problem Bug description: popen() never returns false 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 bug report at: http://bugs.php.net/?id=14621&edit=1

« previous php.dev (#74592) next »