thinking of Function foo($a = 1, $b)
I agree this is kind of wrong usage. But that is allowed Thanks 发自我的 iPad 在 2012-8-3,1:35,Stas Malyshev <smalys...@sugarcrm.com> 写道: > Hi! > >> Commit: 170ee90bf962d288bdcf6cf0c8c4a2a30c5c1ba2 >> Author: Xinchen Hui <larue...@php.net> Thu, 2 Aug 2012 22:28:04 >> +0800 >> Parents: 3b5defd3b09bf827239087126261ce9abdc13d09 >> Branches: PHP-5.4 >> >> Link: >> http://git.php.net/?p=php-src.git;a=commitdiff;h=170ee90bf962d288bdcf6cf0c8c4a2a30c5c1ba2 >> >> Log: >> Fixed bug that can not get default value of parameter if it's not `optional` > > What you mean here? Optional parameters are those that have default > values, not? > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php