3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for($i = 0; $i < 10000; $i++){ $i = 5/4; } echo microtime(true) - $start; for($i = 0; $i < 10000; $i++){ $i = 5*4; } echo microtime(true) - $start; for($i = 0; $i < 10000; $i++){ $i = 5+4; } echo microtime(true) - $start; for($i = 0; $i < 10000; $i++){ $i = 5-4; } echo microtime(true) - $start;
Output for 4.3.0 - 7.1.0

Process exited with code 137.