3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace test; $start = \microtime(\true); for($i = 0; $i < 100000; ++$i){ \strlen(\null . \null . \null . \null . \null . \null . \null . \null . \null . \null . \null . \null); } echo \microtime(\true) - $start, PHP_EOL;
based on YVN3V
Output for 7.1.0
0.0010089874267578
Output for 7.0.14
0.00095510482788086
Output for 7.0.6
0.0010321140289307
Output for 7.0.5
0.00099301338195801
Output for 7.0.4
0.00078177452087402
Output for 7.0.3
0.00055503845214844
Output for 7.0.2
0.00074195861816406
Output for 7.0.1
0.00072884559631348
Output for 7.0.0
0.00063180923461914
Output for hhvm-3.12.0
0.0068769454956055
Output for hhvm-3.10.0
0.010828018188477
Output for 5.6.21
0.061770915985107
Output for 5.6.20
0.04892897605896
Output for 5.6.19
0.040230989456177
Output for 5.6.18
0.041069984436035
Output for 5.6.17
0.052970886230469
Output for 5.6.16
0.042744874954224
Output for 5.6.15
0.05556583404541
Output for 5.6.14
0.041339159011841
Output for 5.6.13
0.058229923248291
Output for 5.6.12
0.047550916671753
Output for 5.6.11
0.055420875549316
Output for 5.6.10
0.054813146591187
Output for 5.6.9
0.050315856933594
Output for 5.6.8
0.056010961532593
Output for 5.5.35
0.072305917739868
Output for 5.5.34
0.064396142959595
Output for 5.5.33
0.077533960342407
Output for 5.5.32
0.060878038406372
Output for 5.5.31
0.058076858520508
Output for 5.5.30
0.069717168807983
Output for 5.5.29
0.075952053070068
Output for 5.5.28
0.070866107940674
Output for 5.5.27
0.05799388885498
Output for 5.5.26
0.059808969497681
Output for 5.5.25
0.063623905181885
Output for 5.5.24
0.077723026275635
Output for 5.4.45
0.08454704284668
Output for 5.4.44
0.071770191192627
Output for 5.4.43
0.1118848323822
Output for 5.4.42
0.11154294013977
Output for 5.4.41
0.089921951293945
Output for 5.4.40
0.082980155944824
Output for 5.4.39
0.083545923233032
Output for 5.4.38
0.092427968978882
Output for 5.4.37
0.095955848693848
Output for 5.4.36
0.089296102523804
Output for 5.4.35
0.10302400588989
Output for 5.4.34
0.090194940567017
Output for 5.4.32
0.083528995513916
Output for 5.4.31
0.084280967712402
Output for 5.4.30
0.063565969467163
Output for 5.4.29
0.065474033355713
Output for 5.4.28
0.10255908966064
Output for 5.4.27
0.064913034439087
Output for 5.4.26
0.066461086273193
Output for 5.4.25
0.072878122329712
Output for 5.4.24
0.10408306121826
Output for 5.4.23
0.087429046630859
Output for 5.4.22
0.070286989212036
Output for 5.4.21
0.063102006912231
Output for 5.4.20
0.064289093017578
Output for 5.4.19
0.06978702545166
Output for 5.4.18
0.071964979171753
Output for 5.4.17
0.064314842224121
Output for 5.4.16
0.072430849075317
Output for 5.4.15
0.064234018325806
Output for 5.4.14
0.067909955978394
Output for 5.4.13
0.070086002349854
Output for 5.4.12
0.072069883346558
Output for 5.4.11
0.072738885879517
Output for 5.4.10
0.073415994644165
Output for 5.4.9
0.072005987167358
Output for 5.4.8
0.070399045944214
Output for 5.4.7
0.095876932144165
Output for 5.4.6
0.070040941238403
Output for 5.4.5
0.072679996490479
Output for 5.4.4
0.072441101074219
Output for 5.4.3
0.071374893188477
Output for 5.4.2
0.073876857757568
Output for 5.4.1
0.069801092147827
Output for 5.4.0
0.072793960571289
Output for 5.3.29
0.066949129104614
Output for 5.3.28
0.057142972946167
Output for 5.3.27
0.056654930114746
Output for 5.3.26
0.056474924087524
Output for 5.3.25
0.055750131607056
Output for 5.3.24
0.05586576461792
Output for 5.3.23
0.057403802871704
Output for 5.3.22
0.062991857528687
Output for 5.3.21
0.076547145843506
Output for 5.3.20
0.071218013763428
Output for 5.3.19
0.062785148620605
Output for 5.3.18
0.062964200973511
Output for 5.3.17
0.061667919158936
Output for 5.3.16
0.066437005996704
Output for 5.3.15
0.061245203018188
Output for 5.3.14
0.063114166259766
Output for 5.3.13
0.078265190124512
Output for 5.3.12
0.062647104263306
Output for 5.3.11
0.064752817153931
Output for 5.3.10
0.061145067214966
Output for 5.3.9
0.061064958572388
Output for 5.3.8
0.059449195861816
Output for 5.3.7
0.06353497505188
Output for 5.3.6
0.060321092605591
Output for 5.3.5
0.082037925720215
Output for 5.3.4
0.061876058578491
Output for 5.3.3
0.060358047485352
Output for 5.3.2
0.061381101608276
Output for 5.3.1
0.06227707862854
Output for 5.3.0
0.060991048812866
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/FKX4X 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_STRING in /in/FKX4X on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/FKX4X on line 3
Process exited with code 255.