3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = array(); $name_reference = $name['name']; // => GENERATE NOTICE, $name_reference = NULL var_dump($name_reference); $name = false; $name_reference = $name['name']; // => NO ERROR ($name = false), $name_reference = NULL var_dump($name_reference);

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.60.0070.00716.50
8.3.50.0040.01118.04
8.3.40.0070.00718.55
8.3.30.0110.00318.59
8.3.20.0080.00021.72
8.3.10.0060.00320.18
8.3.00.0040.00421.77
8.2.180.0140.00716.61
8.2.170.0150.00022.96
8.2.160.0090.00618.96
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0080.00019.67
8.2.110.0060.00321.04
8.2.100.0090.00317.78
8.2.90.0040.00417.84
8.2.80.0040.00418.03
8.2.70.0030.00618.04
8.2.60.0040.00418.05
8.2.50.0040.00418.10
8.2.40.0060.00319.34
8.2.30.0040.00419.14
8.2.20.0040.00417.95
8.2.10.0050.00317.92
8.2.00.0050.00217.77
8.1.280.0080.00625.92
8.1.270.0040.00423.92
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00922.51
8.1.230.0080.00421.04
8.1.220.0080.00017.74
8.1.210.0090.00018.97
8.1.200.0050.00317.23
8.1.190.0030.00617.22
8.1.180.0030.00618.10
8.1.170.0030.00618.49
8.1.160.0030.00322.07
8.1.150.0040.00418.75
8.1.140.0030.00519.50
8.1.130.0070.00017.62
8.1.120.0000.00717.38
8.1.110.0050.00217.42
8.1.100.0000.00717.35
8.1.90.0000.00717.38
8.1.80.0030.00317.36
8.1.70.0070.00017.37
8.1.60.0060.00317.52
8.1.50.0080.00017.35
8.1.40.0080.00017.41
8.1.30.0050.00317.56
8.1.20.0000.00817.54
8.1.10.0080.00017.45
8.1.00.0080.00417.42
8.0.300.0000.00719.90
8.0.290.0000.00716.63
8.0.280.0030.00318.30
8.0.270.0050.00217.18
8.0.260.0030.00317.28
8.0.250.0030.00316.97
8.0.240.0110.00016.94
8.0.230.0030.00316.84
8.0.220.0050.00216.83
8.0.210.0050.00216.78
8.0.200.0030.00316.84
8.0.190.0050.00316.94
8.0.180.0040.00416.88
8.0.170.0040.00416.89
8.0.160.0000.00816.96
8.0.150.0070.00316.78
8.0.140.0040.00416.91
8.0.130.0030.00313.33
8.0.120.0080.00016.81
8.0.110.0080.00016.79
8.0.100.0040.00416.67
8.0.90.0000.00716.73
8.0.80.0090.00916.75
8.0.70.0030.00316.88
8.0.60.0000.00716.88
8.0.50.0040.00416.73
8.0.30.0110.00617.20
8.0.20.0070.01317.40
8.0.10.0040.00416.98
8.0.00.0120.00616.48
7.4.330.0050.00015.21
7.4.320.0030.00316.34
7.4.300.0030.00316.52
7.4.290.0030.00316.41
7.4.280.0080.00016.44
7.4.270.0030.00316.43
7.4.260.0040.00416.40
7.4.250.0070.00016.47
7.4.240.0000.00716.35
7.4.230.0030.00316.46
7.4.220.0170.01016.60
7.4.210.0080.01016.45
7.4.200.0040.00416.59
7.4.160.0080.01016.50
7.4.150.0080.00817.40
7.4.140.0030.01617.86
7.4.130.0120.00516.38
7.4.120.0080.01016.53
7.4.110.0070.01116.41
7.4.100.0100.01016.37
7.4.90.0050.01116.52
7.4.80.0070.01019.39
7.4.70.0090.01216.39
7.4.60.0090.00616.62
7.4.50.0120.00316.55
7.4.40.0040.01716.43
7.4.30.0110.01116.49
7.4.00.0090.00614.97
7.3.330.0000.00613.11
7.3.320.0050.00013.13
7.3.310.0030.00316.39
7.3.300.0000.00716.24
7.3.290.0030.00316.16
7.3.280.0070.01016.23
7.3.270.0030.01317.40
7.3.260.0080.01016.28
7.3.250.0100.00916.43
7.3.240.0100.00716.36
7.3.230.0060.01216.39
7.3.210.0060.00916.26
7.3.200.0100.00716.58
7.3.190.0140.00316.23
7.3.180.0030.01316.21
7.3.170.0060.01216.42
7.3.160.0030.01616.19
7.3.20.0490.00714.66
7.3.10.0480.00314.34
7.3.00.0630.00615.16
7.2.330.0100.00616.70
7.2.320.0110.00816.28
7.2.310.0060.01316.40
7.2.300.0130.01016.37
7.2.290.0040.01316.38
7.2.150.0580.00014.77
7.2.140.0460.01314.93
7.2.130.0580.00615.51
7.2.120.0630.01215.50
7.2.110.0650.00815.37
7.2.100.0860.00615.60
7.2.90.0690.00915.60
7.2.80.0920.00815.52
7.2.70.0760.01215.41
7.2.60.0430.00915.71
7.2.50.0740.01315.55
7.2.40.0730.00715.65
7.2.30.0540.00915.49
7.2.20.0490.01015.61
7.2.10.0710.00715.44
7.2.00.0550.00815.58
7.1.250.0740.00614.43
7.1.240.1010.00614.42
7.1.230.0820.00914.27
7.1.220.0780.00614.38
7.1.210.0850.00914.55
7.1.200.0500.01014.79
7.1.190.0880.00614.51
7.1.180.0590.00614.53
7.1.170.0660.00714.54
7.1.160.0650.00814.49
7.1.150.0510.00714.41
7.1.140.0690.00714.42
7.1.130.0510.00714.49
7.1.120.0610.01114.50
7.1.110.0830.00714.47
7.1.100.0440.00514.93
7.1.90.0930.00814.81
7.1.80.0840.00814.92
7.1.70.0440.00914.54
7.1.60.0520.00819.19
7.1.50.0490.00919.09
7.1.40.0350.01118.94
7.1.30.0740.00519.05
7.1.20.0530.01318.92
7.1.10.0790.01114.56
7.1.00.0430.02216.16
7.0.330.0670.00714.03
7.0.320.0650.00413.83
7.0.310.0630.00913.99
7.0.300.0590.00813.83
7.0.290.0820.01013.83
7.0.280.0710.01313.77
7.0.270.0500.01113.86
7.0.260.0570.00413.98
7.0.250.0460.00813.86
7.0.240.0430.00814.52
7.0.230.0400.00914.41
7.0.220.0830.01114.36
7.0.210.0970.00714.15
7.0.200.0890.00714.14
7.0.190.0900.01114.18
7.0.180.1260.01014.11
7.0.170.0230.00814.00
7.0.160.0870.00814.09
7.0.150.0310.00914.14
7.0.140.0790.00713.97
7.0.130.0290.00914.33
7.0.120.0270.02115.74
7.0.110.0220.02215.64
7.0.100.0220.02215.61
7.0.90.0250.02115.64
7.0.80.0260.02115.71
7.0.70.0400.02115.62
7.0.60.0320.01915.61
7.0.50.0540.02115.79
7.0.40.0670.01715.45
7.0.30.0220.01915.21
7.0.20.0230.01915.35
7.0.10.0320.01915.40
7.0.00.0330.02015.40
5.6.380.0090.00614.26
5.6.370.0100.00914.11
5.6.360.0120.00914.22
5.6.350.0100.00814.31
5.6.340.0110.00514.24
5.6.330.0070.01314.21
5.6.320.0080.00814.13
5.6.310.0050.01114.24
5.6.300.0120.02415.71
5.6.290.0140.02115.80
5.6.280.0120.02515.83
5.6.270.0100.02215.74
5.6.260.0080.03016.84
5.6.250.0100.03216.85
5.6.240.0080.03816.89
5.6.230.0100.03516.83
5.6.220.0090.03516.78
5.6.210.0100.03416.89
5.6.200.0100.03316.73
5.6.190.0110.03116.76
5.6.180.0120.02816.94
5.6.170.0080.02916.67
5.6.160.0100.03116.78
5.6.150.0100.03116.91
5.6.140.0120.03116.77
5.6.130.0100.03016.80
5.6.120.0080.03516.84
5.6.110.0100.03216.83
5.6.100.0100.03216.84
5.6.90.0110.03516.78
5.6.80.0100.02916.54
5.6.70.0070.03216.46
5.6.60.0130.02816.54
5.6.50.0090.03216.52
5.6.40.0120.02716.51
5.6.30.0100.03216.66
5.6.20.0130.02916.58
5.6.10.0100.03116.56
5.6.00.0120.02616.50

preferences:
59.79 ms | 400 KiB | 5 Q