3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = range(0, 1000); $keys = array_map(function ($x) { return chr(46+rand(0, 26)) . chr(46+rand(0, 26)) . chr(46+rand(0, 26)) . $x; }, $x); $vars = array_combine($keys, $x); $t = microtime(TRUE); extract($vars); echo microtime(TRUE) - $t;
Output for 7.1.0
2.0980834960938E-5
Output for 7.0.14
4.2915344238281E-5
Output for 7.0.10
3.0040740966797E-5
Output for 7.0.9
2.4080276489258E-5
Output for 7.0.8
2.598762512207E-5
Output for 7.0.5, 7.0.7
2.5033950805664E-5
Output for 7.0.6
2.3126602172852E-5
Output for 7.0.4
4.1961669921875E-5
Output for 7.0.3
3.2901763916016E-5
Output for 7.0.2
4.4107437133789E-5
Output for 7.0.1
3.6001205444336E-5
Output for 7.0.0
3.504753112793E-5
Output for hhvm-3.12.0
7.2002410888672E-5
Output for hhvm-3.10.0
7.1048736572266E-5
Output for 5.6.28
0.00024008750915527
Output for 5.6.25
0.00014400482177734
Output for 5.6.24
0.00012898445129395
Output for 5.6.23
0.00012087821960449
Output for 5.5.33, 5.6.21 - 5.6.22
0.00011897087097168
Output for 5.6.20
0.00011801719665527
Output for 5.6.19
0.00011706352233887
Output for 5.6.18
0.00018095970153809
Output for 5.6.17
0.0001518726348877
Output for 5.6.16
0.00023913383483887
Output for 5.6.15
0.00015497207641602
Output for 5.6.14
0.00018215179443359
Output for 5.6.13
0.00019097328186035
Output for 5.3.26, 5.4.34, 5.6.12
0.00021696090698242
Output for 5.6.11
0.00024199485778809
Output for 5.6.10
0.00019216537475586
Output for 5.6.9
0.00024080276489258
Output for 5.5.22, 5.6.8
0.00017404556274414
Output for 5.6.7
0.00016593933105469
Output for 5.6.6
0.00019407272338867
Output for 5.4.45, 5.5.4, 5.6.5
0.00014591217041016
Output for 5.5.15, 5.6.4
0.00024604797363281
Output for 5.6.1, 5.6.3
0.00020098686218262
Output for 5.4.14, 5.4.19, 5.6.2
0.00019288063049316
Output for 5.3.16, 5.6.0
0.00020980834960938
Output for 5.5.34, 5.5.38
0.0001220703125
Output for 5.5.37
0.00014090538024902
Output for 5.5.36
0.00012397766113281
Output for 5.4.11, 5.5.35
0.00018501281738281
Output for 5.5.32
0.00018715858459473
Output for 5.5.31
0.00017023086547852
Output for 5.5.30
0.00021004676818848
Output for 5.3.23, 5.5.29
0.00018000602722168
Output for 5.3.18, 5.4.21, 5.5.20, 5.5.28
0.00022506713867188
Output for 5.5.27
0.00019383430480957
Output for 5.5.26
0.00034713745117188
Output for 5.5.25
0.00016617774963379
Output for 5.5.24
0.00020289421081543
Output for 5.5.23
0.00020503997802734
Output for 5.4.37, 5.5.21
0.00014996528625488
Output for 5.3.20, 5.5.19
0.00014495849609375
Output for 5.5.18
0.00015091896057129
Output for 5.4.12, 5.5.16
0.00016498565673828
Output for 5.3.10, 5.5.14
0.00021600723266602
Output for 5.3.3, 5.4.25, 5.5.13
0.0001530647277832
Output for 5.5.0, 5.5.12
0.00015997886657715
Output for 5.4.0, 5.5.11
0.00023889541625977
Output for 5.5.10
0.00016999244689941
Output for 5.4.27, 5.5.9
0.00021815299987793
Output for 5.5.8
0.00018692016601562
Output for 5.5.7
0.00020694732666016
Output for 5.5.6
0.00016093254089355
Output for 5.5.5
0.00025415420532227
Output for 5.5.3
0.0001528263092041
Output for 5.5.2
0.00014805793762207
Output for 5.5.1
0.00017189979553223
Output for 5.4.44
0.00023007392883301
Output for 5.4.43
0.00023388862609863
Output for 5.4.42
0.00024795532226562
Output for 5.4.41
0.00023698806762695
Output for 5.4.40
0.00023818016052246
Output for 5.4.39
0.00017094612121582
Output for 5.4.38
0.00023412704467773
Output for 5.4.36
0.00023293495178223
Output for 5.4.35
0.00017380714416504
Output for 5.3.28, 5.4.32
0.0001680850982666
Output for 5.4.31
0.00022983551025391
Output for 5.4.30
0.00022101402282715
Output for 5.4.29
0.00023078918457031
Output for 5.4.28
0.00017213821411133
Output for 5.3.27, 5.4.26
0.00019192695617676
Output for 5.4.16, 5.4.24
0.00015020370483398
Output for 5.3.2, 5.4.23
0.00020194053649902
Output for 5.4.22
0.00017690658569336
Output for 5.4.20
0.00022196769714355
Output for 5.4.18
0.00018882751464844
Output for 5.4.17
0.00014209747314453
Output for 5.4.15
0.00020813941955566
Output for 5.4.13
0.00027108192443848
Output for 5.4.10
0.0002288818359375
Output for 5.3.5, 5.3.13, 5.4.9
0.0001380443572998
Output for 5.4.8
0.00021791458129883
Output for 5.4.7
0.0002129077911377
Output for 5.4.6
0.00012588500976562
Output for 5.4.5
0.00014114379882812
Output for 5.3.8, 5.4.4
0.00019311904907227
Output for 5.4.3
0.00024104118347168
Output for 5.4.2
0.00021982192993164
Output for 5.4.1
0.00026988983154297
Output for 5.3.25, 5.3.29
0.00013399124145508
Output for 5.3.24
0.00017905235290527
Output for 5.3.21 - 5.3.22
0.00017285346984863
Output for 5.3.19
0.00020217895507812
Output for 5.3.17
0.00015902519226074
Output for 5.3.15
0.00015616416931152
Output for 5.3.14
0.00013279914855957
Output for 5.3.12
0.00012707710266113
Output for 5.3.11
0.00021100044250488
Output for 5.3.9
0.00017118453979492
Output for 5.3.7
0.00015807151794434
Output for 5.3.6
0.00014305114746094
Output for 5.3.4
0.00022292137145996
Output for 5.3.1
0.00023508071899414
Output for 5.3.0
0.00013899803161621
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /in/CHb9W on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION, expecting ')' in /in/CHb9W on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/CHb9W on line 3
Process exited with code 255.