PHP 4.0 Bug #9043 Updated: popen returns a 'Resource id #' (non null) when process cannot be created.
| From: | bbonev@php.net | Date: | Thu, 01 Feb 2001 18:48:20 +0000 |
| Subject: | PHP 4.0 Bug #9043 Updated: popen returns a 'Resource id #' (non null) when process cannot be created. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45551@lists.php.net to get a copy of this message | ||
ID: 9043
Updated by: bbonev
Reported By: sah@uow.edu.au
Status: Open
Bug Type: *Directory/Filesystem functions
Assigned To:
Comments:
confirmed on linux both php4.0.3pl1 and latest CVS
Previous Comments:
---------------------------------------------------------------------------
[2001-02-01 00:16:30] sah@uow.edu.au
<?
$cp = popen('/bin/I_DO_NOT_EXIST', 'w');
echo "Result is $cp<br>n";
?>
Returns the following:
Result is Resource id #1
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9043