3v4l.org

run code in 300+ PHP versions simultaneously
<?php class App { function test($function) { } } $app = new App(); $app->test($app);

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.0100.01016.38
8.3.50.0150.00616.23
8.3.40.0100.00618.53
8.3.30.0140.00018.54
8.3.20.0040.00420.20
8.3.10.0040.00421.77
8.3.00.0000.00823.52
8.2.180.0140.00716.50
8.2.170.0070.01022.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00019.77
8.2.120.0090.00026.35
8.2.110.0060.00619.31
8.2.100.0040.00817.65
8.2.90.0070.00317.75
8.2.80.0040.00417.97
8.2.70.0050.00318.04
8.2.60.0060.00317.63
8.2.50.0030.00517.38
8.2.40.0080.00017.93
8.2.30.0000.00719.35
8.2.20.0070.00017.50
8.2.10.0040.00419.77
8.2.00.0070.00017.89
8.1.280.0100.01025.92
8.1.270.0110.00423.79
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0070.00322.46
8.1.230.0070.00417.71
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00917.35
8.1.190.0040.00817.00
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0070.00020.69
8.1.150.0040.00418.87
8.1.140.0030.00519.50
8.1.130.0030.00317.53
8.1.120.0040.00417.41
8.1.110.0000.00717.34
8.1.100.0040.00417.31
8.1.90.0080.00017.40
8.1.80.0030.00517.29
8.1.70.0000.00717.43
8.1.60.0050.00317.54
8.1.50.0000.00917.41
8.1.40.0050.00317.53
8.1.30.0000.00917.69
8.1.20.0050.00317.56
8.1.10.0020.00517.39
8.1.00.0030.00517.32
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0070.00017.12
8.0.260.0030.00317.18
8.0.250.0030.00316.82
8.0.240.0000.00716.86
8.0.230.0030.00316.90
8.0.220.0000.00716.78
8.0.210.0000.00716.83
8.0.200.0080.00016.81
8.0.190.0060.00316.75
8.0.180.0040.00416.72
8.0.170.0000.00816.77
8.0.160.0000.00716.92
8.0.150.0040.00416.73
8.0.140.0030.00316.81
8.0.130.0030.00313.21
8.0.120.0000.00916.81
8.0.110.0000.00816.71
8.0.100.0000.00716.84
8.0.90.0000.00716.79
8.0.80.0030.01216.82
8.0.70.0040.00416.79
8.0.60.0000.00816.70
8.0.50.0000.00716.71
8.0.30.0100.00916.80
8.0.20.0070.01417.40
8.0.10.0040.00416.86
8.0.00.0110.01016.74
7.4.330.0020.00216.76
7.4.320.0060.00016.54
7.4.300.0040.00416.61
7.4.290.0040.00716.51
7.4.280.0000.00916.58
7.4.270.0040.00416.59
7.4.260.0030.00316.48
7.4.250.0000.00816.42
7.4.240.0050.00216.55
7.4.230.0000.00716.60
7.4.220.0060.00916.62
7.4.210.0100.00616.60
7.4.200.0030.00316.40
7.4.160.0070.01016.54
7.4.150.0180.00617.40
7.4.140.0120.01017.86
7.4.130.0110.00716.43
7.4.120.0130.00516.46
7.4.110.0030.01316.18
7.4.100.0120.01116.45
7.4.90.0060.01216.60
7.4.80.0090.01219.39
7.4.70.0060.01416.41
7.4.60.0130.00316.33
7.4.50.0070.01116.28
7.4.40.0070.01416.39
7.4.30.0150.00716.44
7.4.00.0060.00614.83
7.3.330.0050.00013.17
7.3.320.0000.00513.08
7.3.310.0030.00316.24
7.3.300.0000.00716.24
7.3.290.0000.00716.26
7.3.280.0110.00516.23
7.3.270.0090.01217.40
7.3.260.0130.00516.32
7.3.250.0050.01216.28
7.3.240.0090.01016.47
7.3.230.0040.01416.39
7.3.210.0070.01716.54
7.3.200.0090.01519.39
7.3.190.0190.00316.10
7.3.180.0120.00916.17
7.3.170.0060.00916.27
7.3.160.0110.00616.38
7.2.330.0140.00616.61
7.2.320.0100.01316.59
7.2.310.0090.00616.35
7.2.300.0120.01016.36
7.2.290.0030.01316.39
7.2.00.0290.00418.51
7.1.100.0070.01018.04
7.1.70.0030.00717.09
7.1.60.0060.01919.30
7.1.50.0100.01016.83
7.1.00.0000.08022.48
7.0.200.0000.00816.45
7.0.60.0270.07021.85
7.0.50.0030.05017.94
7.0.40.0100.05320.21
7.0.30.0200.03720.09
7.0.20.0230.05020.04
7.0.10.0030.04720.28
7.0.00.0100.07320.25
5.6.280.0030.06721.04
5.6.210.0100.06320.47
5.6.200.0000.04718.15
5.6.190.0170.07720.63
5.6.180.0270.04320.48
5.6.170.0270.07720.54
5.6.160.0070.08720.59
5.6.150.0070.07718.28
5.6.140.0100.07018.19
5.6.130.0030.06018.11
5.6.120.0070.08321.05
5.6.110.0030.06321.01
5.6.100.0030.08721.01
5.6.90.0100.05721.10
5.6.80.0130.07020.36
5.5.350.0030.04020.42
5.5.340.0070.05017.98
5.5.330.0100.09020.21
5.5.320.0230.08020.38
5.5.310.0370.06720.27
5.5.300.0000.04318.03
5.5.290.0070.06718.07
5.5.280.0100.08720.80
5.5.270.0030.04320.76
5.5.260.0170.07320.76
5.5.250.0170.07020.71
5.5.240.0230.07320.18

preferences:
54.87 ms | 400 KiB | 5 Q