3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL | E_STRICT); define('ITERATIONS', 2000000); function foo($a) { return; } $start = microtime(true); for ($i=0; $i < ITERATIONS; ++$i) { foo(1); } $stop = microtime(true); echo "Test name: " . ($stop - $start) . " seconds". PHP_EOL;
Output for 7.1.0
Test name: 0.069385051727295 seconds
Output for 7.0.14
Test name: 0.07132887840271 seconds
Output for 7.0.6
Test name: 0.066004037857056 seconds
Output for 7.0.5
Test name: 0.06055212020874 seconds
Output for 7.0.4
Test name: 0.058298110961914 seconds
Output for 7.0.3
Test name: 0.051558017730713 seconds
Output for 7.0.2
Test name: 0.063278913497925 seconds
Output for 7.0.1
Test name: 0.051009893417358 seconds
Output for 7.0.0
Test name: 0.058209180831909 seconds
Output for 5.6.28
Test name: 0.20597100257874 seconds
Output for 5.6.21
Test name: 0.17503190040588 seconds
Output for 5.6.20
Test name: 0.1784040927887 seconds
Output for 5.6.19
Test name: 0.17379713058472 seconds
Output for 5.6.18
Test name: 0.16507315635681 seconds
Output for 5.6.17
Test name: 0.16841387748718 seconds
Output for 5.6.16
Test name: 0.19511294364929 seconds
Output for 5.6.15
Test name: 0.16194796562195 seconds
Output for 5.6.14
Test name: 0.19561195373535 seconds
Output for 5.6.13
Test name: 0.16724801063538 seconds
Output for 5.6.12
Test name: 0.1718909740448 seconds
Output for 5.6.11
Test name: 0.1878650188446 seconds
Output for 5.6.10
Test name: 0.18041682243347 seconds
Output for 5.6.9
Test name: 0.18771290779114 seconds
Output for 5.6.8
Test name: 0.16855716705322 seconds
Output for 5.6.7
Test name: 0.18216896057129 seconds
Output for 5.5.35
Test name: 0.25391101837158 seconds
Output for 5.5.34
Test name: 0.17205905914307 seconds
Output for 5.5.33
Test name: 0.22147393226624 seconds
Output for 5.5.32
Test name: 0.17495894432068 seconds
Output for 5.5.31
Test name: 0.19099998474121 seconds
Output for 5.5.30
Test name: 0.16207504272461 seconds
Output for 5.5.29
Test name: 0.16133809089661 seconds
Output for 5.5.28
Test name: 0.16685700416565 seconds
Output for 5.5.27
Test name: 0.17449998855591 seconds
Output for 5.5.26
Test name: 0.18679904937744 seconds
Output for 5.5.25
Test name: 0.1784999370575 seconds
Output for 5.5.24
Test name: 0.18744802474976 seconds
Output for 5.4.45
Test name: 0.24261808395386 seconds
Output for 5.4.44
Test name: 0.28126907348633 seconds
Output for 5.4.43
Test name: 0.23718500137329 seconds
Output for 5.4.42
Test name: 0.32692790031433 seconds
Output for 5.4.41
Test name: 0.30851006507874 seconds
Output for 5.4.40
Test name: 0.24691200256348 seconds
Output for 5.4.39
Test name: 0.24270486831665 seconds
Output for 5.4.38
Test name: 0.35216593742371 seconds
Output for 5.4.37
Test name: 0.22653293609619 seconds
Output for 5.4.36
Test name: 0.23337507247925 seconds
Output for 5.4.35
Test name: 0.27608394622803 seconds
Output for 5.4.34
Test name: 0.25254893302917 seconds
Output for 5.4.32
Test name: 0.21179008483887 seconds
Output for 5.4.31
Test name: 0.24739384651184 seconds
Output for 5.4.30
Test name: 0.17952799797058 seconds
Output for 5.4.29
Test name: 0.17923998832703 seconds
Output for 5.4.28
Test name: 0.1874258518219 seconds
Output for 5.4.27
Test name: 0.20840501785278 seconds
Output for 5.4.26
Test name: 0.21188187599182 seconds
Output for 5.4.25
Test name: 0.24039602279663 seconds
Output for 5.4.24
Test name: 0.21227693557739 seconds
Output for 5.4.23
Test name: 0.18357515335083 seconds
Output for 5.4.22
Test name: 0.18565702438354 seconds
Output for 5.4.21
Test name: 0.18184018135071 seconds
Output for 5.4.20
Test name: 0.18537592887878 seconds
Output for 5.4.19
Test name: 0.18468618392944 seconds
Output for 5.4.18
Test name: 0.18400287628174 seconds
Output for 5.4.17
Test name: 0.1810450553894 seconds
Output for 5.4.16
Test name: 0.24233603477478 seconds
Output for 5.4.15
Test name: 0.20301604270935 seconds
Output for 5.4.14
Test name: 0.21674919128418 seconds
Output for 5.4.13
Test name: 0.1931049823761 seconds
Output for 5.4.12
Test name: 0.18087100982666 seconds
Output for 5.4.11
Test name: 0.18114709854126 seconds
Output for 5.4.10
Test name: 0.20330500602722 seconds
Output for 5.4.9
Test name: 0.17795515060425 seconds
Output for 5.4.8
Test name: 0.23359107971191 seconds
Output for 5.4.7
Test name: 0.22408103942871 seconds
Output for 5.4.6
Test name: 0.18053579330444 seconds
Output for 5.4.5
Test name: 0.20026898384094 seconds
Output for 5.4.4
Test name: 0.19412899017334 seconds
Output for 5.4.3
Test name: 0.18856310844421 seconds
Output for 5.4.2
Test name: 0.19555401802063 seconds
Output for 5.4.1
Test name: 0.18446612358093 seconds
Output for 5.4.0
Test name: 0.17725682258606 seconds
Output for 5.3.29
Test name: 0.28525400161743 seconds
Output for 5.3.28
Test name: 0.34406900405884 seconds
Output for 5.3.27
Test name: 0.28431105613708 seconds
Output for 5.3.26
Test name: 0.3397650718689 seconds
Output for 5.3.25
Test name: 0.27255082130432 seconds
Output for 5.3.24
Test name: 0.2974009513855 seconds
Output for 5.3.23
Test name: 0.30650496482849 seconds
Output for 5.3.22
Test name: 0.29586386680603 seconds
Output for 5.3.21
Test name: 0.2895131111145 seconds
Output for 5.3.20
Test name: 0.31565403938293 seconds
Output for 5.3.19
Test name: 0.33352088928223 seconds
Output for 5.3.18
Test name: 0.30273795127869 seconds
Output for 5.3.17
Test name: 0.28426098823547 seconds
Output for 5.3.16
Test name: 0.30467414855957 seconds
Output for 5.3.15
Test name: 0.28390502929688 seconds
Output for 5.3.14
Test name: 0.28893709182739 seconds
Output for 5.3.13
Test name: 0.3386390209198 seconds
Output for 5.3.12
Test name: 0.3444299697876 seconds
Output for 5.3.11
Test name: 0.38100409507751 seconds
Output for 5.3.10
Test name: 0.37597298622131 seconds
Output for 5.3.9
Test name: 0.32308602333069 seconds
Output for 5.3.8
Test name: 0.3478741645813 seconds
Output for 5.3.7
Test name: 0.28654813766479 seconds
Output for 5.3.6
Test name: 0.38885593414307 seconds
Output for 5.3.5
Test name: 0.29989409446716 seconds
Output for 5.3.4
Test name: 0.29351806640625 seconds
Output for 5.3.3
Test name: 0.29933786392212 seconds
Output for 5.3.2
Test name: 0.2912130355835 seconds
Output for 5.3.1
Test name: 0.30907893180847 seconds
Output for 5.3.0
Test name: 0.2997579574585 seconds
Output for 5.2.17
Test name: 0.42176508903503 seconds
Output for 5.2.16
Test name: 0.44770097732544 seconds
Output for 5.2.15
Test name: 0.43583989143372 seconds
Output for 5.2.14
Test name: 0.4094090461731 seconds
Output for 5.2.13
Test name: 0.43928408622742 seconds
Output for 5.2.12
Test name: 0.48108410835266 seconds
Output for 5.2.11
Test name: 0.40569400787354 seconds
Output for 5.2.10
Test name: 0.40937304496765 seconds
Output for 5.2.9
Test name: 0.39224290847778 seconds
Output for 5.2.8
Test name: 0.40732407569885 seconds
Output for 5.2.7
Test name: 0.42043399810791 seconds
Output for 5.2.6
Test name: 0.39282393455505 seconds
Output for 5.2.5
Test name: 0.4054651260376 seconds
Output for 5.2.4
Test name: 0.39868783950806 seconds
Output for 5.2.3
Test name: 0.43403792381287 seconds
Output for 5.2.2
Test name: 0.39061403274536 seconds
Output for 5.2.1
Test name: 0.4372570514679 seconds
Output for 5.2.0
Test name: 0.37834906578064 seconds
Output for 5.1.6
Test name: 0.3810920715332 seconds
Output for 5.1.5
Test name: 0.38611507415771 seconds
Output for 5.1.4
Test name: 0.46113300323486 seconds
Output for 5.1.3
Test name: 0.38158202171326 seconds
Output for 5.1.2
Test name: 0.38182902336121 seconds
Output for 5.1.1
Test name: 0.37601709365845 seconds
Output for 5.1.0
Test name: 0.45336389541626 seconds
Output for 5.0.5
Test name: 0.63467884063721 seconds
Output for 5.0.4
Test name: 0.62637281417847 seconds
Output for 5.0.3
Test name: 0.59583497047424 seconds
Output for 5.0.2
Test name: 0.66458606719971 seconds
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: 0.57192492485046 secondsPHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: 0.62516522407532 secondsPHP_EOL
Output for 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.249213 seconds
Output for 4.4.8
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.382367 seconds
Output for 4.4.7
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: 0.648877 seconds
Output for 4.4.6
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.371826 seconds
Output for 4.4.5
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.368081 seconds
Output for 4.4.4
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: 0.608063 seconds
Output for 4.4.3
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.386883 seconds
Output for 4.4.2
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: 0.569804 seconds
Output for 4.4.1
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.354413 seconds
Output for 4.4.0
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.364936 seconds
Output for 4.3.11
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: 0.607879 seconds
Output for 4.3.10
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Test name: -0.357223 seconds
Output for 4.3.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.328003 secondsPHP_EOL
Output for 4.3.8
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: 0.586509 secondsPHP_EOL
Output for 4.3.7
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.362441 secondsPHP_EOL
Output for 4.3.6
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.411079 secondsPHP_EOL
Output for 4.3.5
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: 0.565542 secondsPHP_EOL
Output for 4.3.4
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.367703 secondsPHP_EOL
Output for 4.3.3
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.304335 secondsPHP_EOL
Output for 4.3.2
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: 0.58594 secondsPHP_EOL
Output for 4.3.1
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.401769 secondsPHP_EOL
Output for 4.3.0
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/EvPlj on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/EvPlj on line 18 Test name: -0.274971 secondsPHP_EOL