Answers for "php define associative array"

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 "php define associative array"

Browse Popular Code Answers by Language