3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_STRICT); function optionalParam($x = 1, $y = 5, $z) { if ((!$z > 0)) { $z = 1; } for($count = $x; $count < $y; $count+= $z) { echo "#"; } } optionalParam(2,4,2); ?>
based on hLS9d
Output for 5.0.0 - 7.1.0
#
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/h18ND on line 2 #