3v4l.org

run code in 300+ PHP versions simultaneously
<?php array(1) { ["server"]=> array(275) { ["protocol"]=> int(17) ["hostname"]=> string(33) "German Roleplay | kleiner-labs.de" ["map"]=> string(15) "rp_evocity2_v2p" ["game_dir"]=> string(9) "garrysmod" ["game_descr"]=> string(6) "DarkRP" ["steamappid"]=> int(4000) ["num_players"]=> int(43) ["max_players"]=> int(64) ["num_bots"]=> int(0) ["dedicated"]=> string(1) "d" ["os"]=> string(1) "l" ["password"]=> int(0) ["secure"]=> int(1) ["version"]=> int(49) ["players"]=> array(43) { [0]=> array(4) { ["id"]=> int(0) ["name"]=> string(12) "Fabian.Franz" ["score"]=> int(4) ["time"]=> float(31978.3046875) } [1]=> array(4) { ["id"]=> int(0) ["name"]=> string(26) "Яø¢k๖ۣۜSt☆r [GER]" ["score"]=> int(0) ["time"]=> float(25867.63671875) } [2]=> array(4) { ["id"]=> int(0) ["name"]=> string(5) "Saoas" ["score"]=> int(4) ["time"]=> float(22821.12109375) } [3]=> array(4) { ["id"]=> int(0) ["name"]=> string(5) "Jozen" ["score"]=> int(-1) ["time"]=> float(21712.091796875) } [4]=> array(4) { ["id"]=> int(0) ["name"]=> string(6) "iRawks" ["score"]=> int(0) ["time"]=> float(18472.546875) } [5]=> array(4) { ["id"]=> int(0) ["name"]=> string(30) "◣_◢ SϾHФϾКʅЏ ◣_◢" ["score"]=> int(0) ["time"]=> float(16753.4765625) } [6]=> array(4) { ["id"]=> int(0) ["name"]=> string(15) "KL | ]eX[Fame.?" ["score"]=> int(8) ["time"]=> float(15779.309570312) } [7]=> array(4) { ["id"]=> int(0) ["name"]=> string(5) "kRNK'" ["score"]=> int(0) ["time"]=> float(15458.020507812) } [8]=> array(4) { ["id"]=> int(0) ["name"]=> string(21) "[♥AUT♥]Die!!!!O.o" ["score"]=> int(13) ["time"]=> float(14011.288085938) } [9]=> array(4) { ["id"]=> int(0) ["name"]=> string(12) "[Sgt] jalles" ["score"]=> int(0) ["time"]=> float(13936.342773438) } [10]=> array(4) { ["id"]=> int(0) ["name"]=> string(20) "KL | 阿万音鈴羽" ["score"]=> int(1) ["time"]=> float(11881.986328125) } [11]=> array(4) { ["id"]=> int(0) ["name"]=> string(4) "Phil" ["score"]=> int(0) ["time"]=> float(11432.783203125) } [12]=> array(4) { ["id"]=> int(0) ["name"]=> string(9) "バブー" ["score"]=> int(0) ["time"]=> float(10625.060546875) } [13]=> array(4) { ["id"]=> int(0) ["name"]=> string(24) "]๖ۣÅrmÅgeÐÐØn..?" ["score"]=> int(5) ["time"]=> float(9886.1298828125) } [14]=> array(4) { ["id"]=> int(0) ["name"]=> string(20) "كƒҜ-S|ThuNd3rb0Lt" ["score"]=> int(0) ["time"]=> float(9884.3994140625) } [15]=> array(4) { ["id"]=> int(0) ["name"]=> string(8) "gupie112" ["score"]=> int(1) ["time"]=> float(9742.59375) } [16]=> array(4) { ["id"]=> int(0) ["name"]=> string(7) "Skanday" ["score"]=> int(1) ["time"]=> float(9283.716796875) } [17]=> array(4) { ["id"]=> int(0) ["name"]=> string(9) "[AuT]Rene" ["score"]=> int(0) ["time"]=> float(8696.470703125) } [18]=> array(4) { ["id"]=> int(0) ["name"]=> string(10) "Timmy_Blue" ["score"]=> int(1) ["time"]=> float(7402.0551757812) } [19]=> array(4) { ["id"]=> int(0) ["name"]=> string(12) "KL | IFreX0r" ["score"]=> int(2) ["time"]=> float(6959.5541992188) } [20]=> array(4) { ["id"]=> int(0) ["name"]=> string(10) "MasterFake" ["score"]=> int(0) ["time"]=> float(6431.89453125) } [21]=> array(4) { ["id"]=> int(0) ["name"]=> string(7) "Michi:)" ["score"]=> int(0) ["time"]=> float(6414.6020507812) } [22]=> array(4) { ["id"]=> int(0) ["name"]=> string(15) "SilentBlackJack" ["score"]=> int(0) ["time"]=> float(6358.1171875) } [23]=> array(4) { ["id"]=> int(0) ["name"]=> string(8) "Omegat0r" ["score"]=> int(0) ["time"]=> float(6002.1596679688) } [24]=> array(4) { ["id"]=> int(0) ["name"]=> string(15) "[wD] avata king" ["score"]=> int(3) ["time"]=> float(5833.1665039062) } [25]=> array(4) { ["id"]=> int(0) ["name"]=> string(7) "Frixxon" ["score"]=> int(10) ["time"]=> float(5329.587890625) } [26]=> array(4) { ["id"]=> int(0) ["name"]=> string(8) "Overseer" ["score"]=> int(-1) ["time"]=> float(5106.6025390625) } [27]=> array(4) { ["id"]=> int(0) ["name"]=> string(13) "KL | FeeDMixX" ["score"]=> int(8) ["time"]=> float(4222.6157226562) } [28]=> array(4) { ["id"]=> int(0) ["name"]=> string(10) "SaaD Panda" ["score"]=> int(4) ["time"]=> float(3741.015625) } [29]=> array(4) { ["id"]=> int(0) ["name"]=> string(8) "Hugo5000" ["score"]=> int(0) ["time"]=> float(3647.0148925781) } [30]=> array(4) { ["id"]=> int(0) ["name"]=> string(12) "McZocker2013" ["score"]=> int(0) ["time"]=> float(2428.9995117188) } [31]=> array(4) { ["id"]=> int(0) ["name"]=> string(15) "FireJumper23™" ["score"]=> int(0) ["time"]=> float(2277.9577636719) } [32]=> array(4) { ["id"]=> int(0) ["name"]=> string(10) "Dragonlord" ["score"]=> int(0) ["time"]=> float(1692.0668945312) } [33]=> array(4) { ["id"]=> int(0) ["name"]=> string(14) "VollzeitCamper" ["score"]=> int(0) ["time"]=> float(1498.6241455078) } [34]=> array(4) { ["id"]=> int(0) ["name"]=> string(14) "Robin Killer44" ["score"]=> int(0) ["time"]=> float(1322.3016357422) } [35]=> array(4) { ["id"]=> int(0) ["name"]=> string(10) "KL I Nasul" ["score"]=> int(0) ["time"]=> float(1288.8173828125) } [36]=> array(4) { ["id"]=> int(0) ["name"]=> string(12) "luciano.elia" ["score"]=> int(0) ["time"]=> float(1144.2706298828) } [37]=> array(4) { ["id"]=> int(0) ["name"]=> string(13) "mike-philippi" ["score"]=> int(0) ["time"]=> float(992.74975585938) } [38]=> array(4) { ["id"]=> int(0) ["name"]=> string(25) "2PHYSiCҲ²@schdingds da?" ["score"]=> int(5) ["time"]=> float(537.76544189453) } [39]=> array(4) { ["id"]=> int(0) ["name"]=> string(26) "KobelixX | kleiner-labs.de" ["score"]=> int(0) ["time"]=> float(503.47958374023) } [40]=> array(4) { ["id"]=> int(0) ["name"]=> string(15) "Puppet-Master69" ["score"]=> int(0) ["time"]=> float(306.4680480957) } } } foreach($gmod_results as $value) { echo $value['hostname']; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.250.0030.05718.63
5.4.240.0100.05018.75
5.4.230.0070.05719.07
5.4.220.0100.05018.91
5.4.210.0030.05718.75
5.4.200.0130.04718.75
5.4.190.0200.04018.90
5.4.180.0130.05018.86
5.4.170.0000.06018.86
5.4.160.0030.05318.91
5.4.150.0070.05318.96
5.4.140.0030.05316.40
5.4.130.0070.04716.59
5.4.120.0030.05016.48
5.4.110.0100.04716.49
5.4.100.0030.05316.45
5.4.90.0030.05716.54
5.4.80.0000.05316.37
5.4.70.0100.04316.33
5.4.60.0030.05016.46
5.4.50.0070.04716.37
5.4.40.0070.05016.41
5.4.30.0100.04316.32
5.4.20.0070.04716.52
5.4.10.0130.04316.44
5.4.00.0070.04715.95
5.3.280.0030.05314.60
5.3.270.0130.04714.49
5.3.260.0130.06314.47
5.3.250.0100.04714.30
5.3.240.0070.05314.70
5.3.230.0070.05314.63
5.3.220.0030.05314.34
5.3.210.0100.05014.34
5.3.200.0070.05014.58
5.3.190.0070.05014.61
5.3.180.0100.04714.45
5.3.170.0130.04314.71
5.3.160.0070.05014.68
5.3.150.0100.06714.45
5.3.140.0070.05014.60
5.3.130.0000.05714.54
5.3.120.0070.05314.56
5.3.110.0070.05314.32
5.3.100.0100.05713.89
5.3.90.0130.04013.89
5.3.80.0030.05014.06
5.3.70.0100.04313.89
5.3.60.0070.04714.02
5.3.50.0170.04013.64
5.3.40.0030.05013.99
5.3.30.0070.04713.80
5.3.20.0100.05013.53
5.3.10.0070.04313.65
5.3.00.0070.05013.34

preferences:
133.62 ms | 1394 KiB | 7 Q