3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array_fill(start_index => 0, num => 100, value => 42); var_dump($t);
based on Z2en7
Output for 7.0.0 - 7.0.3
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ',' or ')' in /in/p7e8u on line 3
Process exited with code 255.
Output for 5.4.12 - 5.6.18
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/p7e8u on line 3
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/p7e8u on line 3
Process exited with code 255.