Write a PHP script to get the first element of the above array
- برمجة بي اتش بي
- 2021-09-09
- mhanasmh00489829403
الأجوبة
<?php
$color = array(4 => 'white', 6 => 'green', 11=> 'red');
echo reset($color)."\n";
?>
Sample Output:
white
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال