Re: ZEND_NUM_ARGS()
| From: | Philip Olson | Date: | Sat, 04 Jan 2003 22:54:18 +0000 |
| Subject: | Re: ZEND_NUM_ARGS() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93132@lists.php.net to get a copy of this message | ||
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('somebogusname') as an example:
Linux:
- Returns boolean false
- E_WARNING about lstat failure...
Windows:
- Returns string 'dir'
- No E_WARNING
Is this how this is going to be forever? Is this behavior
suppose to be documented?
Regards,
Philip