3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function testf($somepar) { print_r($somepar); } echo array_fill(0, 10);
based on Nb36a
Output for 5.3.0 - 7.2.0
Warning: array_fill() expects exactly 3 parameters, 2 given in /in/MmRng on line 4
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for array_fill() in /in/MmRng on line 4