Re: cvs: php4 /ext/curl curl.c /ext/db db.c /ext/domxml php_domxml.c /ext/fdf fdf.c /ext/gd gd.c /ext/hyperwave hw.c /ext/interbase
interbase.c /ext/mhash mhash.c /ext/odbc php_od
| From: | Rasmus Lerdorf | Date: | Mon, 13 Aug 2001 07:35:21 +0000 |
| Subject: | Re: cvs: php4 /ext/curl curl.c /ext/db db.c /ext/domxml php_domxml.c /ext/fdf fdf.c /ext/gd gd.c /ext/hyperwave hw.c /ext/interbase interbase.c /ext/mhash mhash.c /ext/odbc php_od |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6770@lists.php.net to get a copy of this message | ||
> That's a *very* inefficient way of doing this. Why not just
> if (ZEND_NUM_ARGS()==0) {
> ZEND_WRONG_PARAM_COUNT();
> }
You mean != 0 there
The warning message is clearer. But yes, I realize it isn't super
efficient and thus didn't touch stuff that might be speed sensitive.
-Rasmus