At 09:33 AM 5/5/2004 +0200, Arjen Warendorff wrote:
The ReflectionParameter method "allowsNull()" doesn't seem to return
anything else then (bool)TRUE ??
Because today this still isn't supported (except for maybe in internal
functions).
Today all parameters allow NULL :)
Andi
--
PHP Internals - P
- Original Message -
From: "Arjen Warendorff" <[EMAIL PROTECTED]>
To: "'PHP Internals List'" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 7:33 PM
Subject: [PHP-DEV] Reflection API : Feature request and question
> Hello,
>
> I have
Hello,
I have played around with the Reflection API, missed some features and have
some questions:
At the moment there is no way of checking if a default parameter has a
value, and if so, to get it's value. Example:
function foo($bar = TRUE) {}
The default value for $bar would be TRUE in this exa