ID:               26440
 User updated by:  steven at pearavenue dot com
 Reported By:      steven at pearavenue dot com
 Status:           Bogus
 Bug Type:         HTTP related
 Operating System: Linux
 PHP Version:      5.0.3-dev
 Assigned To:      pollita
 New Comment:

I lied. false is returned by fopen.

However, fopen succeeds without the context and fails with it.


Previous Comments:
------------------------------------------------------------------------

[2003-11-28 13:08:07] steven at pearavenue dot com

I test for the error - the resource creation returns true from fopen

------------------------------------------------------------------------

[2003-11-28 13:06:26] steven at pearavenue dot com

This 5.0 error suggests an error in the resource creation that is not
reported by the fopen.

------------------------------------------------------------------------

[2003-11-28 13:05:07] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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

Reply via email to