An array curiosity....

From: Date: Mon, 26 Jan 2004 14:50:51 +0000
Subject: An array curiosity....
Groups: php.general 
Request: Send a blank email to php-general+get-175761@lists.php.net to get a copy of this message
Out of curiosity, and because I have never noted this in other languages, why doesn't an 'open' comma at the end of an array throw any kind of error? Is it because the comma denotes another element in the array even if nothing is their? For example $arrBadInfo = array( 'stuff ', 'morstuff', ); does not throw an error - even syntactical - Thanks!

« previous php.general (#175761) next »