asign value to theh array php code example Example: php array <?php $array = array("foo", "bar", "hello", "world"); var_dump($array); ?>