Re: ZEND_NUM_ARGS()

From: Date: Sat, 04 Jan 2003 22:16:47 +0000
Subject: Re: ZEND_NUM_ARGS()
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-93126@lists.php.net to get a copy of this message
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 nicos@php.net www.WorldAKT.com Hébergement de sites internets. "Sterling Hughes" <sterling@bumblebury.com> a écrit dans le message de news: 20030104213712.GA30215@bumblebury.com... > > 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

« previous php.dev (#93126) next »