3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set("xdebug.max_nesting_level", 10000000); function foo($n) { if($n == 0) return 'ok'; return foo($n-1); } $time = microtime(true); foo(20000); echo (microtime(true) - $time) . ' elapsed';
based on Jho20
Output for 7.1.0
0.0011470317840576 elapsed
Output for 7.0.14
0.001147985458374 elapsed
Output for 7.0.6
0.0024919509887695 elapsed
Output for 7.0.5
0.0017390251159668 elapsed
Output for 7.0.4
0.0011029243469238 elapsed
Output for 7.0.3
0.0010428428649902 elapsed
Output for 7.0.2
0.00096297264099121 elapsed
Output for 7.0.1
0.0011768341064453 elapsed
Output for 7.0.0
0.0013108253479004 elapsed
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Stack overflow in /in/H2PGK on line 6
Process exited with code 255.
Output for 5.6.28
0.006248950958252 elapsed
Output for 5.6.21
0.0064752101898193 elapsed
Output for 5.6.20
0.0063650608062744 elapsed
Output for 5.6.19
0.0059268474578857 elapsed
Output for 5.6.18
0.0051639080047607 elapsed
Output for 5.6.17
0.0041038990020752 elapsed
Output for 5.6.16
0.0053739547729492 elapsed
Output for 5.6.15
0.0040438175201416 elapsed
Output for 5.6.14
0.005932092666626 elapsed
Output for 5.6.13
0.003803014755249 elapsed
Output for 5.6.12
0.0060560703277588 elapsed
Output for 5.6.11
0.0055289268493652 elapsed
Output for 5.6.10
0.0063209533691406 elapsed
Output for 5.6.9
0.0044128894805908 elapsed
Output for 5.6.8
0.0056560039520264 elapsed
Output for 5.5.35
0.0048351287841797 elapsed
Output for 5.5.34
0.0064690113067627 elapsed
Output for 5.5.33
0.0053479671478271 elapsed
Output for 5.5.32
0.0038590431213379 elapsed
Output for 5.5.31
0.0056629180908203 elapsed
Output for 5.5.30
0.0045418739318848 elapsed
Output for 5.5.29
0.0047240257263184 elapsed
Output for 5.5.28
0.0060970783233643 elapsed
Output for 5.5.27
0.0057659149169922 elapsed
Output for 5.5.26
0.0058250427246094 elapsed
Output for 5.5.25
0.00547194480896 elapsed
Output for 5.5.24
0.0059499740600586 elapsed
Output for 5.4.45
0.0040738582611084 elapsed
Output for 5.4.44
0.0064678192138672 elapsed
Output for 5.4.43
0.006566047668457 elapsed
Output for 5.4.42
0.0075640678405762 elapsed
Output for 5.4.41
0.0070059299468994 elapsed
Output for 5.4.40
0.0073668956756592 elapsed
Output for 5.4.39
0.0075139999389648 elapsed
Output for 5.4.38
0.011105060577393 elapsed
Output for 5.4.37
0.025099039077759 elapsed
Output for 5.4.36
0.0071401596069336 elapsed
Output for 5.4.35
0.009552001953125 elapsed
Output for 5.4.34
0.010910034179688 elapsed
Output for 5.4.32
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0041911602020264 elapsed
Output for 5.4.31
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0037188529968262 elapsed
Output for 5.4.30
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038149356842041 elapsed
Output for 5.4.29
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0040309429168701 elapsed
Output for 5.4.28
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038189888000488 elapsed
Output for 5.4.27
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0041840076446533 elapsed
Output for 5.4.26
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.003760814666748 elapsed
Output for 5.4.25
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0039911270141602 elapsed
Output for 5.4.24
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.003849983215332 elapsed
Output for 5.4.23
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0039699077606201 elapsed
Output for 5.4.22
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0039479732513428 elapsed
Output for 5.4.21
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038759708404541 elapsed
Output for 5.4.20
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0039710998535156 elapsed
Output for 5.4.19
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038650035858154 elapsed
Output for 5.4.18
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0037870407104492 elapsed
Output for 5.4.17
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0040619373321533 elapsed
Output for 5.4.16
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038108825683594 elapsed
Output for 5.4.15
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0037369728088379 elapsed
Output for 5.4.14
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0039668083190918 elapsed
Output for 5.4.13
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038309097290039 elapsed
Output for 5.4.12
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038838386535645 elapsed
Output for 5.4.11
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0037879943847656 elapsed
Output for 5.4.10
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.003896951675415 elapsed
Output for 5.4.9
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0040090084075928 elapsed
Output for 5.4.8
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0043699741363525 elapsed
Output for 5.4.7
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.003964900970459 elapsed
Output for 5.4.6
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0066149234771729 elapsed
Output for 5.4.5
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0038959980010986 elapsed
Output for 5.4.4
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0040068626403809 elapsed
Output for 5.4.3
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.004310131072998 elapsed
Output for 5.4.2
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.003972053527832 elapsed
Output for 5.4.1
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0069789886474609 elapsed
Output for 5.4.0
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0040080547332764 elapsed
Output for 5.3.29
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045640468597412 elapsed
Output for 5.3.28
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045490264892578 elapsed
Output for 5.3.27
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046160221099854 elapsed
Output for 5.3.26
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045230388641357 elapsed
Output for 5.3.25
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.004871129989624 elapsed
Output for 5.3.24
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046608448028564 elapsed
Output for 5.3.23
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045340061187744 elapsed
Output for 5.3.22
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045919418334961 elapsed
Output for 5.3.21
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0047590732574463 elapsed
Output for 5.3.20
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0050270557403564 elapsed
Output for 5.3.19
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0051250457763672 elapsed
Output for 5.3.18
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0047531127929688 elapsed
Output for 5.3.17
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0050461292266846 elapsed
Output for 5.3.16
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0043981075286865 elapsed
Output for 5.3.15
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0044851303100586 elapsed
Output for 5.3.14
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0044128894805908 elapsed
Output for 5.3.13
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046689510345459 elapsed
Output for 5.3.12
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046470165252686 elapsed
Output for 5.3.11
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0047390460968018 elapsed
Output for 5.3.10
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.004706859588623 elapsed
Output for 5.3.9
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0042870044708252 elapsed
Output for 5.3.8
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0045440196990967 elapsed
Output for 5.3.7
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0044810771942139 elapsed
Output for 5.3.6
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0047659873962402 elapsed
Output for 5.3.5
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.004580020904541 elapsed
Output for 5.3.4
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046980381011963 elapsed
Output for 5.3.3
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0046110153198242 elapsed
Output for 5.3.2
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.004551887512207 elapsed
Output for 5.3.1
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0051050186157227 elapsed
Output for 5.3.0
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.0048158168792725 elapsed
Output for 4.3.5 - 4.4.9, 5.0.1 - 5.2.17
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2
Process exited with code 139.
Output for 5.0.0
Warning: ini_set() has been disabled for security reasons in /in/H2PGK on line 2 0.016395807266235 elapsed
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/H2PGK on line 2
Process exited with code 139.
Output for 4.3.0

Process exited with code 139.