3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh //strict error_reporting(-1); function f(int $x) { echo $x; } function g(?int $x) { echo $x; } f(); g();
based on vtmIR
Output for 5.4.0 - 5.4.32
<?hh //strict error_reporting(-1); function f(int $x) { echo $x; } function g(?int $x) { echo $x; } f(); g();