3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ public function __unset($name) { trigger_error($name, E_USER_WARNING); } } $f = new Foo(); $f->__unset("direct"); @$f->__unset("direct suppressed"); unset($f->{"unset"}); //@unset($f->{"unset suppressed 1"}); - not allowed //unset(@$f->{"unset suppressed 2"}); - not allowed

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.0060.00918.43
8.3.50.0080.00819.97
8.3.40.0040.01118.79
8.3.30.0040.01118.54
8.3.20.0070.00720.39
8.3.10.0140.00021.76
8.3.00.0030.00717.38
8.2.180.0040.01116.63
8.2.170.0130.00322.96
8.2.160.0070.00719.34
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00422.25
8.2.120.0040.00426.35
8.2.110.0060.00320.94
8.2.100.0060.00617.90
8.2.90.0140.00019.55
8.2.80.0040.00418.04
8.2.70.0060.00317.93
8.2.60.0090.00018.03
8.2.50.0060.00318.10
8.2.40.0070.00019.42
8.2.30.0050.00318.12
8.2.20.0000.00717.54
8.2.10.0040.00418.18
8.2.00.0000.00717.93
8.1.280.0140.00325.92
8.1.270.0090.00022.01
8.1.260.0070.00728.09
8.1.250.0130.00628.09
8.1.240.0040.00423.84
8.1.230.0070.00422.66
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0050.00817.48
8.1.190.0060.00317.23
8.1.180.0050.00318.10
8.1.170.0090.00018.59
8.1.160.0000.00818.80
8.1.150.0000.00820.60
8.1.140.0000.00719.64
8.1.130.0000.00717.61
8.1.120.0070.00017.42
8.1.110.0070.00017.48
8.1.100.0030.00517.46
8.1.90.0040.00417.40
8.1.80.0000.00717.37
8.1.70.0090.00017.43
8.1.60.0030.00617.63
8.1.50.0060.00317.45
8.1.40.0030.00517.41
8.1.30.0030.00617.56
8.1.20.0040.00417.61
8.1.10.0040.00417.43
8.1.00.0050.00317.37
8.0.300.0070.00019.81
8.0.290.0060.00616.75
8.0.280.0030.00318.43
8.0.270.0000.00717.17
8.0.260.0030.00317.25
8.0.250.0000.01017.05
8.0.240.0000.00716.92
8.0.230.0040.00417.05
8.0.220.0000.00617.02
8.0.210.0000.00816.91
8.0.200.0000.00717.08
8.0.190.0040.00417.04
8.0.180.0000.00717.02
8.0.170.0040.00416.88
8.0.160.0030.00316.92
8.0.150.0000.00716.92
8.0.140.0000.00716.82
8.0.130.0000.00513.36
8.0.120.0080.00016.83
8.0.110.0070.00016.84
8.0.100.0000.00717.01
8.0.90.0070.00016.93
8.0.80.0000.01616.91
8.0.70.0070.00016.79
8.0.60.0040.00416.98
8.0.50.0030.00616.81
8.0.30.0080.00917.11
8.0.20.0130.00617.40
8.0.10.0040.00416.89
8.0.00.0060.01216.82
7.4.330.0000.00615.08
7.4.320.0000.00616.65
7.4.300.0000.00616.51
7.4.290.0050.00216.59
7.4.280.0080.00016.50
7.4.270.0030.00316.59
7.4.260.0030.00616.50
7.4.250.0040.00416.47
7.4.240.0000.00816.44
7.4.230.0040.00416.71
7.4.220.0150.01316.68
7.4.210.0010.01616.67
7.4.200.0030.00316.43
7.4.160.0040.01216.55
7.4.150.0150.00317.40
7.4.140.0110.00817.86
7.4.130.0080.01016.48
7.4.120.0070.00916.43
7.4.110.0070.01016.55
7.4.100.0150.00616.41
7.4.90.0150.00316.63
7.4.80.0070.01119.39
7.4.70.0100.00616.50
7.4.60.0100.00716.59
7.4.50.0110.00416.47
7.4.40.0130.00716.73
7.4.30.0200.00316.55
7.4.00.0060.00614.83
7.3.330.0060.00013.22
7.3.320.0000.00613.29
7.3.310.0030.00616.34
7.3.300.0000.00716.25
7.3.290.0030.00316.16
7.3.280.0100.00816.29
7.3.270.0070.01117.40
7.3.260.0100.00716.26
7.3.250.0110.00616.39
7.3.240.0090.00716.39
7.3.230.0090.00916.39
7.3.210.0170.00416.21
7.3.200.0070.01119.39
7.3.190.0150.00316.22
7.3.180.0060.01316.28
7.3.170.0100.00716.48
7.3.160.0160.00316.42
7.2.330.0100.01016.56
7.2.320.0230.00216.65
7.2.310.0090.00916.43
7.2.300.0070.01016.46
7.2.290.0030.01516.28
7.2.60.0090.00616.79
7.2.00.0000.01119.32
7.1.200.0060.00915.71
7.1.70.0040.00417.24
7.1.60.0070.00719.26
7.1.00.0030.07722.31
7.0.200.0330.00714.58
7.0.80.0500.04720.02
7.0.70.0170.05019.97
7.0.60.0100.05719.98
7.0.50.0200.05320.40
7.0.40.0170.08020.38
7.0.30.0170.05720.32
7.0.20.0100.06020.33
7.0.10.0130.08020.34
7.0.00.0130.06720.24
5.6.230.0130.06320.82
5.6.220.0100.06020.65
5.6.210.0130.07320.69
5.6.200.0230.07321.05
5.6.190.0130.06021.09
5.6.180.0100.06021.11
5.6.170.0170.05721.12
5.6.160.0330.04021.11
5.6.150.0200.05021.09
5.6.140.0170.05321.18
5.6.130.0070.06721.02
5.6.120.0070.06321.20
5.6.110.0130.06321.04
5.6.100.0170.05721.09
5.6.90.0070.06721.08
5.6.80.0200.05320.41
5.6.70.0200.05020.55
5.6.60.0130.05320.48
5.6.50.0130.05320.56
5.6.40.0130.05720.47
5.6.30.0130.05320.42
5.6.20.0070.06020.42
5.6.10.0200.05720.48
5.6.00.0230.04320.43
5.5.370.0170.05320.44
5.5.360.0100.06320.39
5.5.350.0070.06320.59
5.5.340.0200.05020.82
5.5.330.0130.05720.86
5.5.320.0100.06020.87
5.5.310.0170.05020.84
5.5.300.0100.06020.86
5.5.290.0070.06320.79
5.5.280.0030.06720.94
5.5.270.0100.06720.92
5.5.260.0130.06020.88
5.5.250.0200.05320.76
5.5.240.0100.08320.27
5.5.230.0130.05720.37
5.5.220.0130.05320.30
5.5.210.0100.05720.33
5.5.200.0130.05320.21
5.5.190.0070.06720.19
5.5.180.0170.06320.29
5.5.160.0130.05020.21
5.5.150.0230.04020.21
5.5.140.0100.05720.24
5.5.130.0100.05720.27
5.5.120.0130.05020.18
5.5.110.0030.06320.31
5.5.100.0130.06320.20
5.5.90.0170.07020.02
5.5.80.0100.05320.09
5.5.70.0130.05320.00
5.5.60.0070.06020.07
5.5.50.0130.06020.18
5.5.40.0200.04320.00
5.5.30.0070.06020.06
5.5.20.0130.05320.08
5.5.10.0070.06020.16
5.5.00.0100.06020.08

preferences:
82.13 ms | 401 KiB | 5 Q