Re: ZEND_NUM_ARGS()
| From: | Sterling Hughes | Date: | Sat, 04 Jan 2003 21:37:13 +0000 |
| Subject: | Re: ZEND_NUM_ARGS() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93121@lists.php.net to get a copy of this message | ||
> 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