note 53423 deleted from function.array by nlopess

From: Date: Thu, 02 Jun 2005 16:59:51 +0000
Subject: note 53423 deleted from function.array by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89817@lists.php.net to get a copy of this message
Note Submitter: mano at easymail dot hu ---- Hey, I have just made a var_export from an array in PHP 4.3.10 and I the output was sthing like this: $array = array( 0 => 'first', 2 => 'second', 3 => 'third', 4 => 'forth', 56 => 'fifth', 57 => 'sixth', ) Notice the comma at the end of the last line. Actually the syntax is accepted by the parser, but as I now the comma separates them, not close them. Was this always like this (and I'm just not detailed in reading manuals) or this is something new? Which section mention this? This might be confortable but If it is not compatible then useless. So If my knowledge is poor than this might work everywhere :P Thanks, Mano

« previous php.notes (#89817) next »