note 95598 deleted from language.references by thiago

From: Date: Mon, 11 Jan 2010 17:29:55 +0000
Subject: note 95598 deleted from language.references by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164863@lists.php.net to get a copy of this message
Note Submitter: morphcham at gmail dot com ---- If we do: <?php $foo = array(); var_export( $foo ); ?> We get: <?php array ( ) ?> Nothing mystical yet. But if we do: <?php //assign a variable by reference to a non-existent index $bar = &$foo[ 0 ]; var_export( $foo ); ?> Surprisingly (at least to me), we get: <?php array ( 0 => NULL, ) ?>

« previous php.notes (#164863) next »