3v4l.org

run code in 300+ PHP versions simultaneously
<?php $advanced_settings = []; echo (bool) $advanced_settings['consent_mode'] ?? TRUE; echo (bool) ($advanced_settings['consent_mode'] ?? TRUE);

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.4.30.0050.00320.55
8.4.20.0080.00020.70
8.4.10.0000.00819.73
8.3.160.0140.00416.64
8.3.150.0090.00916.73
8.3.140.0040.00416.68
8.3.130.0090.00017.03
8.3.120.0040.01520.53
8.3.110.0060.00320.94
8.3.100.0100.01024.06
8.3.90.0130.00626.77
8.3.80.0000.01018.56
8.3.70.0170.00316.50
8.3.60.0120.00316.68
8.3.50.0120.00618.66
8.3.40.0000.01521.73
8.3.30.0190.00322.96
8.3.20.0110.00722.96
8.3.10.0060.01223.43
8.3.00.0220.00322.96
8.2.270.0160.00316.97
8.2.260.0110.00717.26
8.2.250.0040.00416.72
8.2.240.0100.00017.11
8.2.230.0060.00322.58
8.2.220.0090.00037.54
8.2.210.0030.00626.77
8.2.200.0120.00016.50
8.2.190.0180.00416.63
8.2.180.0090.00616.75
8.2.170.0070.00722.96
8.2.160.0290.00622.96
8.2.150.0230.00622.96
8.2.140.0060.01322.96
8.2.130.0120.00622.96
8.2.120.0110.01122.96
8.2.110.0200.00322.96
8.2.100.0270.00022.96
8.2.90.0260.00322.96
8.2.80.0090.01522.96
8.2.70.0160.01022.96
8.2.60.0270.00322.96
8.2.50.0150.00822.96
8.2.40.0130.00622.96
8.2.30.0150.00622.96
8.2.20.0190.00622.96
8.2.10.0140.00622.96
8.2.00.0190.00322.96
8.1.310.0070.01016.75
8.1.300.0060.00320.02
8.1.290.0040.00418.88
8.1.280.0090.01225.92
8.1.270.0030.01022.96
8.1.260.0160.00022.96
8.1.250.0030.01022.96
8.1.240.0200.00622.96
8.1.230.0110.01122.96
8.1.220.0040.01522.96
8.1.210.0310.00322.96
8.1.200.0230.00622.96
8.1.190.0250.00022.96
8.1.180.0220.00722.96
8.1.170.0140.00822.96
8.1.160.0160.00622.96
8.1.150.0160.01022.96
8.1.140.0290.00422.96
8.1.130.0160.01322.96
8.1.120.0200.01022.96
8.1.110.0150.01122.96
8.1.100.0140.01422.96
8.1.90.0190.00322.96
8.1.80.0200.00722.96
8.1.70.0100.01322.96
8.1.60.0290.00722.96
8.1.50.0270.00922.96
8.1.40.0270.01022.96
8.1.30.0110.00722.96
8.1.20.0210.00322.96
8.1.10.0250.01122.96
8.1.00.0260.01322.96

preferences:
29.91 ms | 403 KiB | 5 Q