Answers for "associative array in class php"

PHP
-1

php associative array

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

Code answers related to "associative array in class php"

Browse Popular Code Answers by Language