Re: PHP 4.0 Bug #3412: func_num_args() gives wrong result when used inside a parameter list.
| From: | Zeev Suraski | Date: | Sat, 05 Feb 2000 16:25:20 +0000 |
| Subject: | Re: PHP 4.0 Bug #3412: func_num_args() gives wrong result when used inside a parameter list. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15221@lists.php.net to get a copy of this message | ||
func_num_args() will not return valid results when inside a parameter
list.
On 5 Feb 2000 thies@digicol.de wrote:
> From: thies@digicol.de
> Operating system: all
> PHP version: 4.0 Latest CVS (05/02/2000)
> PHP Bug Type: Scripting Engine problem
> Bug description: func_num_args() gives wrong result when used inside a parameter list.
>
> <? var_dump(max(1,func_num_args())); ?>
>
> shows:
> X-Powered-By: PHP/4.0b4-dev
> Content-Type: text/html
>
> int(1930160)
>
>
>
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/