3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Say we have a 74-page file $num_pages = 74; // Fill and array. $pages = array_fill(1, $num_pages); print_r($pages); // Then create
Output for 5.6.30, hhvm-3.15.4 - 3.21.3, 7.0.0 - 7.2.9
Warning: array_fill() expects exactly 3 parameters, 2 given in /in/9NFUM on line 7
Output for hhvm-3.22.0
Warning: array_fill() expects exactly 3 parameters, 2 given in /in/9NFUM on line -1