I seem to recall getting a warning trying to access array elements that did not exist but I can't seem to trigger that issue right now.
The following code: <?php $a = array('a' => 'b'); $result = $a['c']; var_dump($result); yields the following: $ php -f t.php NULL Is it ok to access non-existent array elements? Will accessing an array element using a key that does not exist always return NULL? Mike _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php