<?php
$var_name=array(100,'DCL',899.99, array('X','Y',1));
var_dump($var_name);
?>
Output:
array(4) { [0]=> int(100) [1]=> string(3) "DCL" [2]=> float(899.99) [3]=> array(3) { [0]=> string(1) "X" [1]=> string(1) "Y" [2]=> int(1) } }
$var_name=array(100,'DCL',899.99, array('X','Y',1));
var_dump($var_name);
?>
Output:
array(4) { [0]=> int(100) [1]=> string(3) "DCL" [2]=> float(899.99) [3]=> array(3) { [0]=> string(1) "X" [1]=> string(1) "Y" [2]=> int(1) } }
No comments:
Post a Comment