Re: [PHP-DEV] Re: [phpweb] [NON-critical] Change-notes warning:

2001-08-29 Thread Markus Fischer

On Wed, Aug 29, 2001 at 08:07:11PM +0200, Jeroen van Wolffelaar wrote : 
  fixed now. i can't believe that is_file ever spits out a warning. that
  has to be among the silliest behaviors i've ever seen.
 
 :-) I agree... See also bug#12972
 
 I think it should be fixed in PHP itself... 

And how is the user(developer) supposed to retrieve the actual
error then ? $php_errmsg (or whatever) or error_handler?

- Markus

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: [phpweb] [NON-critical] Change-notes warning:

2001-08-29 Thread jeroen

 And how is the user(developer) supposed to retrieve the actual
 error then ? $php_errmsg (or whatever) or error_handler?

He isn't. It is not a file. If wanted, the user can use file_exists to check
wether the file didn't exist, or was not of type 'file'.

This error isn't a side-effect, it is (almost) the main purpose of the
function.


 - Markus



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: [phpweb] [NON-critical] Change-notes warning:

2001-08-29 Thread Markus Fischer

On Wed, Aug 29, 2001 at 08:12:53PM +0200, [EMAIL PROTECTED] wrote : 
  And how is the user(developer) supposed to retrieve the actual
  error then ? $php_errmsg (or whatever) or error_handler?
 
 He isn't. It is not a file. If wanted, the user can use file_exists to check
 wether the file didn't exist, or was not of type 'file'.
 
 This error isn't a side-effect, it is (almost) the main purpose of the
 function.

Am I the only one wo finds the current way good? For me, the manual
is just wrong and the manual should be fixed. Not some code which
worked that way so long (and not bad at all).

- Markus

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: [phpweb] [NON-critical] Change-notes warning:

2001-08-29 Thread Stig Sæther Bakken

[Markus Fischer [EMAIL PROTECTED]]
 On Wed, Aug 29, 2001 at 08:12:53PM +0200, [EMAIL PROTECTED] wrote : 
   And how is the user(developer) supposed to retrieve the actual
   error then ? $php_errmsg (or whatever) or error_handler?
  
  He isn't. It is not a file. If wanted, the user can use file_exists to check
  wether the file didn't exist, or was not of type 'file'.
  
  This error isn't a side-effect, it is (almost) the main purpose of the
  function.
 
 Am I the only one wo finds the current way good? For me, the manual
 is just wrong and the manual should be fixed. Not some code which
 worked that way so long (and not bad at all).

We can't encourage people to use E_ALL and at the same time have silly
errors like this one. :-)

 - Stig

-- 
  Stig Sæther Bakken [EMAIL PROTECTED]
  Fast Search  Transfer ASA, Trondheim, Norway

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]