3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = null; $b = null; if (empty([$a, $b])) { echo '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.60.0100.01018.31
8.3.50.0060.01216.69
8.3.40.0100.00320.20
8.3.30.0110.00418.59
8.3.20.0040.00424.18
8.3.10.0020.00524.66
8.3.00.0000.00726.16
8.2.180.0070.01416.50
8.2.170.0110.00418.95
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0030.00722.32
8.2.100.0040.00717.78
8.2.90.0040.00417.63
8.2.80.0060.00318.73
8.2.70.0000.00817.63
8.2.60.0000.00817.93
8.2.50.0060.00318.05
8.2.40.0040.00418.34
8.2.30.0080.00017.97
8.2.20.0040.00418.91
8.2.10.0110.00418.92
8.2.00.0100.00718.85
8.1.280.0110.00325.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00022.01
8.1.230.0080.00417.83
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0070.00017.23
8.1.180.0040.00418.10
8.1.170.0060.00318.71
8.1.160.0020.00520.72
8.1.150.0030.00518.62
8.1.140.0050.00918.62
8.1.130.0070.00718.62
8.1.120.0130.00318.64
8.1.110.0120.00418.69
8.1.100.0120.00618.73
8.1.90.0130.00518.77
8.1.80.0190.00018.61
8.1.70.0100.00718.64
8.1.60.0140.00518.78
8.1.50.0170.00318.69
8.1.40.0160.00318.80
8.1.30.0170.00318.88
8.1.20.0160.00318.73
8.1.10.0100.00018.70
8.1.00.0120.00918.56
8.0.300.0070.00020.62
8.0.290.0090.00016.63
8.0.280.0070.00018.43
8.0.270.0000.00717.91
8.0.260.0130.00217.95
8.0.250.0150.00018.05
8.0.240.0120.00318.06
8.0.230.0150.00017.96
8.0.220.0100.00417.92
8.0.210.0120.00017.81
8.0.200.0080.00417.99
8.0.190.0030.00917.98
8.0.180.0090.00617.96
8.0.170.0110.00318.09
8.0.160.0150.00018.04
8.0.150.0000.01017.98
8.0.140.0070.00418.02
8.0.130.0130.00017.99
8.0.120.0080.00817.97
8.0.110.0080.00518.04
8.0.100.0100.00717.88
8.0.90.0150.00017.98
8.0.80.0110.00417.98
8.0.70.0110.00517.94
8.0.60.0050.01018.04
8.0.50.0120.00417.98
8.0.30.0110.00617.83
8.0.20.0170.00018.08
8.0.10.0150.00018.09

preferences:
46.03 ms | 400 KiB | 5 Q