3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; empty($array);

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.40.0210.00018.36
8.3.30.0100.00318.42
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.170.0150.00318.79
8.2.160.0160.00022.96
8.2.150.0030.00625.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0160.00620.35
8.2.100.0120.00017.78
8.2.90.0060.00317.72
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0030.00618.03
8.2.50.0060.00318.10
8.2.40.0040.00421.14
8.2.30.0040.00419.24
8.2.20.0000.00717.98
8.2.10.0050.00319.05
8.2.00.0040.00419.10
8.1.270.0000.00823.99
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.38
8.1.230.0070.00422.68
8.1.220.0000.00717.74
8.1.210.0000.00918.77
8.1.200.0090.00017.10
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0040.00418.81
8.1.150.0040.00418.72
8.1.140.0040.00418.69
8.1.130.0040.00619.27
8.1.120.0060.00517.99
8.1.110.0040.00718.03
8.1.100.0090.00317.99
8.1.90.0050.00518.03
8.1.80.0070.00417.95
8.1.70.0100.00118.03
8.1.60.0070.00618.08
8.1.50.0100.00518.05
8.1.40.0120.00318.09
8.1.30.0080.00418.12
8.1.20.0080.00418.15
8.1.10.0130.00018.04
8.1.00.0090.00217.91
8.0.300.0000.00719.96
8.0.290.0000.00716.75
8.0.280.0040.00418.37
8.0.270.0030.00316.65
8.0.260.0060.00518.11
8.0.250.0080.00317.42
8.0.240.0060.00517.42
8.0.230.0110.00017.33
8.0.220.0050.00417.33
8.0.210.0070.00317.28
8.0.200.0020.00717.36
8.0.190.0050.00617.43
8.0.180.0070.00117.20
8.0.170.0070.00417.46
8.0.160.0050.00517.44
8.0.150.0040.00517.30
8.0.140.0090.00317.25
8.0.130.0060.00515.54
8.0.120.0090.00317.25
8.0.110.0080.00417.34
8.0.100.0070.00517.36
8.0.90.0080.00417.33
8.0.80.0120.00517.21
8.0.70.0050.00617.33
8.0.60.0100.00217.35
8.0.50.0080.00217.40
8.0.30.0160.00617.33
8.0.20.0130.01117.44
8.0.10.0170.00517.47
8.0.00.0160.00517.54
7.4.330.0010.00515.51
7.4.320.0080.00517.11
7.4.300.0120.00017.00
7.4.290.0110.00216.96
7.4.280.0090.00316.96
7.4.270.0070.00417.03
7.4.260.0060.00615.34
7.4.250.0110.00217.05
7.4.240.0060.00516.76
7.4.230.0080.00417.06
7.4.220.0020.00816.72
7.4.210.0090.00716.75
7.4.200.0080.00416.98
7.4.190.0100.00517.63
7.4.180.0090.00517.75
7.4.160.0130.00717.04
7.4.150.0130.01116.99
7.4.140.0140.00816.97
7.4.130.0120.00816.99
7.4.120.0140.00617.02
7.4.110.0140.00816.91
7.4.100.0130.01016.96
7.4.90.0150.00816.95
7.4.80.0130.01116.88
7.4.70.0150.00716.96
7.4.60.0140.00816.91
7.4.50.0160.00816.78
7.4.40.0130.01116.88
7.4.30.0130.00916.90
7.4.20.0120.00916.87
7.4.10.0150.00516.90
7.4.00.0110.00816.89
7.3.330.0050.00516.72
7.3.320.0080.00315.11
7.3.310.0060.00516.73
7.3.300.0080.00316.70
7.3.290.0120.00416.45
7.3.280.0110.00317.24
7.3.270.0150.00716.63
7.3.260.0170.00516.63
7.3.250.0120.00816.77
7.3.240.0190.00616.61
7.3.230.0180.00616.63
7.3.220.0190.00216.62
7.3.210.0150.00816.60
7.3.200.0140.00816.69
7.3.190.0120.00916.62
7.3.180.0120.01316.53
7.3.170.0190.00716.57
7.3.160.0150.01116.63
7.3.150.0150.00816.54
7.3.140.0170.00416.61
7.3.130.0150.00916.64
7.3.120.0190.00516.64
7.3.110.0150.00716.46
7.3.100.0120.00916.46
7.3.90.0130.00816.93
7.3.80.0140.01016.65
7.3.70.0140.00916.71
7.3.60.0150.00616.80
7.3.50.0120.01016.73
7.3.40.0150.00716.79
7.3.30.0170.00616.85
7.3.20.0190.00416.82
7.3.10.0140.00916.75
7.3.00.0200.00416.73

preferences:
42.34 ms | 400 KiB | 5 Q