Answers for "php array define size"

PHP
1

php array size

echo count($my_array);
echo sizeof($my_array);    // alias
Posted by: Guest on April-21-2021
0

array size php

<?php

 $cars=array("Volvo","BMW","Toyota");
echo sizeof($cars);
?>
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language