3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $a[(object)null] = 1; } catch (Throwable $e) { print_r($e->getTrace()); } try { file(null); } catch (Throwable $e) { print_r($e->getTrace()); } try { file(); } catch (Throwable $e) { print_r($e->getTrace()); }

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.10.0060.00319.71
8.3.140.0150.00016.86
8.3.130.0090.00018.50
8.3.120.0070.01120.51
8.3.110.0040.00420.94
8.3.100.0040.00424.06
8.3.90.0100.00726.77
8.3.80.0030.00616.50
8.3.70.0090.00918.43
8.3.60.0120.00916.61
8.3.50.0120.00924.46
8.3.40.0000.01618.85
8.3.30.0030.01318.83
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.250.0040.00416.71
8.2.240.0050.00317.48
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0110.00326.77
8.2.200.0060.00616.75
8.2.190.0090.00618.34
8.2.180.0150.00625.92
8.2.170.0140.00718.88
8.2.160.0070.01022.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0040.00426.35
8.2.110.0100.00022.26
8.2.100.0000.01217.91
8.2.90.0080.00018.22
8.2.80.0050.00317.97
8.2.70.0030.00517.50
8.2.60.0090.00017.75
8.2.50.0070.00017.93
8.2.40.0040.00419.37
8.2.30.0040.00419.13
8.2.20.0030.00518.17
8.2.10.0000.00719.13
8.2.00.0060.00319.23
8.1.300.0000.00819.96
8.1.290.0030.00618.88
8.1.280.0040.01425.92
8.1.270.0030.00621.95
8.1.260.0050.00228.09
8.1.250.0050.00328.09
8.1.240.0030.00623.83
8.1.230.0090.00320.89
8.1.220.0080.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.63
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0000.00818.77
8.1.150.0080.00018.88
8.1.140.0020.00520.61
8.1.130.0040.00417.44
8.1.120.0000.00717.38
8.1.110.0030.00517.43
8.1.100.0040.00417.45
8.1.90.0000.00717.29
8.1.80.0040.00417.39
8.1.70.0070.00017.39
8.1.60.0040.00417.54
8.1.50.0030.00517.55
8.1.40.0000.00917.43
8.1.30.0060.00317.71
8.1.20.0000.01117.59
8.1.10.0040.00717.47
8.1.00.0040.00417.51
8.0.300.0040.00420.04
8.0.290.0000.00716.61
8.0.280.0000.00718.40
8.0.270.0070.00016.82
8.0.260.0070.00016.81
8.0.250.0000.00716.84
8.0.240.0000.00716.87
8.0.230.0070.00016.86
8.0.220.0030.00316.93
8.0.210.0000.00816.93
8.0.200.0030.00316.92
8.0.190.0000.00816.96
8.0.180.0040.00716.92
8.0.170.0030.00616.80
8.0.160.0020.00516.96
8.0.150.0080.00016.80
8.0.140.0000.00716.84
8.0.130.0000.00613.31
8.0.120.0030.00616.88
8.0.110.0050.00216.92
8.0.100.0060.00316.86
8.0.90.0000.00716.75
8.0.80.0120.00616.86
8.0.70.0050.00316.77
8.0.60.0000.00716.86
8.0.50.0000.00716.94
8.0.30.0030.01317.13
8.0.20.0110.00816.91
8.0.10.0120.00616.76
8.0.00.0040.01517.25
7.4.330.0050.00015.55
7.4.320.0030.00316.44
7.4.300.0040.00416.52
7.4.290.0030.00516.36
7.4.280.0090.00016.45
7.4.270.0070.00016.43
7.4.260.0000.00613.27
7.4.250.0040.00416.55
7.4.240.0070.00016.51
7.4.230.0030.00316.53
7.4.220.0030.00416.48
7.4.210.0020.01216.45
7.4.200.0000.00716.61
7.4.150.0110.00716.37
7.4.140.0120.00616.64
7.4.130.0140.00316.38
7.4.120.0110.00716.43
7.4.110.0100.00716.45
7.4.100.0100.01416.28
7.4.90.0160.00916.44
7.4.80.0070.01116.51
7.4.70.0070.01116.49
7.4.60.0120.00616.59
7.4.50.0100.00716.64
7.4.40.0070.01016.35
7.4.30.0030.01416.22
7.4.20.0030.01616.31
7.4.10.0100.01016.59
7.4.00.0070.01116.46
7.3.330.0000.00816.15
7.3.320.0020.00313.19
7.3.310.0050.00216.27
7.3.300.0070.00016.30
7.3.290.0110.00616.26
7.3.270.0100.01016.54
7.3.260.0110.00716.25
7.3.250.0110.00716.18
7.3.240.0180.00416.41
7.3.230.0120.01316.29
7.3.220.0180.00916.22
7.3.210.0150.00516.25
7.3.200.0110.00816.21
7.3.190.0120.00616.38
7.3.180.0190.00016.28
7.3.170.0130.00316.57
7.3.160.0100.00716.32
7.3.150.0120.00616.42
7.3.140.0090.01216.23
7.3.130.0090.00916.43
7.3.120.0030.01516.22
7.3.110.0070.01116.25
7.3.100.0140.00316.48
7.3.90.0150.00316.52
7.3.80.0090.00916.45
7.3.70.0030.01316.17
7.3.60.0090.00916.27
7.3.50.0140.00416.34
7.3.40.0120.00616.23
7.3.30.0120.01216.18
7.3.20.0070.01516.30
7.3.10.0110.00716.38
7.3.00.0070.01116.18

preferences:
66.79 ms | 403 KiB | 5 Q