note 36088 deleted from language.types.null by vincent

From: Date: Thu, 25 Sep 2003 14:21:35 +0000
Subject: note 36088 deleted from language.types.null by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57100@lists.php.net to get a copy of this message
Note Submitter: donotknownphp ---- 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;

« previous php.notes (#57100) next »