3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function empty() {} }

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.110.0040.00420.94
8.3.100.0120.00024.06
8.3.90.0070.00026.77
8.3.80.0030.00618.43
8.3.70.0120.00616.58
8.3.60.0180.00418.43
8.3.50.0070.01420.20
8.3.40.0060.00918.73
8.3.30.0150.00418.72
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0060.01226.77
8.2.200.0110.00016.13
8.2.190.0140.00716.58
8.2.180.0110.00425.92
8.2.170.0110.00418.67
8.2.160.0100.00322.96
8.2.150.0110.00325.66
8.2.140.0050.00224.66
8.2.130.0070.01026.16
8.2.120.0090.00018.64
8.2.110.0000.01020.30
8.2.100.0060.00617.50
8.2.90.0030.00617.63
8.2.80.0000.00918.66
8.2.70.0050.00317.50
8.2.60.0050.00317.50
8.2.50.0080.00017.98
8.2.40.0080.00019.82
8.2.30.0040.00417.93
8.2.20.0000.01020.35
8.2.10.0030.00617.83
8.2.00.0040.00419.03
8.1.290.0060.00318.88
8.1.280.0100.01025.92
8.1.270.0040.01123.99
8.1.260.0030.00626.35
8.1.250.0000.00728.09
8.1.240.0090.00023.72
8.1.230.0070.00322.62
8.1.220.0040.00418.46
8.1.210.0000.00818.77
8.1.200.0040.00417.09
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0030.00518.80
8.1.150.0070.00018.50
8.1.140.0000.00817.28
8.1.130.0070.00018.69
8.1.120.0070.00017.19
8.1.110.0040.00417.34
8.1.100.0070.00317.34
8.1.90.0000.00817.31
8.1.80.0030.00517.24
8.1.70.0180.00017.20
8.1.60.0060.01217.45
8.1.50.0000.01017.39
8.1.40.0060.00617.35
8.1.30.0060.00317.40
8.1.20.0040.00717.55
8.1.10.0060.00317.29
8.1.00.0100.00717.32
8.0.300.0030.00618.77
8.0.290.0060.00316.58
8.0.280.0070.00018.24
8.0.270.0050.00216.73
8.0.260.0040.00418.27
8.0.250.0040.00416.82
8.0.240.0060.00316.71
8.0.230.0070.00016.73
8.0.220.0030.00316.72
8.0.210.0000.00716.77
8.0.200.0080.00416.79
8.0.190.0140.00016.67
8.0.180.0060.00616.77
8.0.170.0080.00816.79
8.0.160.0110.00316.70
8.0.150.0130.00316.66
8.0.140.0130.00316.52
8.0.130.0040.01216.68
8.0.120.0110.00516.58
8.0.110.0100.00516.75
8.0.100.0110.00016.66
8.0.90.0130.00416.75
8.0.80.0140.00016.63
8.0.70.0080.00816.68
8.0.60.0160.00016.67
8.0.50.0140.00216.57
8.0.30.0120.00416.77
8.0.20.0120.00316.75
8.0.10.0090.00916.75
7.4.330.0000.00615.55
7.4.320.0000.00616.38
7.4.300.0090.00016.43
7.4.290.0110.00016.34
7.4.280.0090.00316.33
7.4.270.0040.00716.42
7.4.260.0090.00716.43
7.4.250.0080.00916.40
7.4.240.0040.00616.39
7.4.230.0040.00416.34
7.4.220.0070.00716.47
7.4.210.0070.00616.32
7.4.200.0110.00416.33
7.4.190.0130.00416.43
7.4.180.0120.00416.33
7.4.160.0150.00016.37
7.4.150.0130.00316.40
7.4.140.0120.00316.21
7.4.130.0130.00016.19
7.4.120.0130.00316.09
7.4.110.0150.00416.09
7.4.100.0140.00016.39
7.4.90.0100.00616.25
7.4.80.0090.00216.18
7.4.70.0110.00016.19
7.4.60.0130.00016.08
7.4.50.0130.00016.20
7.4.40.0100.00016.25
7.4.30.0060.00716.32
7.4.20.0000.00816.28
7.4.10.0000.01016.18
7.4.00.0080.00416.19

preferences:
27.38 ms | 403 KiB | 5 Q