3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ref = "PHP 5"; $x = $ref; echo "$x\n"; $x++; echo "$x\n"; $x = $ref; echo "$x\n"; $x = ++$x; echo "$x\n";
Output for 4.3.0 - 4.4.6, 4.4.8 - 7.1.0
PHP 5 PHP 6 PHP 5 PHP 6
Output for 4.4.7

Process exited with code 143.