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); 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.0070.01016.50
8.3.50.0250.01121.09
8.3.40.0100.01018.75
8.3.30.0070.00718.67
8.3.20.0100.00720.18
8.3.10.0040.00421.57
8.3.00.0070.01119.56
8.2.180.0150.00018.54
8.2.170.0100.00322.96
8.2.160.0120.00320.36
8.2.150.0040.00424.18
8.2.140.0040.01124.66
8.2.130.0040.01426.16
8.2.120.0080.00017.63
8.2.110.0100.00022.09
8.2.100.0120.00017.75
8.2.90.0030.00519.14
8.2.80.0040.00417.97
8.2.70.0000.00917.75
8.2.60.0030.00619.53
8.2.50.0070.00318.07
8.2.40.0040.00421.07
8.2.30.0040.00419.79
8.2.20.0000.00717.68
8.2.10.0030.00617.98
8.2.00.0040.00417.97
8.1.280.0110.00725.92
8.1.270.0090.00920.16
8.1.260.0060.00326.35
8.1.250.0000.00928.09
8.1.240.0000.01122.34
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0030.00618.39
8.1.160.0000.00821.94
8.1.150.0060.00318.80
8.1.140.0030.00517.30
8.1.130.0000.00817.63
8.1.120.0080.00017.46
8.1.110.0000.00817.38
8.1.100.0040.00417.35
8.1.90.0000.00717.34
8.1.80.0000.00717.28
8.1.70.0040.00417.41
8.1.60.0040.00417.43
8.1.50.0080.00017.51
8.1.40.0000.00817.42
8.1.30.0060.00317.45
8.1.20.0080.00017.62
8.1.10.0050.00217.48
8.1.00.0040.00417.48
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00518.43
8.0.270.0030.00317.30
8.0.260.0030.00317.18
8.0.250.0070.00016.95
8.0.240.0030.00316.98
8.0.230.0030.00316.90
8.0.220.0000.00716.92
8.0.210.0000.00716.87
8.0.200.0040.00416.94
8.0.190.0000.00716.91
8.0.180.0030.00416.80
8.0.170.0050.00216.97
8.0.160.0040.00416.88
8.0.150.0000.00816.93
8.0.140.0030.00316.85
8.0.130.0000.00613.35
8.0.120.0030.00616.85
8.0.110.0070.00016.81
8.0.100.0020.00516.71
8.0.90.0000.00716.79
8.0.80.0030.01216.94
8.0.70.0000.00716.89
8.0.60.0000.00716.77
8.0.50.0040.00416.91
8.0.30.0110.00816.99
8.0.20.0130.00617.40
8.0.10.0000.00716.80
8.0.00.0060.01116.79
7.4.330.0030.00315.08
7.4.320.0060.00016.54
7.4.300.0030.00316.50
7.4.290.0000.00716.44
7.4.280.0000.00816.49
7.4.270.0070.00016.63
7.4.260.0030.00316.49
7.4.250.0050.00216.48
7.4.240.0040.00316.50
7.4.230.0000.00616.53
7.4.220.0000.02216.62
7.4.210.0100.00616.66
7.4.200.0030.00316.50
7.4.160.0060.00916.35
7.4.150.0030.01317.40
7.4.140.0170.00817.86
7.4.130.0050.01216.62
7.4.120.0080.01016.59
7.4.110.0100.01016.46
7.4.100.0160.00616.50
7.4.90.0040.01216.46
7.4.80.0160.00019.39
7.4.70.0030.01416.65
7.4.60.0090.00716.45
7.4.50.0030.00616.57
7.4.40.0070.01016.48
7.4.30.0090.00916.43
7.4.00.0030.01214.93
7.3.330.0000.00513.17
7.3.320.0000.00513.10
7.3.310.0070.00016.26
7.3.300.0030.00316.29
7.3.290.0000.00716.25
7.3.280.0110.00816.23
7.3.270.0110.01417.40
7.3.260.0180.00316.27
7.3.250.0120.00816.37
7.3.240.0120.00316.30
7.3.230.0130.00316.46
7.3.210.0080.00816.57
7.3.200.0070.01316.46
7.3.190.0070.01116.27
7.3.180.0000.02116.36
7.3.170.0100.00716.44
7.3.160.0030.01516.14
7.2.330.0090.01216.80
7.2.320.0100.01316.53
7.2.310.0110.00616.41
7.2.300.0100.00716.54
7.2.290.0100.00616.66
7.2.00.0060.01019.20
7.1.100.0030.00717.99
7.1.70.0090.00017.23
7.1.60.0100.01620.03
7.1.50.0070.01416.63
7.1.00.0070.07322.28
7.0.200.0130.00714.72
7.0.60.0100.06320.01
7.0.50.0030.08717.88
7.0.40.0030.09020.21
7.0.30.0300.03720.18
7.0.20.0370.07320.21
7.0.10.0100.08320.30
7.0.00.0030.04019.99
5.6.280.0030.03721.10
5.6.210.0130.07320.68
5.6.200.0130.05318.16
5.6.190.0100.08320.67
5.6.180.3130.04020.64
5.6.170.0330.07720.38
5.6.160.0000.04320.71
5.6.150.0000.07718.21
5.6.140.0130.05718.12
5.6.130.0000.04318.10
5.6.120.0070.05721.13
5.6.110.0000.04320.99
5.6.100.0170.07721.11
5.6.90.0170.07320.88
5.6.80.0070.04020.40
5.6.70.4430.04320.52
5.5.350.0000.05020.48
5.5.340.0030.07717.89
5.5.330.0130.07320.37
5.5.320.3100.03720.32
5.5.310.0170.05020.13
5.5.300.0000.04317.97
5.5.290.0070.06017.98
5.5.280.0070.04320.88
5.5.270.0100.06720.64
5.5.260.0130.07720.88
5.5.250.0000.05020.60
5.5.240.0370.06720.27
5.4.450.0700.05019.64
5.4.440.0670.07019.11
5.4.430.0730.05019.59
5.4.420.0670.05319.21
5.4.410.0670.05319.11
5.4.400.0630.05319.23
5.4.390.0630.05719.15
5.4.380.0570.05719.05
5.4.370.0630.05018.79
5.4.360.0570.06019.06
5.4.350.0700.04719.21
5.4.340.0630.05319.08
5.4.320.0630.05018.93
5.4.310.0530.05718.94
5.4.300.0530.05319.08
5.4.290.0500.05318.75
5.4.280.0470.05719.05
5.4.270.0500.05719.19
5.4.260.0530.05018.96
5.4.250.0530.05019.25
5.4.240.0700.04719.16
5.4.230.0570.05719.29
5.4.220.0630.05719.25
5.4.210.0730.04319.29
5.4.200.0670.04719.21
5.4.190.0700.04719.29
5.4.180.0800.04319.18
5.4.170.0630.06018.88
5.4.160.0730.04319.13
5.4.150.0700.05019.04
5.4.140.0570.05316.18
5.4.130.0570.05316.26
5.4.120.0630.04716.28
5.4.110.0600.05316.51
5.4.100.0670.04716.21
5.4.90.0700.04016.46
5.4.80.0630.05316.27
5.4.70.0070.04716.32
5.4.60.0330.04716.19
5.4.50.0000.07316.43
5.4.40.0200.07016.47
5.4.30.0270.05316.45
5.4.20.0230.04716.36

preferences:
60.63 ms | 401 KiB | 5 Q