Re: [PHP4BETA] PHP 4.0 Release Candidate 1

From: Date: Tue, 28 Mar 2000 16:32:00 +0000
Subject: Re: [PHP4BETA] PHP 4.0 Release Candidate 1
References: 1  Groups: php.dev php.version4 
Request: Send a blank email to php-dev+get-17312@lists.php.net to get a copy of this message
> - Fixed a crash problem in func_num_args(), func_get_arg() and func_get_args() > when used as function arguments (Andi) when i use func_num_args() i get allways: Fatal error: func_num_args(): Can't be used as a function parameter in browser/libs/impfilter.inc on line 205 here is impfilter.inc at line 205: it is a method of a class. function MultFiltersJoin() { $out=array("DATA"=>array(), "DEFAULT"=>array(), "DEL"=>array()); for ($i=0;$i<func_num_args();$i++) { $ar=func_get_arg($i); if (is_array($this->filters[$ar])) $out=$this->FiltersJoin($out,$this->filters[$ar]); } return $out; }

« previous php.dev (#17312) next »