3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { 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.0140.00716.63
8.3.50.0150.00016.46
8.3.40.0150.00018.80
8.3.30.0110.00418.62
8.3.20.0070.00020.12
8.3.10.0070.00023.66
8.3.00.0080.00023.56
8.2.180.0090.01218.70
8.2.170.0110.01118.61
8.2.160.0100.00322.96
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0070.00019.58
8.2.120.0050.00326.35
8.2.110.0030.00722.25
8.2.100.0000.01217.78
8.2.90.0090.00017.63
8.2.80.0060.00318.66
8.2.70.0040.00417.80
8.2.60.0060.00317.50
8.2.50.0040.00418.07
8.2.40.0030.00622.32
8.2.30.0000.00720.67
8.2.20.0000.00717.60
8.2.10.0000.00717.86
8.2.00.0040.00417.88
8.1.280.0060.01325.92
8.1.270.0060.00321.89
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0090.00023.83
8.1.230.0030.00919.05
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0000.00818.51
8.1.160.0040.00420.63
8.1.150.0040.00418.81
8.1.140.0000.00919.48
8.1.130.0030.00317.47
8.1.120.0020.00517.30
8.1.110.0040.00417.34
8.1.100.0080.00017.20
8.1.90.0050.00317.35
8.1.80.0080.00017.37
8.1.70.0030.00317.27
8.1.60.0000.00817.48
8.1.50.0080.00017.20
8.1.40.0040.00417.48
8.1.30.0030.00517.63
8.1.20.0050.00217.63
8.1.10.0070.00017.46
8.1.00.0040.00417.49
8.0.300.0080.00021.46
8.0.290.0000.00816.63
8.0.280.0030.00318.45
8.0.270.0030.00317.09
8.0.260.0030.00317.11
8.0.250.0030.00316.93
8.0.240.0040.00716.88
8.0.230.0000.00816.93
8.0.220.0000.00716.88
8.0.210.0040.00416.78
8.0.200.0000.00616.93
8.0.190.0050.00316.80
8.0.180.0020.00516.79
8.0.170.0080.00016.81
8.0.160.0030.00316.87
8.0.150.0000.00716.82
8.0.140.0030.00516.79
8.0.130.0030.00313.35
8.0.120.0000.00816.83
8.0.110.0000.00816.81
8.0.100.0040.00416.79
8.0.90.0030.00316.74
8.0.80.0060.01216.84
8.0.70.0080.00016.83
8.0.60.0030.00516.74
8.0.50.0060.00316.96
8.0.30.0140.00616.80
8.0.20.0110.00817.40
8.0.10.0050.00316.91
8.0.00.0120.01016.66
7.4.330.0000.00516.84
7.4.320.0060.00016.37
7.4.300.0000.00716.34
7.4.290.0030.00316.40
7.4.280.0070.00316.35
7.4.270.0000.00716.33
7.4.260.0100.00016.27
7.4.250.0000.00716.52
7.4.240.0040.00416.46
7.4.230.0040.00416.52
7.4.220.0130.01016.46
7.4.210.0090.00616.42
7.4.200.0000.00716.30
7.4.160.0030.01016.72
7.4.150.0090.00917.40
7.4.140.0150.01017.86
7.4.130.0120.01016.43
7.4.120.0070.01016.41
7.4.110.0130.00316.36
7.4.100.0160.00316.70
7.4.90.0060.00916.37
7.4.80.0130.00719.39
7.4.70.0140.00316.61
7.4.60.0100.01016.57
7.4.50.0030.01216.47
7.4.40.0120.00816.48
7.4.30.0100.01016.59
7.4.00.0060.01014.93
7.3.330.0030.00313.31
7.3.320.0000.00513.27
7.3.310.0040.00316.14
7.3.300.0000.00716.29
7.3.290.0000.00716.24
7.3.280.0070.00816.29
7.3.270.0100.00617.40
7.3.260.0060.01416.24
7.3.250.0080.00716.32
7.3.240.0090.00916.36
7.3.230.0100.00716.48
7.3.210.0170.00016.37
7.3.200.0110.00619.39
7.3.190.0120.00916.45
7.3.180.0090.00616.23
7.3.170.0140.00416.41
7.3.160.0110.01116.23
7.3.120.0030.01314.66
7.3.110.0060.00614.64
7.3.100.0100.00714.61
7.3.90.0100.00314.66
7.3.80.0030.01014.71
7.3.70.0080.00414.60
7.3.60.0080.00514.59
7.3.50.0070.00314.34
7.3.40.0070.00714.65
7.3.30.0070.00714.68
7.3.20.0030.01016.56
7.3.10.0090.00516.54
7.3.00.0070.00716.63
7.2.330.0100.00716.20
7.2.320.0060.01016.12
7.2.310.0060.01016.53
7.2.300.0110.00716.25
7.2.290.0100.01316.42
7.2.250.0130.00614.60
7.2.240.0000.01915.04
7.2.230.0030.01215.07
7.2.220.0000.01314.63
7.2.210.0000.01314.93
7.2.200.0060.00614.93
7.2.190.0140.00014.93
7.2.180.0030.01014.83
7.2.170.0110.00414.92
7.2.130.0080.00616.75
7.2.120.0140.00016.82
7.2.110.0100.00316.55
7.2.100.0030.00616.73
7.2.90.0060.00316.69
7.2.80.0070.00716.72
7.2.70.0040.01416.93
7.2.60.0080.00916.76
7.2.50.0040.01116.52
7.2.40.0040.01216.64
7.2.30.0030.01116.97
7.2.20.0060.00616.68
7.2.10.0030.01416.75
7.2.00.0060.00717.83
7.1.330.0080.00615.59
7.1.320.0100.00615.72
7.1.310.0090.00615.49
7.1.300.0040.00715.53
7.1.290.0040.01115.79
7.1.280.0030.01015.75
7.1.270.0060.00315.55
7.1.260.0090.00315.40
7.1.250.0070.01015.46
7.1.200.0000.01515.63
7.1.100.0080.00818.09
7.1.70.0000.00716.73
7.1.60.0100.01319.20
7.1.50.0040.01216.66
7.1.00.0100.07022.57
7.0.200.0110.00414.80
7.0.60.0070.08021.80
7.0.50.0070.08017.83
7.0.40.0030.04720.10
7.0.30.0230.06020.22
7.0.20.0270.08720.07
7.0.10.0070.07320.23
7.0.00.0100.08320.05
5.6.280.0030.03321.13
5.6.210.0030.04320.69
5.6.200.0070.08018.28
5.6.190.0030.04720.45
5.6.180.0400.07320.55
5.6.170.0370.08320.58
5.6.160.0070.08320.44
5.6.150.0070.06318.23
5.6.140.0100.07718.18
5.6.130.0100.06318.12
5.6.120.0100.05721.05
5.6.110.0070.07320.98
5.6.100.0170.06321.02
5.6.90.0100.08020.88
5.6.80.0130.07320.39
5.5.350.0200.04020.32
5.5.340.0030.08717.98
5.5.330.0170.07020.46
5.5.320.0470.04720.32
5.5.310.0270.07020.35
5.5.300.0100.07718.08
5.5.290.0130.07318.08
5.5.280.0030.04720.80
5.5.270.0070.06720.95
5.5.260.0130.04320.64
5.5.250.0170.07320.59
5.5.240.0100.08020.16

preferences:
63.72 ms | 401 KiB | 5 Q