Answers for "php generate array of number 1 and 100"

PHP
1

php numbers from 1 to 100 array

$arr = array_map(function($v){return  $v;}, range(1, 100));
print_r($arr);
Posted by: Guest on October-02-2021

Code answers related to "php generate array of number 1 and 100"

Browse Popular Code Answers by Language