note 36088 added to language.types.null

From: Date: Thu, 25 Sep 2003 14:03:34 +0000
Subject: note 36088 added to language.types.null
Groups: php.notes 
Request: Send a blank email to php-notes+get-57097@lists.php.net to get a copy of this message
I did not find any example that shows how to convert other data type to array $x=4; $arr[] = $x; // ==> arr[0]=4 Is the above syntax right? It looks like an assignment statement to me! If it is right what about NULL? say $y=NULL; $arr[]=$y; ---- Manual Page -- http://www.php.net/manual/en/language.types.null.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36088 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36088&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36088&report=yes

« previous php.notes (#57097) next »