3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = str_repeat('x', 100); $string2 = str_repeat('y', 100); $string3 = str_repeat('z', 100); $mark = microtime(true); for($i = 0; $i < 2000; $i++) { ob_start(); for($j = 0; $j < 2000; $j++) echo $string1, $string2, $string3; ob_get_clean(); } echo microtime(true) - $mark;

preferences:
31.7 ms | 407 KiB | 5 Q