3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function bar() { unset($this); var_dump($this); } } $f = new Foo(); $f->bar();

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.0150.00616.50
8.3.50.0230.01021.92
8.3.40.0100.00718.57
8.3.30.0120.00618.46
8.3.20.0050.00320.58
8.3.10.0050.00221.68
8.3.00.0040.00423.63
8.2.180.0040.01416.63
8.2.170.0070.00722.96
8.2.160.0060.00620.43
8.2.150.0050.00324.18
8.2.140.0020.00524.66
8.2.130.0060.00319.39
8.2.120.0000.00726.35
8.2.110.0030.00621.03
8.2.100.0080.00317.84
8.2.90.0060.00319.51
8.2.80.0050.00320.28
8.2.70.0040.00417.80
8.2.60.0040.00717.90
8.2.50.0050.00318.10
8.2.40.0080.00019.21
8.2.30.0000.00819.00
8.2.20.0040.00417.83
8.2.10.0070.00017.84
8.2.00.0000.00717.41
8.1.280.0140.00025.92
8.1.270.0040.00423.66
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0040.00422.05
8.1.230.0110.00022.75
8.1.220.0050.00317.74
8.1.210.0040.00418.80
8.1.200.0040.00417.22
8.1.190.0080.00017.11
8.1.180.0000.00918.10
8.1.170.0080.00018.58
8.1.160.0000.00723.92
8.1.150.0040.00418.72
8.1.140.0040.00419.46
8.1.130.0080.00017.47
8.1.120.0030.00417.23
8.1.110.0050.00217.24
8.1.100.0040.00417.26
8.1.90.0000.00717.28
8.1.80.0050.00217.21
8.1.70.0000.00717.22
8.1.60.0040.00417.44
8.1.50.0030.00617.38
8.1.40.0030.00517.40
8.1.30.0040.00417.41
8.1.20.0050.00317.36
8.1.10.0040.00417.26
8.1.00.0030.00917.38
8.0.300.0080.00020.12
8.0.290.0030.00616.63
8.0.280.0040.00418.31
8.0.270.0000.00717.04
8.0.260.0060.00017.14
8.0.250.0030.00316.86
8.0.240.0080.00016.94
8.0.230.0040.00416.92
8.0.220.0040.00416.77
8.0.210.0070.00016.83
8.0.200.0000.00716.87
8.0.190.0040.00416.79
8.0.180.0000.00716.87
8.0.170.0000.00716.91
8.0.160.0000.00716.84
8.0.150.0000.00716.77
8.0.140.0070.00016.67
8.0.130.0000.00513.25
8.0.120.0080.00016.80
8.0.110.0000.00716.73
8.0.100.0000.00716.80
8.0.90.0040.00416.86
8.0.80.0150.00616.74
8.0.70.0040.00416.93
8.0.60.0030.00416.62
8.0.50.0020.00516.76
8.0.30.0090.01016.90
8.0.20.0150.00417.40
8.0.10.0040.00417.01
8.0.00.0070.01016.55
7.4.330.0050.00015.55
7.4.320.0060.00016.38
7.4.300.0030.00316.31
7.4.290.0000.00716.35
7.4.280.0050.00316.31
7.4.270.0060.00016.36
7.4.260.0030.00616.37
7.4.250.0000.00716.42
7.4.240.0040.00416.32
7.4.230.0040.00416.54
7.4.220.0060.01216.48
7.4.210.0110.00316.37
7.4.200.0040.00416.56
7.4.160.0030.01216.22
7.4.150.0130.00717.40
7.4.140.0120.00917.86
7.4.130.0100.00916.39
7.4.120.0110.00816.46
7.4.110.0130.01016.40
7.4.100.0090.00816.47
7.4.90.0110.01116.30
7.4.80.0060.01019.39
7.4.70.0110.00616.32
7.4.60.0070.01016.32
7.4.50.0080.00816.35
7.4.40.0030.01316.48
7.4.30.0100.00516.29
7.4.00.0090.00614.73
7.3.330.0000.00513.09
7.3.320.0000.00513.09
7.3.310.0000.00616.04
7.3.300.0030.00316.24
7.3.290.0090.00516.22
7.3.280.0070.01116.25
7.3.270.0110.00817.40
7.3.260.0100.00716.27
7.3.250.0120.01016.26
7.3.240.0080.01016.25
7.3.230.0070.01016.39
7.3.210.0130.00316.13
7.3.200.0100.00716.30
7.3.190.0140.00816.33
7.3.180.0130.00316.19
7.3.170.0060.01416.25
7.3.160.0140.00416.20
7.2.330.0170.01116.25
7.2.320.0000.01616.60
7.2.310.0080.00816.56
7.2.300.0130.00316.21
7.2.290.0040.01416.24
7.2.60.0090.00616.75
7.2.00.0030.01318.91
7.1.200.0100.00315.32
7.1.100.0080.00018.14
7.1.70.0000.00716.98
7.1.60.0060.00617.29
7.1.50.0070.01316.70
7.1.00.0100.06722.51
7.0.200.0310.00614.64
7.0.120.0070.06320.25
7.0.110.0200.05020.21
7.0.100.0070.06020.27
7.0.90.0170.05320.22
7.0.80.0270.06320.15
7.0.70.0370.05720.22
7.0.60.0370.05020.20
7.0.50.0430.05020.28
7.0.40.0330.05720.25
7.0.30.0400.05020.33
7.0.20.0270.06320.32
7.0.10.0330.05320.37
7.0.00.0330.05720.34
5.6.270.0100.06020.88
5.6.260.0100.05720.89
5.6.250.0200.05720.88
5.6.240.0130.05720.98
5.6.230.0100.06721.02
5.6.220.0070.06321.01
5.6.210.0170.05020.85
5.6.200.0170.05321.00
5.6.190.0100.06021.05
5.6.180.0100.05721.03
5.6.170.0100.05721.08
5.6.160.0170.05020.84
5.6.150.0130.06321.03
5.6.140.0030.06721.01
5.6.130.0100.05721.00
5.6.120.0170.05721.01
5.6.110.0100.06021.00
5.6.100.0200.04721.00
5.6.90.0170.05320.82
5.6.80.0170.04720.38
5.6.70.0070.06020.38
5.6.60.0170.05020.13
5.6.50.0100.05320.24
5.6.40.0130.05720.37
5.6.30.0070.06020.20
5.6.20.0100.05720.43
5.6.10.0170.04720.27
5.6.00.0130.05320.29

preferences:
54.62 ms | 401 KiB | 5 Q