3v4l.org

run code in 300+ PHP versions simultaneously
<?php function MyClass($a) { return "MyStaticClass"; } class MyStaticClass { static public function staticMethod($b) { echo $b; } } MyClass("")::staticMethod("xx");

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.4.120.0070.00420.29
8.4.110.0150.00522.39
8.4.100.0090.01117.61
8.4.90.0050.00419.36
8.4.80.0080.01217.78
8.4.70.0060.00417.64
8.4.60.0100.01017.55
8.4.50.0110.00917.70
8.4.40.0120.00819.33
8.4.30.0140.00720.57
8.4.20.0060.01218.91
8.4.10.0090.00019.26
8.3.250.0130.00619.06
8.3.240.0110.00816.49
8.3.230.0130.00516.29
8.3.220.0120.00717.01
8.3.210.0130.00816.53
8.3.200.0110.00916.47
8.3.190.0110.00816.43
8.3.180.0110.00816.53
8.3.170.0050.00316.60
8.3.160.0100.00716.63
8.3.150.0130.00618.97
8.3.140.0150.00418.13
8.3.130.0110.00016.31
8.3.120.0030.00618.73
8.3.110.0060.00320.94
8.3.100.0040.01118.21
8.3.90.0000.00826.77
8.3.80.0070.00316.38
8.3.70.0110.00716.58
8.3.60.0070.00716.50
8.3.50.0140.00718.11
8.3.40.0120.00318.76
8.3.30.0110.00718.60
8.3.20.0000.00824.18
8.3.10.0030.00524.66
8.3.00.0040.00426.16
8.2.290.0130.00720.32
8.2.280.0110.00718.35
8.2.270.0150.00416.89
8.2.260.0060.01216.51
8.2.250.0050.00316.43
8.2.240.0000.01016.50
8.2.230.0100.00022.58
8.2.220.0060.00324.06
8.2.210.0030.00626.77
8.2.200.0090.00016.50
8.2.190.0210.00016.63
8.2.180.0100.01025.92
8.2.170.0040.01118.82
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0000.00721.12
8.2.110.0090.00019.38
8.2.100.0080.00417.66
8.2.90.0000.00817.75
8.2.80.0000.00818.61
8.2.70.0030.00517.38
8.2.60.0000.00817.50
8.2.50.0030.00517.55
8.2.40.0040.00420.82
8.2.30.0000.00717.88
8.2.20.0000.00718.06
8.2.10.0080.00019.07
8.2.00.0050.00219.16
8.1.330.0100.00818.24
8.1.320.0140.00615.93
8.1.310.0120.00617.84
8.1.300.0080.00016.29
8.1.290.0040.00430.84
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0090.00321.97
8.1.230.0070.00421.04
8.1.220.0050.00318.50
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.56
8.1.160.0070.00019.01
8.1.150.0050.00218.70
8.1.140.0040.00418.63
8.1.130.0000.00720.07
8.1.120.0000.00717.22
8.1.110.0000.00817.21
8.1.100.0040.00417.24
8.1.90.0050.00217.22
8.1.80.0000.01017.32
8.1.70.0040.00417.32
8.1.60.0080.00017.39
8.1.50.0090.00017.43
8.1.40.0050.00217.38
8.1.30.0030.00917.61
8.1.20.0080.00017.52
8.1.10.0030.00617.48
8.1.00.0040.00417.48
8.0.300.0040.00419.93
8.0.290.0060.00316.75
8.0.280.0070.00018.41
8.0.270.0000.00717.99
8.0.260.0060.00018.35
8.0.250.0020.00516.89
8.0.240.0000.00716.97
8.0.230.0000.00616.79
8.0.220.0060.00016.82
8.0.210.0000.00716.82
8.0.200.0040.00416.78
8.0.190.0040.00416.90
8.0.180.0000.00716.74
8.0.170.0030.00616.86
8.0.160.0040.00416.79
8.0.150.0040.00416.77
8.0.140.0080.00016.83
8.0.130.0050.00013.22
8.0.120.0040.00416.79
8.0.110.0050.00216.68
8.0.100.0030.00316.64
8.0.90.0040.00416.70
8.0.80.0090.00616.69
8.0.70.0070.00016.80
8.0.60.0020.00516.73
8.0.50.0030.00516.79
8.0.30.0130.01016.74
8.0.20.0110.01516.80
8.0.10.0180.01116.85
8.0.00.0220.00816.90
7.4.330.0000.00515.55
7.4.320.0030.00316.44
7.4.300.0060.00016.51
7.4.290.0000.00816.45
7.4.280.0040.00416.35
7.4.270.0050.00216.61
7.4.260.0000.00513.20
7.4.250.0030.00316.30
7.4.240.0000.00716.52
7.4.230.0030.00316.42
7.4.220.0000.00716.34
7.4.210.0080.00716.46
7.4.200.0000.00716.64
7.4.160.0140.00816.50
7.4.150.0180.00816.45
7.4.140.0220.00516.35
7.4.130.0120.01216.29
7.4.120.0160.00916.46
7.4.110.0160.00816.49
7.4.100.0090.00816.50
7.4.90.0100.01216.41
7.4.80.0170.00516.43
7.4.70.0140.00516.43
7.4.60.0100.01016.32
7.4.50.0110.01016.34
7.4.40.0090.01216.43
7.4.30.0100.00716.46
7.4.20.0100.00916.36
7.4.10.0070.01316.44
7.4.00.0130.00516.43
7.3.330.0040.00416.32
7.3.320.0060.00013.16
7.3.310.0000.00716.27
7.3.300.0060.00016.21
7.3.290.0080.00716.32
7.3.270.0100.01416.24
7.3.260.0110.01416.30
7.3.250.0190.00916.27
7.3.240.0140.01016.30
7.3.230.0080.01216.24
7.3.220.0110.01116.14
7.3.210.0100.01316.20
7.3.200.0140.00616.19
7.3.190.0160.00716.22
7.3.180.0110.00916.24
7.3.170.0050.01516.20
7.3.160.0060.01316.18
7.3.150.0070.01016.25
7.3.140.0080.01216.18
7.3.130.0100.01216.24
7.3.120.0070.01316.23
7.3.110.0070.01416.16
7.3.100.0080.01016.16
7.3.90.0090.01116.52
7.3.80.0050.01416.21
7.3.70.0110.00716.37
7.3.60.0210.01116.39
7.3.50.0140.00416.36
7.3.40.0160.00816.40
7.3.30.0110.01316.40
7.3.20.0130.01016.41
7.3.10.0120.01316.36
7.3.00.0170.01216.31

preferences:
29.31 ms | 403 KiB | 5 Q