Home >Backend Development >PHP Tutorial >Several methods of defining arrays in PHP_PHP tutorial
$b[0] = "Apple";
$b[1] = "Apple";
$b[2] = "Apple";
$b[3] = "Apple ";
$b[4] = "Apple";
$c = array("one" => "Chinese","tow" =>"Asian","three" => "Dragon King","four" => "Tibet Autonomous Region");
var_dump($a);
echo "
";
var_dump($b);
echo "
";
var_dump($c);
?>