RE: [PHP-DEV] PHP 4.0 Bug #8139 Updated: NULL and isset

From: Date: Thu, 07 Dec 2000 10:39:54 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #8139 Updated: NULL and isset
Groups: php.dev 
Request: Send a blank email to php-dev+get-40349@lists.php.net to get a copy of this message
> -----Original Message----- > From: Joey Smith [mailto:joey@joeysmith.com] > Sent: Thursday, December 07, 2000 10:33 > To: Richard Heyes > Cc: PHP Developer List > Subject: RE: [PHP-DEV] PHP 4.0 Bug #8139 Updated: NULL and isset > > > > > On Thu, 7 Dec 2000, Richard Heyes wrote the following to Sam > Liddicott : > > > After being passed by reference and unused (Admittedly a > rather strange > > situation) the variable is of type NULL. This would suggest > that it's set > > What?!? This is not true. Try this: > <?php var_dump($b); ?> > > An unset variable has type NULL. Is NULL becoming more real then, like PERL? I remember a while back when php4 was in beta it was clearly stated that NULL could never be assigned to a variable. Sam

« previous php.dev (#40349) next »