3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $iterations = 10000000; $start = microtime(); for ($i=0; $i<$iterations; $i++) { $a = @$_GET['a'] ?: 'home'; } echo round($start - microtime(), 2);
based on 6vaZm
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/sVZWG on line 10 Notice: A non well formed numeric value encountered in /in/sVZWG on line 10 -0.1
Output for 5.3.9 - 5.6.28, 7.0.14

Process exited with code 137.
Output for 7.0.6
0.13
Output for 7.0.2, 7.0.5
0.22
Output for 7.0.4
0.3
Output for 7.0.3
0.16
Output for 7.0.1
0.04
Output for 7.0.0
0.1