3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function list() { } function array() { } function string() { } function if() { } function function() { } }

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.0150.00416.50
8.3.50.0100.01021.03
8.3.40.0100.00718.63
8.3.30.0110.00318.42
8.3.20.0080.00020.21
8.3.10.0000.00723.68
8.3.00.0040.00417.88
8.2.180.0110.00418.04
8.2.170.0070.00722.96
8.2.160.0100.00320.38
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00017.50
8.2.110.0100.00022.02
8.2.100.0040.00717.80
8.2.90.0000.00818.97
8.2.80.0030.00617.97
8.2.70.0050.00317.25
8.2.60.0090.00017.91
8.2.50.0090.00018.07
8.2.40.0030.00521.25
8.2.30.0040.00420.48
8.2.20.0000.00717.55
8.2.10.0040.00417.91
8.2.00.0040.00417.88
8.1.280.0090.00625.92
8.1.270.0090.00624.00
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00422.59
8.1.230.0120.00017.54
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0050.00317.22
8.1.190.0040.00417.11
8.1.180.0000.00818.10
8.1.170.0090.00020.25
8.1.160.0000.00721.89
8.1.150.0040.00418.81
8.1.140.0080.00019.44
8.1.130.0050.00217.55
8.1.120.0030.00317.26
8.1.110.0040.00417.32
8.1.100.0040.00417.35
8.1.90.0000.00717.34
8.1.80.0040.00417.23
8.1.70.0030.00517.36
8.1.60.0070.00017.50
8.1.50.0040.00417.39
8.1.40.0080.00017.31
8.1.30.0040.00417.43
8.1.20.0070.00417.44
8.1.10.0000.00817.32
8.1.00.0050.00217.34
8.0.300.0000.00718.77
8.0.290.0000.00816.58
8.0.280.0030.00518.29
8.0.270.0030.00317.16
8.0.260.0000.00617.01
8.0.250.0040.00416.79
8.0.240.0070.00016.81
8.0.230.0050.00316.72
8.0.220.0030.00416.61
8.0.210.0000.00816.74
8.0.200.0040.00416.73
8.0.190.0000.00816.79
8.0.180.0060.00316.82
8.0.170.0000.00716.84
8.0.160.0070.00016.84
8.0.150.0000.00816.72
8.0.140.0000.00816.77
8.0.130.0000.00713.21
8.0.120.0000.00816.82
8.0.110.0000.00816.72
8.0.100.0040.00416.61
8.0.90.0000.00716.63
8.0.80.0110.00616.72
8.0.70.0030.00316.73
8.0.60.0040.00416.79
8.0.50.0000.00716.57
8.0.30.0130.00616.93
8.0.20.0110.00717.40
8.0.10.0000.00716.82
8.0.00.0100.00816.63
7.4.330.0000.00515.08
7.4.320.0040.00416.35
7.4.300.0040.00416.48
7.4.290.0000.00716.41
7.4.280.0110.00016.46
7.4.270.0000.00616.26
7.4.260.0000.00816.36
7.4.250.0020.00516.42
7.4.240.0040.00416.32
7.4.230.0030.00316.47
7.4.220.0080.01116.48
7.4.210.0030.01016.39
7.4.200.0030.00316.48
7.4.160.0070.01016.41
7.4.150.0130.00717.40
7.4.140.0050.01717.86
7.4.130.0070.01116.17
7.4.120.0060.01116.39
7.4.110.0120.00916.33
7.4.100.0040.01416.25
7.4.90.0100.00716.26
7.4.80.0110.01519.39
7.4.70.0130.00316.13
7.4.60.0100.00716.37
7.4.50.0000.00616.43
7.4.40.0130.00616.16
7.4.30.0220.00016.36
7.4.00.0070.00914.92
7.3.330.0000.00513.15
7.3.320.0000.00513.13
7.3.310.0040.00416.22
7.3.300.0030.00316.18
7.3.290.0080.00716.15
7.3.280.0100.00816.15
7.3.270.0070.01017.40
7.3.260.0030.01716.23
7.3.250.0110.00616.24
7.3.240.0100.01116.22
7.3.230.0090.01216.39
7.3.210.0120.00616.31
7.3.200.0090.00616.18
7.3.190.0080.00816.34
7.3.180.0100.00516.28
7.3.170.0130.00316.31
7.3.160.0130.00316.32
7.3.120.0110.00714.91
7.3.110.0030.01414.61
7.3.100.0070.01014.61
7.3.90.0100.00014.56
7.3.80.0000.01314.91
7.3.70.0080.00814.59
7.3.60.0040.00814.36
7.3.50.0060.00614.54
7.3.40.0140.00014.63
7.3.30.0000.01114.67
7.3.20.0040.00816.27
7.3.10.0050.01216.17
7.3.00.0050.01216.31
7.2.330.0120.00616.22
7.2.320.0060.01016.28
7.2.310.0170.00316.19
7.2.300.0050.01416.24
7.2.290.0060.01116.46
7.2.250.0090.00915.09
7.2.240.0030.01714.79
7.2.230.0060.00914.79
7.2.220.0070.00714.88
7.2.210.0070.00714.99
7.2.200.0040.01114.73
7.2.190.0070.01014.93
7.2.180.0030.00814.64
7.2.170.0100.00314.48
7.2.130.0160.00316.29
7.2.120.0130.00315.83
7.2.110.0090.00915.75
7.2.100.0220.00416.21
7.2.90.0190.00816.40
7.2.80.0110.00615.92
7.2.70.0070.01016.38
7.2.60.0110.00416.35
7.2.50.0120.00616.63
7.2.40.0140.00715.52
7.2.30.0180.00316.24
7.2.20.0140.00716.06
7.2.10.0140.00716.29
7.2.00.0040.01017.99
7.1.330.0080.00315.83
7.1.320.0070.00415.72
7.1.310.0110.00415.63
7.1.300.0100.00315.59
7.1.290.0100.00615.55
7.1.280.0040.01115.39
7.1.270.0030.00915.64
7.1.260.0040.01115.64
7.1.250.0090.00614.96
7.1.200.0080.00815.44
7.1.100.0060.00917.82
7.1.70.0120.00416.96
7.1.60.0070.01019.50
7.1.50.0070.00716.60
7.1.00.0030.07722.30
7.0.200.0320.00614.47
7.0.60.0100.07719.91
7.0.50.0030.06017.86
7.0.40.0070.08720.41
7.0.30.0230.08720.18
7.0.20.0200.08020.15
7.0.10.0300.07020.25
7.0.00.0070.08320.30
5.6.280.0000.03320.89
5.6.210.0130.08020.65
5.6.200.0030.05718.19
5.6.190.0100.07020.46
5.6.180.4200.03720.59
5.6.170.0200.04320.39
5.6.160.0070.08020.52
5.6.150.0070.06718.20
5.6.140.0070.07318.23
5.6.130.0100.07718.12
5.6.120.0030.09320.98
5.6.110.0100.07721.04
5.6.100.0100.04720.97
5.6.90.0130.03320.95
5.6.80.0170.07020.40
5.6.70.4330.03320.27
5.5.350.0170.04720.43
5.5.340.0070.08018.04
5.5.330.0030.07320.42
5.5.320.0270.08020.43
5.5.310.0400.06720.32
5.5.300.0100.04018.02
5.5.290.0130.05317.98
5.5.280.0000.06320.87
5.5.270.0070.05020.88
5.5.260.0000.08320.86
5.5.250.0170.08020.71
5.5.240.0100.05720.10
5.4.450.0170.06319.52
5.4.440.0170.06019.54
5.4.430.0200.05719.16
5.4.420.0070.06319.16
5.4.410.0130.05019.34
5.4.400.0030.06019.30
5.4.390.0370.06019.19
5.4.380.0670.05319.13
5.4.370.0900.04319.20
5.4.360.0700.05319.13
5.4.350.0900.06018.96
5.4.340.0700.05019.14
5.4.320.0670.05719.05
5.4.310.0830.05719.27
5.4.300.0830.05319.01
5.4.290.0670.05318.96
5.4.280.0930.05719.13
5.4.270.1100.06719.13
5.4.260.0870.05319.27
5.4.250.0870.06019.16
5.4.240.0600.05318.95
5.4.230.0900.06019.21
5.4.220.0830.05319.21
5.4.210.0870.06719.12
5.4.200.1030.05719.29
5.4.190.0830.06319.12
5.4.180.0770.05318.83
5.4.170.0700.05319.18
5.4.160.0630.05019.28
5.4.150.0730.04719.08
5.4.140.0730.04716.45
5.4.130.0570.05716.51
5.4.120.0670.04716.45
5.4.110.0730.05316.39
5.4.100.0770.05316.52
5.4.90.0800.05016.57
5.4.80.0800.04316.58
5.4.70.0800.05316.44
5.4.60.0900.04016.19
5.4.50.0670.05316.38
5.4.40.0600.06016.53
5.4.30.0700.06316.49
5.4.20.0830.03316.55
5.4.10.0700.05716.42
5.4.00.0870.04715.77

preferences:
56.95 ms | 401 KiB | 5 Q