Answers for "syntax of associative array in php"

PHP
0

php associative array

<?php
$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
echo $arr['fruit']
/*OUTPUT
*/mango
?>
Posted by: Guest on April-24-2021

Code answers related to "syntax of associative array in php"

Browse Popular Code Answers by Language