3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $not_array = false; // Case #1, incorrect: only 'PHP Warning: Undefined array key "nonexistant"' is logged echo (array_key_exists($_REQUEST['nonexistant'], $not_array) ? "yes" : "no");

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.70.0070.00716.58
8.3.60.0160.01218.55
8.3.50.0070.00719.78
8.3.40.0070.00719.07
8.3.30.0140.00318.76
8.3.20.0030.00324.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.190.0170.00316.63
8.2.180.0100.00325.92
8.2.170.0140.00022.96
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0120.00626.16
8.2.120.0030.00621.13
8.2.110.0100.00022.09
8.2.100.0090.00318.03
8.2.90.0000.00817.75
8.2.80.0030.00518.68
8.2.70.0030.00617.75
8.2.60.0090.00017.93
8.2.50.0090.00018.07
8.2.40.0030.00520.07
8.2.30.0040.00418.12
8.2.20.0040.00419.30
8.2.10.0000.00717.68
8.2.00.0000.00719.28
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0050.00228.09
8.1.240.0090.00920.34
8.1.230.0080.00417.70
8.1.220.0000.00717.76
8.1.210.0040.00418.77
8.1.200.0030.00617.48
8.1.190.0080.00017.36
8.1.180.0050.00318.10
8.1.170.0000.00818.46
8.1.160.0000.00818.91
8.1.150.0040.00418.63
8.1.140.0040.00417.45
8.1.130.0070.00018.75
8.1.120.0070.00017.36
8.1.110.0050.00317.46
8.1.100.0000.00717.46
8.1.90.0000.00817.42
8.1.80.0080.00017.38
8.1.70.0000.00717.52
8.1.60.0080.00017.59
8.1.50.0090.00017.38
8.1.40.0000.00817.39
8.1.30.0040.00417.55
8.1.20.0030.00617.63
8.1.10.0000.00717.57
8.1.00.0040.00817.34
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0060.00318.43
8.0.270.0080.00018.16
8.0.260.0040.00418.50
8.0.250.0000.00716.94
8.0.240.0040.00417.04
8.0.230.0030.00516.96
8.0.220.0060.00316.88
8.0.210.0000.00816.96
8.0.200.0040.00416.89
8.0.190.0070.00016.91
8.0.180.0040.00416.83
8.0.170.0030.00516.85
8.0.160.0000.00717.05
8.0.150.0040.00416.89
8.0.140.0000.00716.80
8.0.130.0060.00013.32
8.0.120.0030.00613.38
8.0.110.0080.00413.38
8.0.100.0080.00413.36
8.0.90.0120.00013.39
8.0.80.0060.00613.32
8.0.70.0120.00013.38
8.0.60.0070.00513.29
8.0.50.0070.00413.34
8.0.30.0110.00013.29
8.0.20.0120.00013.38
8.0.10.0000.01213.46
8.0.00.0070.00013.48
7.4.330.0050.00015.55
7.4.320.0030.00316.57
7.4.300.0040.00416.40
7.4.290.0000.00716.54
7.4.280.0050.00316.49
7.4.270.0000.00616.48
7.4.260.0030.00313.27
7.4.250.0030.00313.38
7.4.240.0090.00413.25
7.4.230.0090.00513.25
7.4.220.0100.00313.38
7.4.210.0090.00413.29
7.4.200.0110.00013.14
7.4.190.0110.00013.31
7.4.180.0040.00713.32
7.4.160.0040.00913.38
7.4.150.0130.00013.20
7.4.140.0130.00013.19
7.4.130.0090.00213.23
7.4.120.0110.00013.14
7.4.110.0080.00413.22
7.4.100.0090.00313.15
7.4.90.0060.00613.21
7.4.80.0040.00713.19
7.4.70.0070.00413.17
7.4.60.0080.00413.18
7.4.50.0080.00313.11
7.4.40.0110.00013.05
7.4.30.0070.00413.08
7.4.20.0040.00713.31
7.4.10.0070.00413.14
7.4.00.0110.00013.20
7.3.330.0040.00416.41
7.3.320.0120.00013.11
7.3.310.0120.00012.97
7.3.300.0110.00013.17
7.3.290.0090.00313.11
7.3.280.0100.00213.13
7.3.270.0070.00513.11
7.3.260.0080.00413.01
7.3.250.0080.00413.20
7.3.240.0090.00313.13
7.3.230.0080.00413.09
7.3.220.0090.00313.16
7.3.210.0120.00013.21
7.3.200.0100.00313.12
7.3.190.0120.00013.09
7.3.180.0110.00213.13
7.3.170.0090.00313.18
7.3.160.0080.00413.00
7.3.150.0120.00013.14
7.3.140.0060.00613.24
7.3.130.0130.00013.18
7.3.120.0100.00213.15
7.3.110.0090.00413.01
7.3.100.0120.00013.00
7.3.90.0060.00613.36
7.3.80.0100.00312.95
7.3.70.0080.00413.20
7.3.60.0110.00313.30
7.3.50.0090.00513.13
7.3.40.0070.00713.13
7.3.30.0080.00413.17
7.3.20.0000.01315.00
7.3.10.0080.00414.88
7.3.00.0110.00214.88

preferences:
56.89 ms | 401 KiB | 5 Q