Re: Re: Difference in warning string for PHP5.2 and PHP5.3
| From: | Christopher Jones | Date: | Sat, 05 Jun 2010 18:03:55 +0000 |
| Subject: | Re: Re: Difference in warning string for PHP5.2 and PHP5.3 | ||
| References: | 1 2 3 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65567@lists.php.net to get a copy of this message | ||
On 06/05/2010 06:11 AM, Felix De Vliegher wrote:
Hi The issue here is the difference between parameter handling in 5.2 and 5.3 (which has the improved parameter handling), that's why I suggested to Stefan to mention it here: 5.3: if (zend_parse_parameters_none() == FAILURE) { return; } 5.2: if (ZEND_NUM_ARGS() != 0) { WRONG_PARAM_COUNT; } I could fix this in 5.2 if no one has problems with it.Fix it in what way? Backporting all the parameter code changes to 5.2 would break compatibility, which is why wasn't done when the changes were made to 5.3. Chris -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/ugpomhome