3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scripts="php|"; if(substr($scripts,strlen($scripts)-2,1)=="|") $scripts=substr($scripts,0,strlen($scripts)-1); echo $scripts;

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.00716.38
8.3.50.0110.00917.23
8.3.40.0150.00418.85
8.3.30.0070.00718.46
8.3.20.0030.00518.71
8.3.10.0040.00420.54
8.3.00.0080.00017.50
8.2.180.0030.01416.63
8.2.170.0110.00422.96
8.2.160.0100.00322.34
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0100.00019.84
8.2.110.0060.00321.07
8.2.100.0040.00817.78
8.2.90.0030.00620.78
8.2.80.0030.00617.93
8.2.70.0080.00417.62
8.2.60.0000.00817.90
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0000.00818.02
8.2.20.0000.00717.70
8.2.10.0000.00817.65
8.2.00.0060.00317.72
8.1.280.0090.00925.92
8.1.270.0100.00324.66
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0040.00722.46
8.1.230.0040.00720.89
8.1.220.0060.00317.74
8.1.210.0030.00618.85
8.1.200.0060.00317.22
8.1.190.0030.00617.41
8.1.180.0000.00818.10
8.1.170.0060.00318.95
8.1.160.0000.00718.75
8.1.150.0040.00418.63
8.1.140.0040.00417.46
8.1.130.0060.00317.89
8.1.120.0020.00517.48
8.1.110.0020.00517.48
8.1.100.0070.00017.49
8.1.90.0050.00217.45
8.1.80.0070.00017.39
8.1.70.0030.00317.37
8.1.60.0040.00417.56
8.1.50.0000.00817.46
8.1.40.0000.00917.47
8.1.30.0000.00817.64
8.1.20.0040.00417.54
8.1.10.0040.00417.49
8.1.00.0000.00817.47
8.0.300.0000.00820.02
8.0.290.0000.00716.63
8.0.280.0040.00418.34
8.0.270.0000.00717.18
8.0.260.0030.00316.66
8.0.250.0040.00416.96
8.0.240.0070.00016.91
8.0.230.0030.00716.84
8.0.220.0000.00716.89
8.0.210.0000.00716.75
8.0.200.0060.00016.71
8.0.190.0000.00816.91
8.0.180.0070.00016.74
8.0.170.0030.00716.86
8.0.160.0030.00316.69
8.0.150.0000.00716.75
8.0.140.0000.00716.66
8.0.130.0000.00613.23
8.0.120.0000.00716.71
8.0.110.0000.00816.77
8.0.100.0030.00316.78
8.0.90.0040.00416.73
8.0.80.0150.00016.79
8.0.70.0030.00516.68
8.0.60.0040.00416.74
8.0.50.0040.00416.69
8.0.30.0050.01416.96
8.0.20.0050.01316.95
8.0.10.0040.00416.87
8.0.00.0060.01516.74
7.4.330.0000.00513.00
7.4.320.0030.00316.55
7.4.300.0030.00316.45
7.4.290.0070.00016.59
7.4.280.0060.00316.60
7.4.270.0050.00316.60
7.4.260.0000.00513.23
7.4.250.0080.00016.56
7.4.240.0040.00416.52
7.4.230.0030.00316.59
7.4.220.0070.01316.55
7.4.210.0040.01316.59
7.4.200.0000.00716.57
7.4.190.0000.00716.44
7.4.160.0040.01116.66
7.4.150.0100.01016.62
7.4.140.0110.00816.39
7.4.130.0070.01216.49
7.4.120.0080.01216.58
7.4.110.0090.01216.50
7.4.100.0150.00616.54
7.4.90.0080.01016.39
7.4.80.0030.01416.48
7.4.70.0100.00716.39
7.4.60.0120.00616.39
7.4.50.0060.00316.67
7.4.40.0000.01116.34
7.4.30.0060.01016.59
7.4.00.0050.01314.96
7.3.330.0000.00613.19
7.3.320.0020.00313.23
7.3.310.0030.00316.42
7.3.300.0000.00716.33
7.3.290.0030.01316.32
7.3.280.0120.00516.30
7.3.270.0140.00316.29
7.3.260.0060.01116.30
7.3.250.0130.00816.37
7.3.240.0100.01016.49
7.3.230.0060.01316.37
7.3.210.0070.01016.42
7.3.200.0130.01019.39
7.3.190.0070.01016.46
7.3.180.0070.00716.20
7.3.170.0090.00916.46
7.3.160.0130.00416.51
7.3.120.0030.01414.82
7.3.110.0090.00914.89
7.3.100.0070.01014.88
7.3.90.0070.00315.06
7.3.80.0100.00314.94
7.3.70.0090.00614.50
7.3.60.0040.01114.87
7.3.50.0060.00914.80
7.3.40.0000.00914.54
7.3.30.0000.01114.75
7.3.20.0000.01416.57
7.3.10.0080.00516.54
7.3.00.0070.00916.45
7.2.330.0090.00916.39
7.2.320.0110.00716.65
7.2.310.0130.00616.57
7.2.300.0130.00916.35
7.2.290.0050.01316.41
7.2.250.0090.00614.92
7.2.240.0090.01215.14
7.2.230.0000.01015.12
7.2.220.0030.00714.63
7.2.210.0040.01115.21
7.2.200.0070.00315.08
7.2.190.0030.00914.86
7.2.180.0060.00915.10
7.2.170.0030.01014.87
7.2.130.0110.00716.88
7.2.120.0040.01116.43
7.2.110.0060.00916.67
7.2.100.0160.00416.77
7.2.90.0170.00616.46
7.2.80.0100.00616.51
7.2.70.0070.01016.99
7.2.60.0090.00416.88
7.2.50.0150.00616.48
7.2.40.0110.01116.20
7.2.30.0180.00416.42
7.2.20.0140.01116.45
7.2.10.0110.01416.29
7.2.00.0050.01018.12
7.1.330.0030.01015.95
7.1.320.0090.00315.95
7.1.310.0040.01115.96
7.1.300.0070.00715.71
7.1.290.0000.01415.66
7.1.280.0030.00615.73
7.1.270.0030.00715.53
7.1.260.0030.01015.73
7.1.250.0110.00615.43
7.1.200.0040.01115.97
7.1.100.0030.00518.38
7.1.70.0040.00417.37
7.1.60.0120.01219.40
7.1.50.0060.01216.76
7.1.00.0030.06322.28
7.0.200.0200.00014.68
7.0.140.0000.07722.10
7.0.120.0070.07022.09
7.0.60.0030.04019.77
7.0.50.0030.08317.85
7.0.40.0200.06720.20
7.0.30.0530.05020.21
7.0.20.0230.05720.13
7.0.10.0070.08720.09
7.0.00.0070.05320.29
5.6.280.0030.09021.07
5.6.210.0100.06020.72
5.6.200.0070.08018.23
5.6.190.0030.04020.57
5.6.180.2930.04020.61
5.6.170.0300.04020.62
5.6.160.0070.05020.54
5.6.150.0130.07318.12
5.6.140.0130.07318.18
5.6.130.0000.04718.14
5.6.120.0100.05321.11
5.6.110.0030.06020.91
5.6.100.0130.07320.97
5.6.90.0100.06321.00
5.6.80.0100.07020.40
5.5.350.0170.04720.52
5.5.340.0000.07717.89
5.5.330.0070.08720.15
5.5.320.0370.07320.29
5.5.310.0270.08020.26
5.5.300.0030.07717.89
5.5.290.0170.07317.98
5.5.280.0070.04720.79
5.5.270.0070.06720.72
5.5.260.0070.08020.86
5.5.250.0100.07720.61
5.5.240.0330.06320.18
5.4.450.0100.08319.12
5.4.440.0100.03719.40
5.4.430.0100.07719.41
5.4.420.0100.07319.46
5.4.410.0100.03719.16
5.4.400.0030.05719.09
5.4.390.0000.09018.79
5.4.380.0070.07719.18
5.4.370.0000.04319.15
5.4.360.0100.06019.09
5.4.350.0130.05318.79
5.4.340.0030.05318.92
5.4.320.0070.03719.18
5.4.310.0030.04019.08
5.4.300.0030.05719.19
5.4.290.0030.05019.11
5.4.280.0100.06019.08
5.4.270.0100.06319.08
5.4.260.0030.05719.03
5.4.250.0030.06719.13
5.4.240.0070.08019.08
5.4.230.0030.05718.78
5.4.220.0000.07719.13
5.4.210.0030.07018.78
5.4.200.0000.05319.17
5.4.190.0170.06018.78
5.4.180.0100.07319.07
5.4.170.0030.05318.99
5.4.160.0070.04019.09
5.4.150.0100.06018.79
5.4.140.0030.04316.38
5.4.130.0030.05316.25
5.4.120.0100.05316.25
5.4.110.0100.05316.32
5.4.100.0070.07016.40
5.4.90.0100.05716.25
5.4.80.0070.07016.25
5.4.70.0070.05716.25
5.4.60.0070.07316.24
5.4.50.0030.04316.33
5.4.40.0030.05316.34
5.4.30.0070.07016.31
5.4.20.0100.06716.41
5.4.10.0000.07716.20
5.4.00.0100.03315.66
5.3.290.0070.08014.59
5.3.280.0100.06714.43
5.3.270.0070.07714.50
5.3.260.0070.05314.62
5.3.250.0070.05714.54
5.3.240.0170.03714.54
5.3.230.0170.04014.63
5.3.220.0130.05314.51
5.3.210.0100.07014.51
5.3.200.0070.06314.50
5.3.190.0100.03314.49
5.3.180.0070.07014.35
5.3.170.0170.03714.65
5.3.160.0070.07714.43
5.3.150.0070.07014.50
5.3.140.0100.07314.48
5.3.130.0230.03014.33
5.3.120.0100.07314.46
5.3.110.0130.06714.47
5.3.100.0030.03713.98
5.3.90.0000.04013.95
5.3.80.0000.05013.94
5.3.70.0100.03013.99
5.3.60.0100.05313.93
5.3.50.0000.04713.76
5.3.40.0130.06713.89
5.3.30.0100.06713.92
5.3.20.0070.07313.71
5.3.10.0070.06313.49
5.3.00.0030.04013.61
5.2.170.0130.04311.14
5.2.160.0030.04011.07
5.2.150.0030.04711.23
5.2.140.0030.04011.12
5.2.130.0030.06311.06
5.2.120.0070.04711.09
5.2.110.0030.04011.06
5.2.100.0070.04711.18
5.2.90.0100.06011.27
5.2.80.0070.03011.25
5.2.70.0100.05711.09
5.2.60.0070.06311.12
5.2.50.0030.06710.99
5.2.40.0100.05710.87
5.2.30.0070.06310.96
5.2.20.0130.03710.88
5.2.10.0070.05711.01
5.2.00.0030.03310.70
5.1.60.0130.04010.05
5.1.50.0070.0539.96
5.1.40.0070.0539.94
5.1.30.0070.05710.18
5.1.20.0070.05710.51
5.1.10.0070.05710.02
5.1.00.0000.04710.04
5.0.50.0070.0378.45
5.0.40.0030.0308.37
5.0.30.0000.0508.28
5.0.20.0070.0278.26
5.0.10.0100.0278.30
5.0.00.0030.0608.26
4.4.90.0030.0378.26
4.4.80.0070.0238.26
4.4.70.0000.0378.26
4.4.60.0000.0338.26
4.4.50.0000.0238.26
4.4.40.0030.0408.26
4.4.30.0030.0338.26
4.4.20.0030.0278.26
4.4.10.0030.0338.26
4.4.00.0000.0438.26
4.3.110.0030.0338.26
4.3.100.0030.0338.26
4.3.90.0000.0278.26
4.3.80.0000.0578.26
4.3.70.0000.0278.26
4.3.60.0030.0178.26
4.3.50.0000.0208.26
4.3.40.0100.0438.26
4.3.30.0000.0238.26
4.3.20.0100.0308.26
4.3.10.0030.0278.26
4.3.00.0030.0208.26

preferences:
43.15 ms | 401 KiB | 5 Q