3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $a = ' adams allen allison alvarez anderson andrews armstrong arnold avila bailey baker barnes bennett bishop boyd bradley brooks brown bryan burke burton butler campbell carlson carr carter chase chen christensen clark collins comer cook cooper cox crawford cunningham davis day dean dickinson edwards elliott ellis evans fischer fisher fong ford freeman frost garcia gardner gomes gomez gonzales graham green griffin hall hamilton hansen hanson harris harrison hartman harvey hayes henderson henry hernandez hill holmes howard hughes hunt jackson jensen johnson jones keller kelley kennedy king lane long lopez marsh martinez mathews matthews mcdonald miller mitchell moore morgan morris nelson newton obrien oconnor olsen palmer parker patterson peck perkins perry peterson phillips powell price randolph reed rice richardson rivera rivers roberts robinson rodrigues rodriguez rogers romero ruis sanders santos shaw short silva simpson smith snyder spafford spencer springer stafford stewart stone sullivan taylor thompson turner walker wallace walton ward warner watson weber wells white williams wong wood woods wright young zimmermann Richey Gillis Immich Csaki Leandre Bar-Ness Brodrick Wiederhorn Vissers Meeter Hesselmans Wallaschek Sverdrup-Thygeson Selbey Cheps Fliess Visscher Pope Khazenie Tin Sayers Mokken Aitio Bretthorst Zhiglyavskii Gihman Dussauchoy Isham Casado Braun Volf Swishchuk Jeswani Gottinger Arber Ulvila Himelein Champernowne Sturrock Garver Rama Murthy Dixit Dunford McGaw van der Ven Hisdal Spivak Vince Bashirov Floyd Shoenfeld Solso Szuesz Skindlov Vora Steishunas Buiculescu Cid Edel Evarts Feir-Walsh Clissold Brennan Pave Kuchler Cavin McGloughlin Stephan '; $names = array(); $a = explode("\n", $a); for ($i = 0; $i < count($a); $i++){ $names[] = ucfirst(strtolower( explode(",", $a[$i])[0] )); } $names = array_unique($names); print join("',\n'", $names);

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)
8.3.60.0110.00418.55
8.3.50.0100.00716.29
8.3.40.0040.01118.80
8.3.30.0100.00319.34
8.3.20.0040.00420.22
8.3.10.0080.00023.66
8.3.00.0040.00419.50
8.2.180.0070.01418.16
8.2.170.0090.00622.96
8.2.160.0070.01020.39
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00422.02
8.2.110.0090.00022.26
8.2.100.0110.00017.84
8.2.90.0080.00019.34
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0030.00517.93
8.2.50.0000.00818.07
8.2.40.0040.00420.07
8.2.30.0030.00518.13
8.2.20.0000.00717.98
8.2.10.0040.00418.13
8.2.00.0030.00717.86
8.1.270.0060.00322.17
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.96
8.1.230.0070.00418.93
8.1.220.0040.00417.77
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0000.00817.53
8.1.180.0100.00018.10
8.1.170.0060.00318.83
8.1.160.0050.00322.10
8.1.150.0050.00318.76
8.1.140.0040.00417.58
8.1.130.0030.00317.81
8.1.120.0040.00417.48
8.1.110.0000.00817.44
8.1.100.0000.00917.42
8.1.90.0030.00617.54
8.1.80.0090.00017.41
8.1.70.0040.00417.53
8.1.60.0040.00417.59
8.1.50.0000.00817.57
8.1.40.0030.00617.52
8.1.30.0050.00317.64
8.1.20.0000.00717.79
8.1.10.0050.00517.51
8.1.00.0080.00017.44
8.0.300.0040.00420.55
8.0.290.0070.00017.30
8.0.280.0030.00318.49
8.0.270.0030.00317.32
8.0.260.0030.00317.41
8.0.250.0030.00317.00
8.0.240.0030.00317.00
8.0.230.0080.00016.97
8.0.220.0030.00316.79
8.0.210.0000.00716.78
8.0.200.0030.00316.94
8.0.190.0040.00416.86
8.0.180.0080.00016.96
8.0.170.0080.00017.06
8.0.160.0040.00416.99
8.0.150.0040.00416.89
8.0.140.0000.00816.82
8.0.130.0000.00513.39
8.0.120.0030.00516.93
8.0.110.0000.00716.88
8.0.100.0040.00416.87
8.0.90.0000.00716.82
8.0.80.0090.00916.88
8.0.70.0070.00016.82
8.0.60.0000.00717.03
8.0.50.0040.00416.82
8.0.30.0080.01217.18
8.0.20.0140.01117.42
8.0.10.0040.00417.03
8.0.00.0100.01116.88
7.4.330.0020.00215.00
7.4.320.0060.00016.67
7.4.300.0060.00016.69
7.4.290.0040.00416.55
7.4.280.0000.00916.61
7.4.270.0000.00716.66
7.4.260.0030.00316.60
7.4.250.0040.00416.64
7.4.240.0050.00316.65
7.4.230.0030.00316.70
7.4.220.0070.01016.70
7.4.210.0040.01416.62
7.4.200.0030.00316.32
7.4.190.0000.00716.52
7.4.160.0120.00916.65
7.4.150.0170.00017.40
7.4.140.0150.00517.86
7.4.130.0080.01016.62
7.4.120.0100.00716.65
7.4.110.0080.00816.59
7.4.100.0170.00016.62
7.4.90.0140.00416.43
7.4.80.0090.01319.39
7.4.70.0140.00616.63
7.4.60.0140.00316.62
7.4.50.0030.00316.47
7.4.40.0060.00922.77
7.4.30.0080.00916.58
7.4.00.0070.00914.92
7.3.330.0020.00213.25
7.3.320.0000.00613.14
7.3.310.0050.00316.48
7.3.300.0030.00316.42
7.3.290.0080.00816.39
7.3.280.0080.01116.36
7.3.270.0070.01117.40
7.3.260.0030.01416.48
7.3.250.0140.00716.38
7.3.240.0140.00316.59
7.3.230.0120.00416.49
7.3.210.0070.01016.60
7.3.200.0110.01119.39
7.3.190.0150.00316.49
7.3.180.0030.01316.29
7.3.170.0090.01316.49
7.3.160.0060.01016.38
7.3.120.0040.01114.88
7.3.110.0070.00714.93
7.3.100.0090.01214.75
7.3.90.0030.01214.77
7.3.80.0030.01514.88
7.3.70.0030.00914.90
7.3.60.0060.00914.89
7.3.50.0120.00615.07
7.3.40.0070.00714.50
7.3.30.0080.00414.63
7.3.20.0060.00916.83
7.3.10.0000.00916.83
7.3.00.0040.00816.37
7.2.330.0040.01516.52
7.2.320.0040.01416.77
7.2.310.0000.01516.71
7.2.300.0060.01016.88
7.2.290.0100.01316.57
7.2.250.0090.00915.26
7.2.240.0090.00615.03
7.2.230.0100.00714.98
7.2.220.0040.01115.02
7.2.210.0110.00315.11
7.2.200.0070.01114.91
7.2.190.0060.00914.80
7.2.180.0060.00614.99
7.2.170.0100.00314.95
7.2.160.0090.00615.06
7.2.150.0030.01116.80
7.2.140.0070.00716.82
7.2.130.0030.00716.59
7.2.120.0090.00616.67
7.2.110.0070.01016.79
7.2.100.0080.00616.96
7.2.90.0000.01816.77
7.2.80.0100.00316.88
7.2.70.0070.00716.85
7.2.60.0070.00816.75
7.2.50.0060.00616.90
7.2.40.0110.00717.18
7.2.30.0070.01017.07
7.2.20.0040.01117.11
7.2.10.0090.00617.04
7.2.00.0040.00718.02
7.1.330.0090.00915.78
7.1.320.0070.01015.71
7.1.310.0060.00315.70
7.1.300.0130.00315.76
7.1.290.0060.00315.71
7.1.280.0070.01015.75
7.1.270.0000.01515.83
7.1.260.0000.01315.92
7.1.250.0050.00315.55
7.1.240.0000.01415.71
7.1.230.0070.00715.80
7.1.220.0000.01115.75
7.1.210.0000.01515.75
7.1.200.0030.00715.73
7.1.190.0060.00915.85
7.1.180.0060.00615.78
7.1.170.0000.01115.63
7.1.160.0120.00415.92
7.1.150.0070.01015.80
7.1.140.0100.00315.92
7.1.130.0000.01115.52
7.1.120.0090.00615.82
7.1.110.0030.00715.68
7.1.100.0080.00617.01
7.1.90.0070.01116.00
7.1.80.0070.01015.69
7.1.70.0030.00916.53
7.1.60.0060.01117.62
7.1.50.0050.01416.20
7.1.40.0100.00715.89
7.1.30.0040.00415.56
7.1.20.0060.00615.85
7.1.10.0000.01215.56
7.1.00.0060.04219.08
7.0.330.0110.00015.44
7.0.320.0070.00315.38
7.0.310.0000.01315.30
7.0.300.0000.01215.54
7.0.290.0060.00915.27
7.0.280.0040.00715.43
7.0.270.0000.01215.55
7.0.260.0070.00715.34
7.0.250.0000.00915.18
7.0.240.0080.00815.38
7.0.230.0090.00615.54
7.0.220.0040.00715.29
7.0.210.0040.00715.44
7.0.200.0060.00415.78
7.0.190.0060.00615.26
7.0.180.0070.00715.30
7.0.170.0050.00915.32
7.0.160.0040.01115.23
7.0.150.0040.00415.52
7.0.140.0000.04418.76
7.0.130.0070.00715.58
7.0.120.0060.00315.53
7.0.110.0080.00315.28
7.0.100.0030.01315.52
7.0.90.0000.01415.27
7.0.80.0140.00015.12
7.0.70.0030.00615.57
7.0.60.0030.02517.61
7.0.50.0070.02516.74
7.0.40.0080.02316.73
7.0.30.0130.04216.84
7.0.20.0220.04016.77
7.0.10.0070.02916.82
7.0.00.0040.04516.85
5.6.400.0040.01114.35
5.6.390.0080.00814.36
5.6.380.0070.01014.77
5.6.370.0030.01314.60
5.6.360.0110.00314.74
5.6.350.0080.00814.17
5.6.340.0090.00314.20
5.6.330.0030.01214.75
5.6.320.0060.00614.48
5.6.310.0100.00314.32
5.6.300.0030.00914.59
5.6.290.0090.00614.83
5.6.280.0030.04417.73
5.6.270.0100.00014.57
5.6.260.0130.00314.68
5.6.250.0040.01114.06
5.6.240.0090.00614.44
5.6.230.0080.00614.48
5.6.220.0060.00614.58
5.6.210.0070.04017.54
5.6.200.0020.03416.27
5.6.190.0080.04517.37
5.6.180.0130.02617.51
5.6.170.0120.02917.54
5.6.160.0060.02117.44
5.6.150.0070.04516.40
5.6.140.0030.02516.27
5.6.130.0050.04716.22
5.6.120.0090.02317.71
5.6.110.0100.03817.60
5.6.100.0100.04517.77
5.6.90.0070.04217.78
5.6.80.0120.04017.48
5.6.70.1560.02817.32
5.6.60.0000.01614.10
5.6.50.0040.01214.38
5.6.40.0000.00914.54
5.6.30.0080.00814.11
5.6.20.0080.00314.32
5.6.10.0040.00814.50
5.6.00.0000.01014.28
5.5.380.0070.00714.55
5.5.370.0000.01414.57
5.5.360.0030.00914.15
5.5.350.0070.04817.58
5.5.340.0070.02316.31
5.5.330.0070.04217.28
5.5.320.0070.02317.42
5.5.310.0220.03817.32
5.5.300.0050.02216.16
5.5.290.0100.04216.33
5.5.280.0020.02717.67
5.5.270.0070.04617.71
5.5.260.0040.02517.67
5.5.250.0090.03917.48
5.5.240.0170.04217.12
5.5.230.0070.00714.13
5.5.220.0060.00914.41
5.5.210.0000.01414.40
5.5.200.0060.00614.37
5.5.190.0000.01814.32
5.5.180.0110.00314.25
5.5.170.0040.00714.10
5.5.160.0130.00314.39
5.5.150.0030.00614.16
5.5.140.0080.00414.21
5.5.130.0130.00014.46
5.5.120.0070.00714.36
5.5.110.0030.01014.39
5.5.100.0030.00914.39
5.5.90.0120.00614.27
5.5.80.0090.00614.39
5.5.70.0080.00814.16
5.5.60.0080.00614.20
5.5.50.0000.01014.21
5.5.40.0100.00713.93
5.5.30.0030.01414.36
5.5.20.0080.00414.35
5.5.10.0030.01214.25
5.5.00.0000.01514.49
5.4.450.0080.03715.43
5.4.440.0450.03215.37
5.4.430.0330.03215.18
5.4.420.0400.00415.29
5.4.410.0150.02515.04
5.4.400.0080.03214.91
5.4.390.0130.03014.88
5.4.380.0140.02614.68
5.4.370.0080.02914.86
5.4.360.0090.02014.88
5.4.350.0060.02111.58
5.4.340.0050.02611.64
5.4.330.0040.00810.85
5.4.320.0070.02311.63
5.4.310.0040.02111.85
5.4.300.0050.02211.65
5.4.290.0060.02711.94
5.4.280.0080.02611.58
5.4.270.0040.02811.73
5.4.260.0090.05111.63
5.4.250.0060.02311.66
5.4.240.0050.02411.66
5.4.230.0070.02211.76
5.4.220.0030.02811.78
5.4.210.0020.03211.79
5.4.200.0060.03111.74
5.4.190.0060.02311.75
5.4.180.0070.02211.71
5.4.170.0040.02511.80
5.4.160.0070.02111.70
5.4.150.0090.02011.79
5.4.140.0030.02511.54
5.4.130.0060.02311.53
5.4.120.0080.02111.56
5.4.110.0040.02511.56
5.4.100.0060.02111.55
5.4.90.0030.02211.61
5.4.80.0060.02311.45
5.4.70.0080.01811.61
5.4.60.0100.02511.61
5.4.50.0060.02511.49
5.4.40.0040.03411.45
5.4.30.0110.02611.41
5.4.20.0090.02611.65
5.4.10.0050.02311.60
5.4.00.0060.02711.31
5.3.290.0090.02511.53
5.3.280.0060.02111.43
5.3.270.0040.03211.46
5.3.260.0040.03311.44
5.3.250.0090.04311.33
5.3.240.0040.03211.38
5.3.230.0050.03211.32
5.3.220.0050.03011.40
5.3.210.0070.02911.40
5.3.200.0040.02111.34
5.3.190.0060.02611.34
5.3.180.0040.02411.53
5.3.170.0050.02811.45
5.3.160.0060.02411.48
5.3.150.0060.02411.49
5.3.140.0050.02611.51
5.3.130.0090.03511.49
5.3.120.0090.03811.50
5.3.110.0070.02811.36
5.3.100.0050.02311.15
5.3.90.0070.02711.11
5.3.80.0020.02411.04
5.3.70.0020.02411.04
5.3.60.0040.02311.15
5.3.50.0060.02111.06
5.3.40.0070.02111.08
5.3.30.0070.02011.05
5.3.20.0060.01910.93
5.3.10.0030.02110.71
5.3.00.0040.02310.73
5.2.170.0020.0349.20
5.2.160.0040.0309.20
5.2.150.0080.0299.20
5.2.140.0040.0329.19
5.2.130.0030.0369.14
5.2.120.0090.0259.15
5.2.110.0050.0299.16
5.2.100.0030.0309.15
5.2.90.0050.0299.15
5.2.80.0050.0319.14
5.2.70.0030.0369.14
5.2.60.0070.0419.10
5.2.50.0060.0309.07
5.2.40.0050.0319.05
5.2.30.0040.0389.02
5.2.20.0090.0369.00
5.2.10.0060.0358.93
5.2.00.0060.0288.79
5.1.60.0020.0268.08
5.1.50.0020.0358.07
5.1.40.0040.0258.06
5.1.30.0050.0358.39
5.1.20.0080.0338.43
5.1.10.0080.0318.16
5.1.00.0030.0358.15
5.0.50.0040.0276.63
5.0.40.0050.0266.49
5.0.30.0040.0406.30
5.0.20.0030.0246.27
5.0.10.0060.0176.25
5.0.00.0020.0326.24
4.4.90.0030.0154.78
4.4.80.0040.0144.76
4.4.70.0020.0174.76
4.4.60.0000.0184.76
4.4.50.0030.0154.77
4.4.40.0010.0274.71
4.4.30.0030.0154.76
4.4.20.0010.0204.85
4.4.10.0040.0174.85
4.4.00.0050.0244.76
4.3.110.0050.0144.67
4.3.100.0050.0134.67
4.3.90.0010.0164.64
4.3.80.0040.0234.58
4.3.70.0010.0164.63
4.3.60.0040.0134.63
4.3.50.0020.0174.63
4.3.40.0020.0294.54
4.3.30.0000.0183.29
4.3.20.0020.0173.27
4.3.10.0030.0203.22
4.3.00.0170.0176.80

preferences:
46.07 ms | 400 KiB | 5 Q