3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v1 = 5; $v2 = '5-4'; $time = microtime(1); $i = 0; @ob_start(); while($i++ < 1000000) echo 'a','b','c','d','e'; @ob_endclean(); echo (microtime(1)-$time)." seconds for commas"; echo "\n"; $time = microtime(1); $i = 0; @ob_start(); while($i++ < 1000000) echo 'a'.'b'.'c'.'d'.'e'; @ob_endclean(); echo (microtime(1)-$time)." seconds for dot"; function donull($v){};