PHP 4.0 Bug #4768 Updated: zend_get_parameters_ex() trashes parameters if param_count < ARG_COUNT(ht)

From: Date: Sat, 10 Jun 2000 01:08:53 +0000
Subject: PHP 4.0 Bug #4768 Updated: zend_get_parameters_ex() trashes parameters if param_count < ARG_COUNT(ht)
Groups: php.dev 
Request: Send a blank email to php-dev+get-20861@lists.php.net to get a copy of this message
ID: 4768 Updated by: zeev Reported By: clcollie@mindspring.com Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Calling the various zend_get_parameters() functions with param_count being smaller than arg_count, would result in the last arguments begin returned, instead of the first ones. For example, if you only read 2 arguments out of 3 in function foo(), foo(1,2,3) would return '2' and '3', instead of '1' and '2'. This is fixed in the latest CVS. Full Bug description available at: http://bugs.php.net/version4/?id=4768

« previous php.dev (#20861) next »