3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function apple($apples =4) { $apples = $apples / 2; return $apples; } $apples = 10; apple($apples); echo $apples;
Output for 4.3.0 - 7.1.0
10