3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time=microtime(true); for($run=0;$run<100000; $run++) $string1='Hello this is a string which is being read many times and stuff like that.'; $time=microtime(true)-$time; echo "Single quotes took $time seconds\n"; $time=microtime(true); for($run=0;$run<100000; $run++) $string2="Hello this is a string which is being read many times and stuff like that."; $time=microtime(true)-$time; echo "Double quotes took $time seconds\n";

preferences:
40.53 ms | 402 KiB | 5 Q