Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread nicos
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 1:01 AM Subject: Re: [PHP-DEV] ZEND_NUM_ARGS() > On Sat, 4 Jan 2003 [EMAIL PROTECTED] wrote: > > > Hello, > > > > After seeing the bug #21410, I j

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Derick Rethans
On Sat, 4 Jan 2003, Philip Olson wrote: > Okay, let's use filetype('somebogusname') as an example: > > Windows: > - Returns string 'dir' > - No E_WARNING > > Is this how this is going to be forever? Is this behavior > suppose to be documented? It's supposed to be fixed :) CHecking it now...

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Derick Rethans
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 arg

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Philip Olson
On Sat, 4 Jan 2003, Sterling Hughes wrote: > > Probably but it looks like that filetype(null); for example under windows > > will return type directory... > > > > So it looks an important bug too. > > > > Its about as much of a bug as passing filetype(null) isn't a bug. Okay, let's use filetype

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Sterling Hughes
> Probably but it looks like that filetype(null); for example under windows > will return type directory... > > So it looks an important bug too. > Its about as much of a bug as passing filetype(null) isn't a bug. -Sterling "Ask a stupid question, get a stupid answer." - Father Benedict Gr

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Steph
filetype(null); for example under windows > will return type directory... is_file() has done the same for a very long time on doze. There are workarounds in the notes for it.. > So it looks an important bug too. > -- PHP Development Mailing List To unsubscribe, visit: h

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread nicos
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 messag

Re: [PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread Sterling Hughes
> 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 bi

[PHP-DEV] ZEND_NUM_ARGS()

2003-01-04 Thread nicos
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...