Write a PHP script to create a two-dimensional array (4x4), initialized to 10
Sample Output:
Array ( [0] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [1] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [2] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [3] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) )
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
Array ( [0] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [1] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [2] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) [3] => Array ( [0] => 10 [1] => 10 [2] => 10 [3] => 10 ) )need an explanation for this answer? contact us directly to get an explanation for this answer