3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(isset($array['does']['not']['exist']) ? $array['does']['not']['exist'] : 'nope'); echo "\n---\n"; var_export(isset($obj->does->not->exist) ? $obj->does->not->exist : 'nope');

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.140.0150.00717.70
8.4.130.0060.00319.46
8.4.120.0140.00524.20
8.4.110.0120.00821.60
8.4.100.0070.00318.86
8.4.90.0110.00918.49
8.4.80.0030.00619.51
8.4.70.0130.00819.65
8.4.60.0040.00418.84
8.4.50.0040.00523.91
8.4.40.0130.01017.65
8.4.30.0070.01118.89
8.4.20.0140.00718.06
8.4.10.0040.00419.34
8.3.260.0170.00216.50
8.3.250.0090.00518.82
8.3.240.0140.00517.25
8.3.230.0040.00516.39
8.3.220.0150.00316.79
8.3.210.0120.00616.53
8.3.200.0030.00516.66
8.3.190.0100.00616.89
8.3.180.0100.00816.16
8.3.170.0070.01120.66
8.3.160.0070.01116.77
8.3.150.0110.00717.02
8.3.140.0080.00017.19
8.3.130.0080.00016.85
8.3.120.0110.00020.59
8.3.110.0060.00320.94
8.3.100.0100.01024.06
8.3.90.0100.00726.77
8.3.80.0060.00317.97
8.3.70.0110.00716.63
8.3.60.0040.01118.24
8.3.50.0100.00716.42
8.3.40.0110.00321.93
8.3.30.0070.00722.14
8.3.20.0080.00020.34
8.3.10.0040.00421.76
8.3.00.0080.00018.82
8.2.290.0120.00420.38
8.2.280.0100.00718.16
8.2.270.0030.00619.11
8.2.260.0050.00218.61
8.2.250.0000.00818.24
8.2.240.0100.00417.14
8.2.230.0000.00822.58
8.2.220.0090.00037.54
8.2.210.0110.00726.77
8.2.200.0030.00616.50
8.2.190.0110.00418.11
8.2.180.0190.00616.38
8.2.170.0110.00418.87
8.2.160.0170.00322.96
8.2.150.0260.00318.57
8.2.140.0060.00320.38
8.2.130.0080.00020.27
8.2.120.0030.00718.93
8.2.110.0080.00019.09
8.2.100.0080.00019.02
8.2.90.0000.00818.83
8.2.80.0000.00818.86
8.2.70.0050.00318.80
8.2.60.0030.00518.77
8.2.50.0050.00318.68
8.2.40.0060.00318.79
8.2.30.0030.00618.64
8.2.20.0060.00318.56
8.2.10.0040.00418.61
8.2.00.0040.00418.54
8.1.330.0110.00821.87
8.1.320.0130.00615.87
8.1.310.0120.00616.41
8.1.300.0080.00020.10
8.1.290.0000.00930.84
8.1.280.0070.00725.92
8.1.270.0040.00423.91
8.1.260.0040.00422.04
8.1.250.0040.00422.05
8.1.240.0040.00418.57
8.1.230.0090.00018.42
8.1.220.0000.00818.95
8.1.210.0000.00818.39
8.1.200.0000.00818.72
8.1.190.0040.00418.42
8.1.180.0060.00318.48
8.1.170.0060.00318.27
8.1.160.0080.00018.25
8.1.150.0060.00318.35
8.1.140.0060.00318.35
8.1.130.0030.00618.46
8.1.120.0090.00018.53
8.1.110.0030.00618.60
8.1.100.0060.00318.36
8.1.90.0080.00018.27
8.1.80.0040.00418.43
8.1.70.0080.00018.46
8.1.60.0080.00018.55
8.1.50.0040.00418.43
8.1.40.0030.00618.45
8.1.30.0040.00418.57
8.1.20.0040.00418.48
8.1.10.0080.00018.63
8.1.00.0080.00018.32

preferences:
54.52 ms | 403 KiB | 5 Q