3v4l.org

run code in 200+ 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.2.0
0.0013539791107178
Output for 7.1.7
0.0011410713195801
Output for 7.1.6
0.00091910362243652
Output for 7.1.5
0.00089406967163086
Output for 7.1.4
0.0010361671447754
Output for 7.1.3
0.0011599063873291
Output for 7.1.2
0.0015640258789062
Output for 7.1.1
0.0015709400177002
Output for 7.1.0
0.0011551380157471
Output for 7.0.20
0.001215934753418
Output for 7.0.19
0.0011529922485352
Output for 7.0.18
0.01316499710083
Output for 7.0.17
0.021829128265381
Output for 7.0.16
0.014549970626831
Output for 7.0.15
0.014481782913208
Output for 7.0.14
0.002100944519043
Output for 7.0.13
0.0014400482177734
Output for 7.0.12
0.0012321472167969
Output for 7.0.11
0.0011289119720459
Output for 7.0.10
0.0010077953338623
Output for 7.0.9
0.001741886138916
Output for 7.0.8
0.025377988815308
Output for 7.0.7
0.020364046096802
Output for 7.0.6
0.0012679100036621
Output for 7.0.5
0.00094509124755859
Output for 7.0.4
0.0010340213775635
Output for 7.0.3
0.0014550685882568
Output for 7.0.2
0.0014998912811279
Output for 7.0.1
0.0016698837280273
Output for 7.0.0
0.0010530948638916
Output for hhvm-3.17.3
0.0036880970001221
Output for hhvm-3.15.4
0.079203128814697
Output for hhvm-3.13.2
0.0039448738098145
Output for hhvm-3.12.14
0.0036089420318604
Output for hhvm-3.11.1
0.0038449764251709
Output for hhvm-3.10.1
0.0074751377105713
Output for 5.6.30
0.0037810802459717
Output for 5.6.29
0.0029101371765137
Output for 5.5.13, 5.6.28
0.0026299953460693
Output for 5.6.27
0.0024440288543701
Output for 5.5.6, 5.6.26
0.0024089813232422
Output for 5.6.25
0.0030691623687744
Output for 5.6.24
0.0026907920837402
Output for 5.6.23
0.0024318695068359
Output for 5.6.22
0.002830982208252
Output for 5.6.21
0.0024230480194092
Output for 5.6.20
0.0025119781494141
Output for 5.6.19
0.0024049282073975
Output for 5.6.18
0.0027930736541748
Output for 5.6.17
0.0044541358947754
Output for 5.6.16
0.0033848285675049
Output for 5.6.15
0.0025858879089355
Output for 5.6.14
0.0024769306182861
Output for 5.6.13
0.0028970241546631
Output for 5.6.12
0.0033950805664062
Output for 5.6.11
0.0039618015289307
Output for 5.6.10
0.0027101039886475
Output for 5.6.9
0.0027859210968018
Output for 5.6.8
0.0030810832977295
Output for 5.6.7
0.0041210651397705
Output for 5.6.6
0.0043201446533203
Output for 5.6.5
0.0027990341186523
Output for 5.4.37, 5.6.4
0.0042028427124023
Output for 5.6.3
0.0026960372924805
Output for 5.6.2
0.0028150081634521
Output for 5.6.0 - 5.6.1
0.0024290084838867
Output for 5.5.38
0.0037989616394043
Output for 5.5.11, 5.5.37
0.0026321411132812
Output for 5.5.36
0.0024139881134033
Output for 5.5.35
0.0027987957000732
Output for 5.5.34
0.0024712085723877
Output for 5.5.33
0.0023949146270752
Output for 5.4.39, 5.5.32
0.0028951168060303
Output for 5.5.31
0.0024878978729248
Output for 5.5.27, 5.5.30
0.0024700164794922
Output for 5.5.29
0.0025179386138916
Output for 5.5.28
0.0034899711608887
Output for 5.5.26
0.0035901069641113
Output for 5.5.25
0.0031378269195557
Output for 5.5.24
0.0024740695953369
Output for 5.5.23
0.002938985824585
Output for 5.5.22
0.0027129650115967
Output for 5.5.21
0.0023870468139648
Output for 5.4.24, 5.5.20
0.0024001598358154
Output for 5.5.19
0.0024690628051758
Output for 5.5.18
0.0026769638061523
Output for 5.5.14, 5.5.16
0.0023999214172363
Output for 5.5.15
0.0029020309448242
Output for 5.5.12
0.0036041736602783
Output for 5.5.10
0.0042459964752197
Output for 5.5.9
0.0027279853820801
Output for 5.5.8
0.0027410984039307
Output for 5.5.7
0.0028069019317627
Output for 5.5.5
0.00288987159729
Output for 5.5.4
0.0024468898773193
Output for 5.5.3
0.002479076385498
Output for 5.5.2
0.0026631355285645
Output for 5.5.1
0.0028090476989746
Output for 5.5.0
0.0043299198150635
Output for 5.4.45
0.0028419494628906
Output for 5.4.44
0.0025830268859863
Output for 5.4.43
0.0025069713592529
Output for 5.4.42
0.0033271312713623
Output for 5.4.41
0.0031619071960449
Output for 5.4.40
0.0024518966674805
Output for 5.4.38
0.0034220218658447
Output for 5.4.36
0.0027921199798584
Output for 5.4.35
0.0027270317077637
Output for 5.4.34
0.0023789405822754
Output for 5.4.2, 5.4.32
0.0024681091308594
Output for 5.4.31
0.0041348934173584
Output for 5.4.30
0.0023899078369141
Output for 5.4.29
0.0030338764190674
Output for 5.4.28
0.0030121803283691
Output for 5.4.27
0.0028519630432129
Output for 5.4.26
0.0025300979614258
Output for 5.4.25
0.0027220249176025
Output for 5.4.23
0.0028071403503418
Output for 5.4.22
0.0023910999298096
Output for 5.4.21
0.0035879611968994
Output for 5.4.20
0.0026259422302246
Output for 5.4.19
0.0034089088439941
Output for 5.4.18
0.0028789043426514
Output for 5.4.17
0.0037171840667725
Output for 5.4.16
0.0024559497833252
Output for 5.4.15
0.0035691261291504
Output for 5.4.14
0.0026710033416748
Output for 5.4.13
0.0023901462554932
Output for 5.4.12
0.0026900768280029
Output for 5.4.11
0.0024750232696533
Output for 5.4.10
0.0023801326751709
Output for 5.4.9
0.0025689601898193
Output for 5.4.8
0.0024528503417969
Output for 5.4.7
0.0029048919677734
Output for 5.4.6
0.0033888816833496
Output for 5.4.5
0.002377986907959
Output for 5.4.4
0.0048890113830566
Output for 5.4.3
0.0026199817657471
Output for 5.4.1
0.0026419162750244
Output for 5.4.0
0.0026819705963135
Output for 5.3.29
0.0032680034637451
Output for 5.3.28
0.0041868686676025
Output for 5.3.27
0.0039360523223877
Output for 5.3.26
0.0043709278106689
Output for 5.3.25
0.0030608177185059
Output for 5.3.24
0.0042228698730469
Output for 5.3.23
0.0035030841827393
Output for 5.3.22
0.00337815284729
Output for 5.3.21
0.0032908916473389
Output for 5.3.20
0.0035519599914551
Output for 5.3.19
0.003101110458374
Output for 5.3.18
0.0046679973602295
Output for 5.3.17
0.0030980110168457
Output for 5.3.16
0.0033979415893555
Output for 5.3.15
0.0030698776245117
Output for 5.3.14
0.0031559467315674
Output for 5.3.13
0.0050880908966064
Output for 5.3.12
0.0031180381774902
Output for 5.3.11
0.0044159889221191
Output for 5.3.10
0.0030989646911621
Output for 5.3.9
0.0051999092102051
Output for 5.3.8
0.0047218799591064
Output for 5.3.7
0.0048549175262451
Output for 5.3.6
0.0052390098571777
Output for 5.3.5
0.0038619041442871
Output for 5.3.4
0.0042219161987305
Output for 5.3.3
0.003169059753418
Output for 5.3.2
0.0038149356842041
Output for 5.3.1
0.00382399559021
Output for 5.3.0
0.0032398700714111
Output for 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0068919658660889
Output for 5.2.16
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0060100555419922
Output for 5.2.15
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0042719841003418
Output for 5.2.14
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0044291019439697
Output for 5.2.13
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0074529647827148
Output for 5.2.12
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0043962001800537
Output for 5.2.11
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0052881240844727
Output for 5.2.10
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0042040348052979
Output for 5.2.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0045099258422852
Output for 5.2.8
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0044400691986084
Output for 5.2.7
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0041749477386475
Output for 5.2.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0051920413970947
Output for 5.2.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.004040002822876
Output for 5.2.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0049591064453125
Output for 5.2.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0046868324279785
Output for 5.2.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0065560340881348
Output for 5.2.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0040788650512695
Output for 5.2.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0083999633789062
Output for 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0087330341339111
Output for 5.1.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0091071128845215
Output for 5.1.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0094859600067139
Output for 5.1.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0091819763183594
Output for 5.1.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.014412879943848
Output for 5.1.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.015137910842896
Output for 5.1.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.0075919628143311
Output for 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.017836093902588
Output for 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.018317937850952
Output for 5.0.3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013296842575073
Output for 5.0.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.015832901000977
Output for 5.0.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013626098632812
Output for 5.0.0
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/3lIgi on line 9 0.013988971710205
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.