note 99308 deleted from reflectionparameter.allowsnull by aharvey
| From: | aharvey@php.net | Date: | Tue, 08 Jan 2013 02:48:26 +0000 |
| Subject: | note 99308 deleted from reflectionparameter.allowsnull by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192816@lists.php.net to get a copy of this message | ||
Note Submitter: jeroen at asystance dot nl
----
It seems this always returns true for user-defined functions. Consider
function f1 ( $var1 = null, $var2, $var3 = false ) {}
ReflectionMethod reports these all as nullable (and only the 3rd as optional - weird)