3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo {} $bar = function () { return static::class; }; $bar->call(new foo);

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.70.0100.01018.30
8.3.60.0100.01016.75
8.3.50.0120.00721.98
8.3.40.0040.01218.59
8.3.30.0110.00418.63
8.3.20.0030.00520.00
8.3.10.0040.01121.73
8.3.00.0040.00419.72
8.2.190.0140.00718.29
8.2.180.0190.00016.38
8.2.170.0090.00922.96
8.2.160.0130.00020.11
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00820.87
8.2.120.0080.00026.35
8.2.110.0040.00420.52
8.2.100.0040.00717.78
8.2.90.0040.00419.20
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0000.00917.80
8.2.50.0040.00418.07
8.2.40.0050.00321.14
8.2.30.0040.00720.61
8.2.20.0040.00417.55
8.2.10.0020.00518.00
8.2.00.0040.00417.93
8.1.280.0130.00725.92
8.1.270.0060.00318.87
8.1.260.0060.00628.09
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0000.01017.70
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0000.00817.73
8.1.180.0000.00818.10
8.1.170.0040.00418.66
8.1.160.0070.00020.67
8.1.150.0000.00718.76
8.1.140.0050.00319.57
8.1.130.0030.00317.71
8.1.120.0070.00017.41
8.1.110.0040.00417.34
8.1.100.0040.00417.48
8.1.90.0050.00217.50
8.1.80.0020.00517.35
8.1.70.0000.00717.31
8.1.60.0080.00017.47
8.1.50.0040.00417.53
8.1.40.0000.00817.60
8.1.30.0060.00317.57
8.1.20.0040.00417.62
8.1.10.0000.00717.41
8.1.00.0000.00717.50
8.0.300.0000.00918.77
8.0.290.0070.00016.63
8.0.280.0030.00318.33
8.0.270.0000.00717.07
8.0.260.0000.00617.07
8.0.250.0030.00316.81
8.0.240.0070.00016.88
8.0.230.0040.00416.91
8.0.220.0000.00716.82
8.0.210.0040.00416.80
8.0.200.0030.00317.00
8.0.190.0030.00516.94
8.0.180.0050.00316.89
8.0.170.0000.00716.97
8.0.160.0000.00716.89
8.0.150.0030.00316.82
8.0.140.0040.00416.88
8.0.130.0030.00313.34
8.0.120.0030.00516.86
8.0.110.0050.00316.88
8.0.100.0050.00216.74
8.0.90.0040.00416.92
8.0.80.0220.00916.89
8.0.70.0040.00416.76
8.0.60.0000.00716.79
8.0.50.0000.00716.92
8.0.30.0090.00916.82
8.0.20.0130.00617.40
8.0.10.0000.00716.91
8.0.00.0070.01016.69
7.4.330.0050.00016.78
7.4.320.0070.00016.51
7.4.300.0030.00316.42
7.4.290.0030.00316.52
7.4.280.0040.00416.63
7.4.270.0000.00716.61
7.4.260.0030.00316.50
7.4.250.0040.00416.55
7.4.240.0040.00416.48
7.4.230.0000.00716.31
7.4.220.0100.00616.63
7.4.210.0040.01116.61
7.4.200.0040.00416.70
7.4.160.0130.00316.42
7.4.150.0110.00717.40
7.4.140.0110.01317.86
7.4.130.0120.00816.54
7.4.120.0080.01016.47
7.4.110.0110.00716.52
7.4.100.0110.00716.62
7.4.90.0090.00816.47
7.4.80.0130.00319.39
7.4.70.0100.00616.45
7.4.60.0030.01316.55
7.4.50.0070.00716.57
7.4.40.0110.01416.35
7.4.30.0130.01016.63
7.4.00.0100.00614.92
7.3.330.0020.00313.31
7.3.320.0030.00313.29
7.3.310.0040.00316.27
7.3.300.0060.00016.29
7.3.290.0100.00716.23
7.3.280.0100.00516.24
7.3.270.0090.00917.40
7.3.260.0140.00416.16
7.3.250.0100.00716.31
7.3.240.0100.00816.24
7.3.230.0100.01016.44
7.3.210.0070.01016.52
7.3.200.0060.01016.47
7.3.190.0130.00316.61
7.3.180.0070.01016.52
7.3.170.0030.01416.43
7.3.160.0100.00616.50
7.3.120.0030.01314.34
7.3.110.0130.00614.77
7.3.100.0000.01214.73
7.3.90.0030.01214.68
7.3.80.0030.01014.68
7.3.70.0030.01214.50
7.3.60.0070.00714.80
7.3.50.0100.00314.73
7.3.40.0070.01014.60
7.3.30.0140.00014.64
7.3.20.0080.00316.33
7.3.10.0030.00616.76
7.3.00.0070.00716.24
7.2.330.0110.00616.69
7.2.320.0120.00616.55
7.2.310.0030.01416.38
7.2.300.0130.00316.31
7.2.290.0060.01016.71
7.2.250.0100.01014.89
7.2.240.0080.01215.22
7.2.230.0070.01014.94
7.2.220.0000.01315.08
7.2.210.0100.00615.08
7.2.200.0070.00715.00
7.2.190.0000.01514.95
7.2.180.0070.00414.93
7.2.170.0030.01314.97
7.2.60.0100.00316.82
7.1.330.0060.00915.79
7.1.320.0070.00315.46
7.1.310.0030.01315.41
7.1.300.0040.01115.70
7.1.290.0070.01015.63
7.1.280.0120.00315.57
7.1.270.0040.01115.33
7.1.260.0060.00615.61
7.1.200.0070.00415.68
7.1.100.0140.00017.98
7.1.70.0030.00917.07
7.1.60.0090.01219.50
7.1.50.0090.01216.62
7.1.00.0130.06322.48
7.0.200.0040.00416.58
7.0.60.0000.09319.88
7.0.50.0000.07717.86
7.0.40.0100.04320.20
7.0.30.0370.06720.20
7.0.20.0330.07020.06
7.0.10.0130.05020.20
7.0.00.0100.03719.99
5.6.280.0000.04720.90
5.6.210.0200.06720.61
5.6.200.0030.05318.19
5.6.190.0100.06720.52
5.6.180.0470.07320.50
5.6.170.0230.08720.47
5.6.160.0030.04320.55
5.6.150.0130.06018.19
5.6.140.0070.03718.15
5.6.130.0070.03718.15
5.6.120.0070.04021.04
5.6.110.0070.04321.14
5.6.100.0070.05321.00
5.6.90.0130.04021.00
5.6.80.0000.08320.38
5.5.350.0170.07020.32
5.5.340.0100.03717.95
5.5.330.0100.05720.21
5.5.320.0030.06020.33
5.5.310.0200.04020.28
5.5.300.0100.07317.95
5.5.290.0000.05017.98
5.5.280.0200.07020.73
5.5.270.0030.06720.79
5.5.260.0070.05020.84
5.5.250.0070.08020.47
5.5.240.0100.04020.26

preferences:
44.66 ms | 401 KiB | 5 Q