3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v1 = 5; $v2 = '5-4'; $time = microtime(1); $i = 0; while($i++ < 1000000) echo '','','','',''; @ob_endclean(); echo (microtime(1)-$time)." seconds for commas"; echo "\n"; $time = microtime(1); $i = 0; @ob_start(); while($i++ < 1000000) echo ''.''.''.''.''; @ob_endclean(); echo (microtime(1)-$time)." seconds for dot"; function donull($v){};
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function ob_endclean() in /in/4aSYd:8 Stack trace: #0 {main} thrown in /in/4aSYd on line 8
Process exited with code 255.
Output for 4.3.2 - 5.6.28, hhvm-3.10.0 - 3.12.0

Process exited with code 255.
Output for 4.3.0 - 4.3.1