Probably but it looks like that filetype(null); for example under windows
will return type directory...

So it looks an important bug too.

--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

"Sterling Hughes" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> > Hello,
> >
> >         After seeing the bug #21410, I just found that
function_name(null)
> > will make ZEND_NUM_ARGS()
> > returning 1. I really think that null should be ignored or something...
> >        Actually with filetype(null), it transforms null in a string and
try
> > to stat "null" which is a bit stupid...
> >
> >         Any comment?
> >
>
> Hrmm, while this is a very interesting idea, unfortunately it would be bad
> for backwards compatibality issues.
>
> -Sterling
>
> "Stupid is as stupid does."
>     - Forrest Gump



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to