Hello!

The following PHP code:
<?
$a = array("1"=>"First Element", "2"=>"Second Element");
$v = &$a['3'];
print_r($a);
?>
has this result:

Array(
        1 => First Element,
        2 => Second Element,
        3 =>
)

Can anyone give me an explanation for this? What is happening in the guts of the PHP interpreter when it gets these instructions?

With best regards

Gabriel Birke

--
KONTOR4_Neue Medien
Plathnerstraße 5
30175 Hannover
Fax: +49 51184 48 98 99
mailto:[EMAIL PROTECTED]
http://www.kontor4.de
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to