3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); $time = microtime(1); $i = 0; while ($i++ < 10000) echo'aaaaaaa'.'aaaaaaa'.'aaaaaaa'.'aaaaaaa'; $end = microtime(1); ob_end_clean(); echo "period took ".($end-$time); echo "\n"; ob_start(); $time = microtime(1); $i = 0; while ($i++ < 10000) echo'aaaaaaa','aaaaaaa','aaaaaaa','aaaaaaa'; $end = microtime(1); ob_end_clean(); echo "comma took ".($end-$time);

preferences:
33.48 ms | 402 KiB | 5 Q