3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo() { $a = 1; $b = &$a; echo (++$a)+ (++$a) + (++$a); } function bar() { $a = 1; echo (++$a)+ (++$a) + (++$a); } foo(); bar();
based on mgoC1
Output for 7.0.0 - 7.2.0
99
Output for 5.3.18 - 5.6.28
109