3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export($array['does']['not']['exist'] ?? 'nope'); echo "\n---\n"; var_export($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.0160.00517.64
8.4.130.0120.00917.82
8.4.120.0090.01120.71
8.4.110.0060.01119.68
8.4.100.0070.00217.75
8.4.90.0100.01020.38
8.4.80.0110.00919.05
8.4.70.0210.00918.94
8.4.60.0110.00819.21
8.4.50.0110.00418.27
8.4.40.0110.00517.86
8.4.30.0150.00418.41
8.4.20.0150.00818.33
8.4.10.0110.00618.40
8.3.270.0100.01116.32
8.3.260.0070.00916.40
8.3.250.0060.00418.71
8.3.240.0100.00917.18
8.3.230.0110.00916.31
8.3.220.0060.00218.88
8.3.210.0190.00618.26
8.3.200.0060.00517.27
8.3.190.0100.00417.50
8.3.180.0090.00617.27
8.3.170.0080.00619.42
8.3.160.0100.00617.78
8.3.150.0070.00917.40
8.3.140.0080.00517.06
8.3.130.0090.00417.58
8.3.120.0100.00517.82
8.3.110.0110.00518.45
8.3.100.0070.00717.74
8.3.90.0100.00520.46
8.3.80.0130.00217.50
8.3.70.0150.00416.94
8.3.60.0140.00717.49
8.3.50.0140.00816.95
8.3.40.0090.00519.16
8.3.30.0120.00219.18
8.3.20.0110.00518.49
8.3.10.0070.00619.11
8.3.00.0070.00618.26
8.2.290.0160.00316.34
8.2.280.0090.00617.33
8.2.270.0200.00117.27
8.2.260.0110.00317.81
8.2.250.0130.00617.75
8.2.240.0170.00517.71
8.2.230.0120.00519.00
8.2.220.0130.00419.52
8.2.210.0110.00620.54
8.2.200.0130.00417.08
8.2.190.0170.00517.16
8.2.180.0110.00716.98
8.2.170.0200.00418.24
8.2.160.0180.00619.57
8.2.150.0170.00718.06
8.2.140.0120.00618.74
8.2.130.0150.00518.70
8.2.120.0220.00918.22
8.2.110.0140.00518.22
8.2.100.0160.00518.25
8.2.90.0160.01018.16
8.2.80.0180.00818.17
8.2.70.0210.00818.07
8.2.60.0200.00618.13
8.2.50.0120.00718.07
8.2.40.0160.00418.13
8.2.30.0180.00418.09
8.2.20.0120.00718.02
8.2.10.0130.00418.08
8.2.00.0130.00718.63
8.1.330.0150.00516.13
8.1.320.0150.01017.22
8.1.310.0180.00816.84
8.1.300.0190.00618.11
8.1.290.0170.00521.62
8.1.280.0240.00622.68
8.1.270.0190.00519.04
8.1.260.0230.00419.11
8.1.250.0190.00719.16
8.1.240.0180.00617.90
8.1.230.0190.00517.94
8.1.220.0180.00817.97
8.1.210.0160.00617.82
8.1.200.0180.00517.86
8.1.190.0160.00617.89
8.1.180.0190.00517.76
8.1.170.0160.00217.83
8.1.160.0150.00417.91
8.1.150.0150.00617.78
8.1.140.0160.00517.87
8.1.130.0160.00517.96
8.1.120.0130.00717.95
8.1.110.0150.00517.87
8.1.100.0160.00517.82
8.1.90.0150.00617.92
8.1.80.0130.00917.84
8.1.70.0160.00617.82
8.1.60.0240.00417.99
8.1.50.0150.00617.87
8.1.40.0150.00717.96
8.1.30.0160.00718.01
8.1.20.0160.00417.93
8.1.10.0160.00417.94
8.1.00.0220.00317.89
7.3.330.0150.00315.85

preferences:
63.29 ms | 403 KiB | 5 Q