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.0090.00616.38
8.3.50.0100.01016.23
8.3.40.0110.00321.91
8.3.30.0140.00418.61
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.180.0060.01225.92
8.2.170.0100.00718.80
8.2.160.0090.00522.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.36
8.2.110.0030.00620.39
8.2.100.0090.00317.71
8.2.90.0040.00417.75
8.2.80.0030.00518.66
8.2.70.0000.00917.50
8.2.60.0030.00617.91
8.2.50.0050.00518.07
8.2.40.0070.00019.95
8.2.30.0040.00418.02
8.2.20.0050.00217.99
8.2.10.0000.00819.13
8.2.00.0060.00319.21
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.01023.73
8.1.230.0110.00022.28
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.11
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0050.00318.45
8.1.160.0050.00318.75
8.1.150.0080.00018.63
8.1.140.0050.00318.80
8.1.130.0000.00820.21
8.1.120.0030.00517.21
8.1.110.0040.00417.38
8.1.100.0040.00417.31
8.1.90.0080.00017.33
8.1.80.0050.00317.29
8.1.70.0040.00417.20
8.1.60.0040.00817.55
8.1.50.0060.00317.41
8.1.40.0060.00317.45
8.1.30.0040.00417.51
8.1.20.0050.00317.55
8.1.10.0070.00317.43
8.1.00.0040.00417.43
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.42
8.0.270.0000.00717.92
8.0.260.0060.00320.19
8.0.250.0030.00316.84
8.0.240.0030.00316.96
8.0.230.0000.00716.87
8.0.220.0070.00016.75
8.0.210.0070.00016.86
8.0.200.0000.00716.89
8.0.190.0030.00316.85
8.0.180.0000.00716.90
8.0.170.0000.00816.76
8.0.160.0000.00716.78
8.0.150.0030.00516.87
8.0.140.0040.00416.72
8.0.130.0000.00513.30
8.0.120.0000.00816.86
8.0.110.0000.00716.84
8.0.100.0030.00516.84
8.0.90.0050.00216.95
8.0.80.0010.01716.86
8.0.70.0040.00416.71
8.0.60.0000.00816.76
8.0.50.0030.00616.87
8.0.30.0130.01016.98
8.0.20.0110.00717.10
8.0.10.0040.00416.81
8.0.00.0160.00316.60
7.4.330.0020.00215.55
7.4.320.0060.00016.47
7.4.300.0000.00716.35
7.4.290.0050.00316.37
7.4.280.0040.00416.55
7.4.270.0000.00716.57
7.4.260.0060.00013.22
7.4.250.0030.00616.29
7.4.240.0070.00016.48
7.4.230.0000.00816.42
7.4.220.0070.00016.60
7.4.210.0070.00916.48
7.4.200.0000.00716.59
7.4.130.0120.01216.32
7.4.120.0150.00816.43
7.4.110.0100.01016.52
7.4.100.0090.00916.43
7.4.90.0120.00816.29
7.4.80.0190.00316.22
7.4.70.0120.00816.22
7.4.60.0110.01116.27
7.4.50.0180.00316.49
7.4.40.0190.00016.33
7.4.30.0150.00416.34
7.4.20.0150.00416.17
7.4.10.0080.01116.28
7.4.00.0120.00916.49
7.3.330.0050.00216.17
7.3.320.0030.00313.05
7.3.310.0070.00016.15
7.3.300.0040.00416.25
7.3.290.0080.00916.27
7.3.260.0120.00616.52
7.3.230.0070.01116.26
7.3.220.0100.01016.20
7.3.210.0120.00816.21
7.3.200.0130.00916.24
7.3.190.0090.00916.26
7.3.180.0130.00616.23
7.3.170.0090.00916.18
7.3.160.0100.01016.14
7.3.150.0140.00516.33
7.3.140.0130.01016.45
7.3.130.0160.00816.38
7.3.120.0190.00416.21
7.3.110.0170.00316.20
7.3.100.0130.00916.14
7.3.90.0100.01016.32
7.3.80.0100.01016.45
7.3.70.0150.00416.19
7.3.60.0200.00016.11
7.3.50.0160.00816.28
7.3.40.0140.00716.37
7.3.30.0120.00916.35
7.3.20.0160.00416.41
7.3.10.0150.00516.20
7.3.00.0090.00916.10
7.2.340.0100.00816.39
7.2.330.0100.01016.46
7.2.320.0140.00816.58
7.2.310.0110.00816.24
7.2.300.0100.01016.52
7.2.290.0140.01016.61
7.2.280.0100.01016.52
7.2.270.0060.01316.41
7.2.260.0140.01116.23
7.2.250.0140.00716.37
7.2.240.0050.01416.54
7.2.230.0000.02116.59
7.2.220.0140.00616.34
7.2.210.0130.00716.14
7.2.200.0000.01916.29
7.2.190.0100.01016.26
7.2.180.0120.01316.47
7.2.170.0180.00316.50
7.2.160.0110.00716.54
7.2.150.0050.01516.40
7.2.140.0130.00716.44
7.2.130.0200.00016.47
7.2.120.0090.01416.44
7.2.110.0090.01016.33
7.2.100.0000.01916.49
7.2.90.0040.01716.41
7.2.80.0130.00916.40
7.2.70.0090.01416.64
7.2.60.0130.01316.37
7.2.50.0100.01616.45
7.2.40.0090.01216.53
7.2.30.0000.02416.48
7.2.20.0160.01916.28
7.2.10.0210.00016.54
7.2.00.0130.00716.43

preferences:
58.76 ms | 401 KiB | 5 Q