Answers for "php array get"

PHP
3

php array

<?php
$array = array("foo", "bar", "hello", "world");
var_dump($array);
?>
Posted by: Guest on June-17-2020
1

tab php

$tab = array(); // empty tab
$tab = array("0" => "Hello", "1" => "world"); // $tab[0]="hello" and $tab[1]="world"
Posted by: Guest on March-22-2020

Browse Popular Code Answers by Language