3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 100000; $start = microtime(true); for ($i = 0; $i < $count; $i++) { try { } catch (\Exception $e) { } } echo microtime(true) - $start;
Output for 7.1.0
0.0016100406646729
Output for 7.0.14
0.0036959648132324
Output for 7.0.6
0.0016071796417236
Output for 7.0.5
0.0016570091247559
Output for 7.0.4
0.0013799667358398
Output for 7.0.3
0.00090193748474121
Output for 7.0.2
0.00085616111755371
Output for 7.0.1
0.0011639595031738
Output for 7.0.0
0.0013840198516846
Output for hhvm-3.12.0
0.0036120414733887
Output for hhvm-3.10.0
0.0050051212310791
Output for 5.6.28
0.0038530826568604
Output for 5.6.21
0.0036079883575439
Output for 5.6.20
0.0029220581054688
Output for 5.6.19
0.0025210380554199
Output for 5.6.18
0.0025849342346191
Output for 5.6.17
0.0035619735717773
Output for 5.6.16
0.0030608177185059
Output for 5.6.15
0.0027470588684082
Output for 5.6.14
0.003709077835083
Output for 5.6.13
0.0024731159210205
Output for 5.6.12
0.0027289390563965
Output for 5.6.11
0.0027549266815186
Output for 5.6.10
0.0036890506744385
Output for 5.6.9
0.0037059783935547
Output for 5.6.8
0.0036041736602783
Output for 5.5.35
0.0029029846191406
Output for 5.5.34
0.0040040016174316
Output for 5.5.33
0.0024809837341309
Output for 5.5.32
0.003558874130249
Output for 5.5.31
0.0035691261291504
Output for 5.5.30
0.0040929317474365
Output for 5.3.9, 5.5.29
0.0031509399414062
Output for 5.5.28
0.0034379959106445
Output for 5.5.27
0.003525972366333
Output for 5.5.26
0.0035808086395264
Output for 5.5.25
0.0030179023742676
Output for 5.5.24
0.0032079219818115
Output for 5.4.45
0.0032761096954346
Output for 5.4.44
0.0030319690704346
Output for 5.4.43
0.002918004989624
Output for 5.4.42
0.0033359527587891
Output for 5.4.41
0.0024590492248535
Output for 5.4.40
0.0035707950592041
Output for 5.4.39
0.0033040046691895
Output for 5.4.38
0.0025889873504639
Output for 5.4.37
0.0029199123382568
Output for 5.4.36
0.002885103225708
Output for 5.4.35
0.0037069320678711
Output for 5.4.34
0.0032639503479004
Output for 5.4.32
0.0031399726867676
Output for 5.4.31
0.0024559497833252
Output for 5.4.30
0.0024609565734863
Output for 5.4.29
0.0034370422363281
Output for 5.4.28
0.003532886505127
Output for 5.4.27
0.0036540031433105
Output for 5.4.26
0.003026008605957
Output for 5.4.25
0.00323486328125
Output for 5.4.24
0.0032939910888672
Output for 5.4.23
0.0039949417114258
Output for 5.4.22
0.0039589405059814
Output for 5.4.21
0.0036888122558594
Output for 5.4.20
0.0033950805664062
Output for 5.4.19
0.0038552284240723
Output for 5.4.18
0.0039019584655762
Output for 5.4.17
0.0037178993225098
Output for 5.4.16
0.0036928653717041
Output for 5.4.15
0.0028259754180908
Output for 5.4.14
0.0036988258361816
Output for 5.4.13
0.0036721229553223
Output for 5.4.12
0.0035881996154785
Output for 5.4.11
0.0036969184875488
Output for 5.4.10
0.0038800239562988
Output for 5.4.9
0.0032851696014404
Output for 5.4.8
0.0028469562530518
Output for 5.4.7
0.0038630962371826
Output for 5.4.6
0.0028760433197021
Output for 5.4.5
0.0037600994110107
Output for 5.4.4
0.0038831233978271
Output for 5.4.3
0.0035431385040283
Output for 5.4.2
0.0037760734558105
Output for 5.4.1
0.0036520957946777
Output for 5.4.0
0.0031290054321289
Output for 5.3.29
0.0030941963195801
Output for 5.3.28
0.0041558742523193
Output for 5.3.27
0.0046451091766357
Output for 5.3.26
0.0045769214630127
Output for 5.3.25
0.003978967666626
Output for 5.3.24
0.0047800540924072
Output for 5.3.23
0.0039529800415039
Output for 5.3.22
0.0030961036682129
Output for 5.3.21
0.0040919780731201
Output for 5.3.20
0.0046818256378174
Output for 5.3.19
0.0042572021484375
Output for 5.3.18
0.0045759677886963
Output for 5.3.17
0.0048909187316895
Output for 5.3.16
0.0046420097351074
Output for 5.3.15
0.0030901432037354
Output for 5.3.14
0.0039489269256592
Output for 5.3.13
0.004410982131958
Output for 5.3.12
0.0049381256103516
Output for 5.3.11
0.0039849281311035
Output for 5.3.10
0.0047478675842285
Output for 5.3.8
0.0031499862670898
Output for 5.3.7
0.0038390159606934
Output for 5.3.6
0.0049231052398682
Output for 5.3.5
0.0044569969177246
Output for 5.3.4
0.0045480728149414
Output for 5.3.3
0.0050048828125
Output for 5.3.2
0.0050609111785889
Output for 5.3.1
0.0048758983612061
Output for 5.3.0
0.0038418769836426
Output for 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0072090625762939
Output for 5.2.16
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0071887969970703
Output for 5.2.15
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0071370601654053
Output for 5.2.14
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0060529708862305
Output for 5.2.13
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.007127046585083
Output for 5.2.12
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0071971416473389
Output for 5.2.11
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.006065845489502
Output for 5.2.10
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0059947967529297
Output for 5.2.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.007565975189209
Output for 5.2.8
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.007023811340332
Output for 5.2.7
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0069208145141602
Output for 5.2.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0064370632171631
Output for 5.2.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0055608749389648
Output for 5.2.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0061628818511963
Output for 5.2.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0063519477844238
Output for 5.2.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0074408054351807
Output for 5.2.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0056600570678711
Output for 5.2.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.012908935546875
Output for 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.01337718963623
Output for 5.1.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.01283597946167
Output for 5.1.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.010924100875854
Output for 5.1.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013343095779419
Output for 5.1.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013012886047363
Output for 5.1.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.012411117553711
Output for 5.1.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.011735916137695
Output for 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.023349046707153
Output for 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.024540185928345
Output for 5.0.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.02026104927063
Output for 5.0.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.023723125457764
Output for 5.0.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.016742944717407
Output for 5.0.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013470888137817
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '{' in /in/3lIgi on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected '{' in /in/3lIgi on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/3lIgi on line 8
Process exited with code 255.