ID: 26440 Updated by: [EMAIL PROTECTED] Reported By: steven at pearavenue dot com -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Linux PHP Version: 5.0.3-dev Assigned To: pollita New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The reason that functions using $fp subsequent to fopen() fails is because fopen() itself had failed and $fp === false. Previous Comments: ------------------------------------------------------------------------ [2003-11-28 13:03:53] steven at pearavenue dot com It is worth pointing out that I get the following error from the 5.0 snap. [EMAIL PROTECTED] firstsay]# php test.php PHP Warning: stream_context_get_options() expects parameter 1 to be resource, boolean given in /usr/local/firstsay/test.php on line 23 PHP Warning: stream_get_meta_data(): supplied argument is not a valid stream resource in /usr/local/firstsay/test.php on line 26 PHP Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/firstsay/test.php on line 42 errorbool(false) ::::: NULL ------------------------------------------------------------------------ [2003-11-28 12:52:33] steven at pearavenue dot com IN fact, downloading the most recent snap and fixing the install error (which is an RCS comment) - it still produces the same result. ------------------------------------------------------------------------ [2003-11-28 12:23:12] steven at pearavenue dot com PHP reports the new version number and build time ------------------------------------------------------------------------ [2003-11-28 12:21:05] steven at pearavenue dot com I get the same results as before from the STABLE 4.3.* at packaged at 4:30 yesterday - but I get this install error (Linux, RH9, Intel) - builds 4.3.4 no problem. Installing PEAR environment: /usr/local/lib/php/ Parse error: parse error in /root/php/php4-STABLE-200311280430/pear/PEAR.php on line 21 Fatal error: Class archive_tar: Cannot inherit from undefined class pear in /root/php/php4-STABLE-200311280430/pear/Archive/Tar.php on line 30 make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2 ------------------------------------------------------------------------ [2003-11-28 07:51:23] [EMAIL PROTECTED] It works as expected here, what output do you get? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26440 -- Edit this bug report at http://bugs.php.net/?id=26440&edit=1