Re: [RFC] skipping optional parameters
| From: | Stas Malyshev | Date: | Tue, 17 Apr 2012 23:26:44 +0000 |
| Subject: | Re: [RFC] skipping optional parameters | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60132@lists.php.net to get a copy of this message | ||
Hi!
> Introducing "undefined" might be good.
> Intention becomes clearer and we may do
>
> if ($var === undefined) {
> echo '$var is undefined';
> }
What is undefined and how $var gets assigned it?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227