3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php array_fill(0, 0, '?');
Output for 5.6.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 4.3.2 - 5.5.36
Warning: array_fill(): Number of elements must be positive in /in/0257P on line 2
Output for 4.3.0 - 4.3.1
Warning: array_fill() [http://www.php.net/function.array-fill]: Number of elements must be positive in /in/0257P on line 2