3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function x ($y) { function y ($z) { return ($z*2); } return($y+3); } $y = 4; $y = x($y)*y($y); echo $y;
Output for 4.3.0 - 7.1.0
56