On Sat, 4 Jan 2003 [EMAIL PROTECTED] wrote:
> 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...
Of course it should not be ignored, NULL can be used as an argument
like any other type.
> Actually with filetype(null), it transforms null in a string and try
> to stat "null" which is a bit stupid...
It doesn't stat "null", it stats the filename which was transformed to
an empty string (strace output):
stat64("", 0xbfffee90) = -1 ENOENT (No such file or directory)
lstat64("", 0xbfffee90) = -1 ENOENT (No such file or directory)
> Any comment?
Stop wasting time by commenting on things you have little clue of.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php