3v4l.org

run code in 300+ PHP versions simultaneously
<?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'; }

preferences:
51.86 ms | 402 KiB | 5 Q