Re: ARG_COUNT(ht)
| From: | Zeev Suraski | Date: | Sat, 03 Jun 2000 00:39:52 +0000 |
| Subject: | Re: ARG_COUNT(ht) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20107@lists.php.net to get a copy of this message | ||
You should use ZEND_NUM_ARGS(). ARG_COUNT(ht) is available for
compatibility purposes only.
Zeev
On Fri, 2 Jun 2000, Sterling Hughes wrote:
> Why is the ARG_COUNT(ht) macro used in current code? The definition is:
>
> #define ARG_COUNT(dummy) (ht)
>
> can just plain ht be used instead, or for code that will be in PHP,
> ARG_COUNT(ht) should be used?
>
> Sterling
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/