Answers for "php create array of size n"

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

Code answers related to "php create array of size n"

Browse Popular Code Answers by Language