3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); $undef; $undef2 = null; $undef3 = null; unset($undef3); echo '$undef === $undef2?'; var_dump($undef === $undef2); echo '$undef === $undef3?'; var_dump($unedf === $undef3); echo '$undef2 === $undef3?'; var_dump($undef2 === $undef3); var_dump( get_defined_vars() );

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.0120.00316.38
8.3.50.0120.00916.34
8.3.40.0100.01418.79
8.3.30.0040.01118.70
8.3.20.0000.00820.25
8.3.10.0030.00521.82
8.3.00.0070.01119.53
8.2.180.0060.00918.16
8.2.170.0070.00722.96
8.2.160.0100.00320.11
8.2.150.0080.00024.18
8.2.140.0120.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00417.75
8.2.110.0160.00619.20
8.2.100.0030.00917.75
8.2.90.0000.00819.08
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0050.00319.21
8.2.30.0040.00419.89
8.2.20.0000.00717.73
8.2.10.0030.00517.93
8.2.00.0000.00817.96
8.1.280.0100.00725.92
8.1.270.0080.00020.20
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0070.00319.01
8.1.230.0040.00817.42
8.1.220.0100.00017.74
8.1.210.0000.00818.77
8.1.200.0070.00217.23
8.1.190.0030.00617.11
8.1.180.0030.00618.10
8.1.170.0040.00418.41
8.1.160.0040.00421.86
8.1.150.0030.00718.87
8.1.140.0050.00317.39
8.1.130.0050.00217.67
8.1.120.0000.00717.41
8.1.110.0040.00417.40
8.1.100.0000.00817.31
8.1.90.0000.00717.38
8.1.80.0040.00417.29
8.1.70.0000.00717.44
8.1.60.0040.00417.55
8.1.50.0030.00517.33
8.1.40.0060.00317.49
8.1.30.0050.00517.47
8.1.20.0050.00317.60
8.1.10.0000.00817.39
8.1.00.0060.00317.33
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.49
8.0.270.0000.00717.24
8.0.260.0000.00717.25
8.0.250.0000.00716.86
8.0.240.0030.00316.88
8.0.230.0070.00016.83
8.0.220.0050.00216.89
8.0.210.0020.00516.86
8.0.200.0030.00316.95
8.0.190.0020.00516.84
8.0.180.0000.00717.00
8.0.170.0030.00516.87
8.0.160.0000.00716.88
8.0.150.0060.00316.72
8.0.140.0030.00316.73
8.0.130.0030.00313.27
8.0.120.0000.00816.89
8.0.110.0000.00716.90
8.0.100.0040.00416.91
8.0.90.0030.00516.79
8.0.80.0070.01316.88
8.0.70.0040.00416.69
8.0.60.0080.00016.78
8.0.50.0020.00516.93
8.0.30.0060.01117.08
8.0.20.0150.00517.40
8.0.10.0030.00517.07
8.0.00.0080.01016.64
7.4.330.0050.00015.15
7.4.320.0030.00316.51
7.4.300.0000.00616.39
7.4.290.0040.00416.51
7.4.280.0030.00616.50
7.4.270.0030.00316.65
7.4.260.0040.00416.49
7.4.250.0070.00016.61
7.4.240.0020.00616.45
7.4.230.0000.00716.70
7.4.220.0120.00616.45
7.4.210.0090.00916.49
7.4.200.0000.00816.29
7.4.160.0080.01016.51
7.4.150.0140.00617.40
7.4.140.0150.00817.86
7.4.130.0120.00716.62
7.4.120.0100.01016.45
7.4.110.0100.01016.46
7.4.100.0170.00616.45
7.4.90.0070.01116.37
7.4.80.0240.00419.39
7.4.70.0090.00916.40
7.4.60.0100.00816.44
7.4.50.0080.00716.33
7.4.40.0060.01016.43
7.4.30.0000.01716.63
7.4.20.0090.01116.50
7.4.10.0070.01116.09
7.4.00.0110.00515.79
7.3.330.0000.00512.98
7.3.320.0030.00313.17
7.3.310.0000.00716.32
7.3.300.0070.00016.22
7.3.290.0000.00716.08
7.3.280.0050.01516.24
7.3.270.0070.02017.40
7.3.260.0160.00316.44
7.3.250.0100.00916.33
7.3.240.0140.00316.45
7.3.230.0100.00716.39
7.3.210.0090.00916.30
7.3.200.0100.00816.32
7.3.190.0120.00616.38
7.3.180.0100.01016.24
7.3.170.0150.00616.35
7.3.160.0160.00416.29
7.3.150.0040.01916.36
7.3.140.0070.00816.12
7.3.130.0110.00716.21
7.3.120.0050.01316.36
7.3.110.0140.00416.23
7.3.100.0130.00316.38
7.3.90.0040.01316.27
7.3.80.0140.00916.42
7.3.70.0030.01416.21
7.3.60.0100.01316.23
7.3.50.0060.00916.25
7.3.40.0120.00616.17
7.3.30.0070.01116.24
7.3.20.0050.01416.45
7.3.10.0070.01016.45
7.3.00.0070.00616.46
7.2.330.0180.00816.35
7.2.320.0160.01016.29
7.2.310.0190.00516.55
7.2.300.0090.01216.44
7.2.290.0150.00916.65
7.2.280.0090.01516.41
7.2.270.0160.00316.57
7.2.260.0110.00816.45
7.2.250.0110.00716.45
7.2.240.0070.01116.52
7.2.230.0060.01316.50
7.2.220.0120.00616.72
7.2.210.0120.00616.65
7.2.200.0070.01016.48
7.2.190.0110.01116.54
7.2.180.0100.00716.34
7.2.170.0150.00416.37
7.2.160.0070.01016.53
7.2.150.0160.00316.47
7.2.140.0110.00616.73
7.2.130.0050.01016.73
7.2.120.0080.00816.57
7.2.110.0080.00816.59
7.2.100.0100.00516.51
7.2.90.0050.00916.70
7.2.80.0110.00516.68
7.2.70.0040.01316.76
7.2.60.0080.00616.75
7.2.50.0110.00616.68
7.2.40.0090.01116.66
7.2.30.0100.00816.66
7.2.20.0060.00916.61
7.2.10.0020.01616.70
7.2.00.0090.00617.38
7.1.330.0090.00815.39
7.1.320.0080.01415.38
7.1.310.0090.00915.41
7.1.300.0100.01315.48
7.1.290.0150.00415.34
7.1.280.0060.00915.45
7.1.270.0040.01215.34
7.1.260.0110.00515.37
7.1.250.0050.00915.54
7.1.240.0120.00815.43
7.1.230.0080.00815.26
7.1.220.0130.00315.47
7.1.210.0070.01015.38
7.1.200.0080.00515.53
7.1.190.0100.00615.34
7.1.180.0000.01815.13
7.1.170.0080.00815.32
7.1.160.0170.00715.40
7.1.150.0120.00915.41
7.1.140.0100.00515.29
7.1.130.0120.00415.39
7.1.120.0120.00615.31
7.1.110.0070.00915.25
7.1.100.0090.00716.67
7.1.90.0050.01115.36
7.1.80.0040.01315.19
7.1.70.0000.01316.15
7.1.60.0110.00917.71
7.1.50.0120.00615.99
7.1.40.0040.01515.47
7.1.30.0100.01015.36
7.1.20.0130.00715.41
7.1.10.0070.01415.37
7.1.00.0090.03918.87
7.0.330.0160.00814.91
7.0.320.0100.00715.08
7.0.310.0070.00715.15
7.0.300.0090.00615.19
7.0.290.0150.00615.11
7.0.280.0090.01214.79
7.0.270.0090.00614.87
7.0.260.0160.00615.05
7.0.250.0140.00315.09
7.0.240.0040.01215.07
7.0.230.0130.00415.04
7.0.220.0030.01215.00
7.0.210.0150.00615.02
7.0.200.0100.00914.81
7.0.190.0090.00914.91
7.0.180.0020.01515.07
7.0.170.0060.00915.07
7.0.160.0030.01615.05
7.0.150.0150.00615.04
7.0.140.0090.00714.95
7.0.130.0070.00814.78
7.0.120.0110.00415.25
7.0.110.0080.00815.11
7.0.100.0050.01115.25
7.0.90.0060.01615.06
7.0.80.0040.01215.05
7.0.70.0120.00815.19
7.0.60.0040.02817.52
7.0.50.0030.04116.43
7.0.40.0070.02917.72
7.0.30.0170.04217.62
7.0.20.0220.04117.60
7.0.10.0050.04717.54
7.0.00.0070.03517.52
5.6.400.0100.01016.02
5.6.390.0160.00815.50
5.6.380.0130.01015.66
5.6.370.0030.01515.96
5.6.360.0120.00615.43
5.6.350.0100.01315.73
5.6.340.0060.01115.65
5.6.330.0120.00615.79
5.6.320.0100.01615.74
5.6.310.0070.01315.64
5.6.300.0160.00315.67
5.6.290.0150.00415.73
5.6.280.0030.02218.41
5.6.270.0030.01315.72
5.6.260.0060.01315.73
5.6.250.0090.01815.75
5.6.240.0130.01315.59
5.6.230.0150.00315.86
5.6.220.0090.00915.46
5.6.210.0090.05218.07
5.6.200.0080.04616.85
5.6.190.0050.03018.15
5.6.180.1970.02318.04
5.6.170.0120.03218.00
5.6.160.0060.02617.99
5.6.150.0040.04616.99
5.6.140.0120.02416.82
5.6.130.0070.02916.84
5.6.120.0070.02818.25
5.6.110.0080.03518.42
5.6.100.0130.04518.37
5.6.90.0080.04018.22
5.6.80.0090.02917.90
5.6.70.2200.03117.96
5.6.60.0170.00815.65
5.6.50.0220.00315.70
5.6.40.0070.01715.70
5.6.30.0080.01115.79
5.6.20.0090.01015.68
5.6.10.0070.01415.57
5.6.00.0110.01115.67
5.5.380.0100.01015.57
5.5.370.0140.00515.59
5.5.360.0100.01015.62
5.5.350.0060.05418.05
5.5.340.0110.02216.75
5.5.330.0080.02617.90
5.5.320.1530.02917.89
5.5.310.0090.03117.91
5.5.300.0040.02816.79
5.5.290.0130.03816.91
5.5.280.0080.03718.38
5.5.270.0010.03018.15
5.5.260.0080.04818.25
5.5.250.0050.05118.11
5.5.240.0220.03917.91
5.5.230.0090.01215.54
5.5.220.0080.01215.52
5.5.210.0130.01115.60
5.5.200.0110.01515.75
5.5.190.0030.02015.64
5.5.180.0080.01215.36
5.5.170.0070.01415.55
5.5.160.0070.01415.59
5.5.150.0030.01615.52
5.5.140.0140.00715.60
5.5.130.0100.01715.71
5.5.120.0160.00715.48
5.5.110.0120.01215.73
5.5.100.0030.01615.57
5.5.90.0110.01015.61
5.5.80.0150.00715.39
5.5.70.0040.01515.54
5.5.60.0150.01215.51
5.5.50.0190.00315.49
5.5.40.0030.01615.66
5.5.30.0120.00615.74
5.5.20.0130.00615.59
5.5.10.0130.00715.71
5.5.00.0120.00615.54
5.4.450.0380.03615.79
5.4.440.0410.03316.03
5.4.430.0430.04515.88
5.4.420.0470.03815.85
5.4.410.0500.02815.92
5.4.400.0360.03415.67
5.4.390.0420.02815.78
5.4.380.0320.03115.75
5.4.370.0350.02815.82
5.4.360.0310.04115.72
5.4.350.0290.03215.76
5.4.340.0360.02515.73
5.4.330.0100.00812.34
5.4.320.0340.02915.67
5.4.310.0330.02615.82
5.4.300.0360.02615.78
5.4.290.0260.03315.69
5.4.280.0430.02815.71
5.4.270.0380.03015.61
5.4.260.0320.02915.75
5.4.250.0310.04015.77
5.4.240.0300.02915.71
5.4.230.0300.03215.63
5.4.220.0430.04515.79
5.4.210.0350.02715.58
5.4.200.0330.02715.88
5.4.190.0360.02415.92
5.4.180.0270.03415.57
5.4.170.0280.03215.74
5.4.160.0270.03315.75
5.4.150.0360.02615.47
5.4.140.0320.02714.32
5.4.130.0380.02914.39
5.4.120.0480.03614.37
5.4.110.0420.03614.44
5.4.100.0400.02514.42
5.4.90.0350.03114.46
5.4.80.0390.02414.44
5.4.70.0040.02614.39
5.4.60.0160.02314.21
5.4.50.0060.02514.21
5.4.40.0150.03214.43
5.4.30.0130.04214.42
5.4.20.0190.02314.39
5.4.10.0100.00212.31
5.4.00.0040.00812.33

preferences:
72.41 ms | 401 KiB | 5 Q