3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 't'; $iterations = 100000; foreach(range(0, $iterations) as $i) { $a = ($test === 'test' || $test === 't') ? 'a' : 'c'; $b = ($test === 'test' || $test === 't') ? 'b' : 'de'; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0