note 96115 deleted from reflectionparameter.isoptional by danbrown

From: Date: Tue, 15 Nov 2011 16:46:09 +0000
Subject: note 96115 deleted from reflectionparameter.isoptional by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184498@lists.php.net to get a copy of this message
Note Submitter: artkurapov at gmail dot com ---- Lets say you have method defined function read_me( a,b,c=1,d,e=2,f=3){} then reading argument "c" to be optional, it will actually give you false (or nothing at all). This is probably a bug that counts number of required arguments, assuming you have put all optional to the end.

« previous php.notes (#184498) next »