3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_GET['c'] = 25; function process($c, $d = 25) { global $e; $retval = $c + $d - $_GET["c"] - $e; return $retval; } $e = 10; echo process(5);
based on i3LR8
Output for 4.3.0 - 7.1.0
-5