3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php array_fill(PHP_I_MAX, 2, '*');
based on 92t2C
Output for 7.2.0
Warning: Use of undefined constant PHP_I_MAX - assumed 'PHP_I_MAX' (this will throw an Error in a future version of PHP) in /in/sAdni on line 3 Warning: array_fill() expects parameter 1 to be integer, string given in /in/sAdni on line 3
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant PHP_I_MAX - assumed 'PHP_I_MAX' in /in/sAdni on line 3 Warning: array_fill() expects parameter 1 to be integer, string given in /in/sAdni on line 3
Output for 5.3.0 - 5.6.28
Notice: Use of undefined constant PHP_I_MAX - assumed 'PHP_I_MAX' in /in/sAdni on line 3 Warning: array_fill() expects parameter 1 to be long, string given in /in/sAdni on line 3
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant PHP_I_MAX - assumed 'PHP_I_MAX' in /in/sAdni on line 3