RE: [PHP4BETA] lates libzend update did bad things
| From: | Samuel Liddicott | Date: | Fri, 03 Sep 1999 14:03:11 +0000 |
| Subject: | RE: [PHP4BETA] lates libzend update did bad things | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4035@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Zeev Suraski [mailto:zeev@zend.com]
> Sent: Friday, September 03, 1999 02:51 PM
> To: Samuel Liddicott; Thies C. Arntzen; php4beta@lists.php.net
> Subject: RE: [PHP4BETA] lates libzend update did bad things
Thanks for replying; - I know I annoy you sometimes.
> There's no support for 'assigning' an undefined value in PHP. There was
> partial support for it in 3.0 (and the framework for that partial support
> remains in 4.0), but it was very bad. It meant each and every piece of
> code in PHP, including any builtin function, had to check for that
> undefined value, which is not acceptable.
Is this different to checking whether or not a variable is assigned?
I mean; internally are these processed different?
$var=2;
unset($var);
print ($var*2);
and
$var=2;
$var=$undefined_var;
print ($var*2);
Sam