3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 1; $inc = function($var) { return $var++; }; $var = $inc($var); echo $var;
based on rg5Mo
Output for 5.3.17 - 7.3.0rc4
1