From php-general Thu Aug 05 08:14:26 2004 From: Gabriel Birke Date: Thu, 05 Aug 2004 08:14:26 +0000 To: php-general Subject: [PHP] References and array indexes Message-Id: <7734DD62-E6B7-11D8-B7F2-003065FA313E () kontor4 ! de> X-MARC-Message: https://marc.info/?l=php-general&m=109169366928932 Hello! The following PHP code: "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:birke@kontor4.de http://www.kontor4.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php