3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() {} } Foo::bar();

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.0070.01118.68
8.3.50.0270.00421.99
8.3.40.0090.00918.71
8.3.30.0110.00318.50
8.3.20.0070.00020.16
8.3.10.0050.00323.48
8.3.00.0040.00419.38
8.2.180.0110.00416.38
8.2.170.0030.01022.96
8.2.160.0070.01122.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00619.10
8.2.120.0040.00426.35
8.2.110.0090.00322.20
8.2.100.0080.00417.93
8.2.90.0000.00819.27
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0030.00617.92
8.2.50.0000.00818.07
8.2.40.0040.00419.35
8.2.30.0050.00220.55
8.2.20.0040.00417.66
8.2.10.0040.00417.99
8.2.00.0040.00417.89
8.1.280.0120.00325.92
8.1.270.0030.00621.94
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0060.00322.66
8.1.230.0090.00317.54
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00917.10
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0050.00318.57
8.1.160.0000.00721.85
8.1.150.0050.00318.79
8.1.140.0000.00819.40
8.1.130.0000.00717.55
8.1.120.0070.00017.22
8.1.110.0030.00517.22
8.1.100.0040.00417.38
8.1.90.0020.00517.32
8.1.80.0000.00717.25
8.1.70.0030.00317.33
8.1.60.0030.00617.41
8.1.50.0040.00417.41
8.1.40.0000.01017.48
8.1.30.0030.00517.43
8.1.20.0070.00017.60
8.1.10.0000.00717.41
8.1.00.0080.00017.38
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00718.37
8.0.270.0000.00717.22
8.0.260.0080.00017.12
8.0.250.0070.00016.80
8.0.240.0000.00816.88
8.0.230.0050.00316.95
8.0.220.0030.00316.87
8.0.210.0000.00716.84
8.0.200.0000.00616.96
8.0.190.0000.00816.93
8.0.180.0030.00816.95
8.0.170.0040.00416.86
8.0.160.0070.00016.89
8.0.150.0030.00316.74
8.0.140.0030.00616.74
8.0.130.0030.00313.27
8.0.120.0040.00416.91
8.0.110.0040.00416.79
8.0.100.0000.00716.89
8.0.90.0000.00716.83
8.0.80.0090.00616.77
8.0.70.0040.00416.69
8.0.60.0070.00016.77
8.0.50.0040.00416.88
8.0.30.0100.00817.08
8.0.20.0100.00817.40
8.0.10.0050.00316.98
8.0.00.0070.01016.75
7.4.330.0000.00516.82
7.4.320.0040.00416.41
7.4.300.0060.00016.53
7.4.290.0040.00416.51
7.4.280.0040.00416.37
7.4.270.0050.00316.51
7.4.260.0030.00316.54
7.4.250.0040.00416.33
7.4.240.0040.00416.38
7.4.230.0070.00016.42
7.4.220.0090.00916.59
7.4.210.0160.00316.54
7.4.200.0070.00016.36
7.4.160.0150.00016.64
7.4.150.0100.00717.40
7.4.140.0070.01417.86
7.4.130.0210.01616.37
7.4.120.0090.00916.46
7.4.110.0120.00616.41
7.4.100.0100.00716.42
7.4.90.0140.00316.39
7.4.80.0030.01619.39
7.4.70.0100.00616.45
7.4.60.0100.00616.28
7.4.50.0030.00916.63
7.4.40.0120.00316.40
7.4.30.0030.01816.65
7.4.00.0100.00614.76
7.3.330.0030.00313.30
7.3.320.0000.00513.24
7.3.310.0000.00716.34
7.3.300.0060.00016.19
7.3.290.0070.00816.31
7.3.280.0110.00516.24
7.3.270.0030.01517.40
7.3.260.0100.00716.28
7.3.250.0110.00816.31
7.3.240.0130.00516.30
7.3.230.0110.00716.40
7.3.210.0060.01016.29
7.3.200.0090.00916.24
7.3.190.0120.00616.10
7.3.180.0140.00216.48
7.3.170.0060.00916.35
7.3.160.0170.00616.45
7.3.120.0060.01214.63
7.3.110.0070.00814.72
7.3.100.0050.01114.64
7.3.90.0050.00614.83
7.3.80.0080.00614.77
7.3.70.0050.01114.65
7.3.60.0060.01014.68
7.3.50.0080.00514.49
7.3.40.0060.01114.68
7.3.30.0070.00714.50
7.3.20.0060.00716.57
7.3.10.0070.00616.61
7.3.00.0060.00616.56
7.2.330.0140.00416.32
7.2.320.0120.00616.50
7.2.310.0120.00616.15
7.2.300.0100.00716.47
7.2.290.0100.01316.65
7.2.250.0060.01114.67
7.2.240.0080.00915.00
7.2.230.0070.00814.86
7.2.220.0090.00414.73
7.2.210.0020.01314.85
7.2.200.0020.01014.77
7.2.190.0070.00614.84
7.2.180.0050.01014.76
7.2.170.0070.00614.83
7.2.160.0000.01114.91
7.2.150.0070.01016.67
7.2.140.0120.00616.32
7.2.130.0040.01116.68
7.2.120.0030.01016.70
7.2.110.0110.00716.34
7.2.100.0090.00616.68
7.2.90.0070.00716.52
7.2.80.0040.01416.58
7.2.70.0040.00816.84
7.2.60.0050.00916.78
7.2.50.0030.01316.81
7.2.40.0070.00716.50
7.2.30.0030.01316.76
7.2.20.0000.01616.81
7.2.10.0060.01016.79
7.2.00.0030.01217.99
7.1.330.0060.01015.43
7.1.320.0050.00915.39
7.1.310.0090.00515.60
7.1.300.0060.00815.56
7.1.290.0070.00615.55
7.1.280.0030.00815.43
7.1.270.0020.01015.39
7.1.260.0060.00915.75
7.1.250.0000.01415.57
7.1.200.0000.01115.57
7.1.100.0040.00817.92
7.1.70.0040.01116.80
7.1.60.0130.01019.48
7.1.50.0070.01716.88
7.1.00.0070.07022.37
7.0.200.0180.00614.62
7.0.60.0030.04019.91
7.0.50.0130.06317.87
7.0.40.0070.04020.36
7.0.30.0230.04720.10
7.0.20.0170.05020.25
7.0.10.0170.06020.02
7.0.00.0070.08020.27
5.6.280.0130.05720.91
5.6.210.0130.04020.56
5.6.200.0070.05718.22
5.6.190.0100.07320.33
5.6.180.0330.04020.46
5.6.170.0300.04020.54
5.6.160.0000.04320.55
5.6.150.0130.06318.19
5.6.140.0100.07718.13
5.6.130.0070.03718.28
5.6.120.0100.04721.15
5.6.110.0030.08320.98
5.6.100.0100.07321.10
5.6.90.0130.06321.02
5.6.80.0100.06320.38
5.5.350.4030.04320.30
5.5.340.0030.06018.09
5.5.330.0070.07020.44
5.5.320.0270.08320.23
5.5.310.0270.06020.26
5.5.300.0100.03718.01
5.5.290.0030.04718.02
5.5.280.0130.08320.85
5.5.270.0070.07020.86
5.5.260.0130.08320.87
5.5.250.0030.07020.58
5.5.240.0230.06720.13

preferences:
61 ms | 401 KiB | 5 Q