3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function b() { unset($this); echo 'done!'; } } (new A())->b();

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.4.10.0080.00819.77
8.3.140.0090.00918.55
8.3.130.0080.00018.45
8.3.120.0100.01018.80
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0030.00626.77
8.3.80.0060.00616.63
8.3.70.0070.00716.63
8.3.60.0060.00916.63
8.3.50.0090.01121.92
8.3.40.0150.00018.68
8.3.30.0140.00018.54
8.3.20.0040.00420.26
8.3.10.0110.00019.82
8.3.00.0040.00420.56
8.2.260.0040.00416.59
8.2.250.0050.00316.77
8.2.240.0030.00618.62
8.2.230.0110.00722.58
8.2.220.0080.00037.54
8.2.210.0070.00726.77
8.2.200.0030.00616.38
8.2.190.0060.00916.58
8.2.180.0120.00616.75
8.2.170.0170.00722.96
8.2.160.0000.01419.33
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0020.00522.21
8.2.120.0040.00426.35
8.2.110.0090.00020.45
8.2.100.0120.00017.77
8.2.90.0000.00819.48
8.2.80.0050.00517.97
8.2.70.0000.01017.80
8.2.60.0040.00418.09
8.2.50.0030.00518.10
8.2.40.0040.00420.59
8.2.30.0000.00718.99
8.2.20.0030.00517.51
8.2.10.0030.00517.80
8.2.00.0040.00417.59
8.1.300.0040.01517.79
8.1.290.0000.00818.88
8.1.280.0120.00925.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0050.00522.13
8.1.230.0110.00019.04
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00517.10
8.1.190.0050.00317.00
8.1.180.0040.00418.10
8.1.170.0070.00318.40
8.1.160.0000.00722.07
8.1.150.0040.00418.77
8.1.140.0040.00419.42
8.1.130.0020.00517.67
8.1.120.0030.00317.38
8.1.110.0070.00017.23
8.1.100.0000.00717.22
8.1.90.0040.00417.22
8.1.80.0090.00017.26
8.1.70.0070.00017.36
8.1.60.0040.00417.51
8.1.50.0030.00517.46
8.1.40.0050.00317.40
8.1.30.0050.00317.43
8.1.20.0000.00817.52
8.1.10.0000.00817.38
8.1.00.0050.00217.33
8.0.300.0050.00221.53
8.0.290.0080.00016.63
8.0.280.0030.00318.23
8.0.270.0040.00417.19
8.0.260.0030.00317.41
8.0.250.0000.00816.84
8.0.240.0070.00016.90
8.0.230.0070.00016.82
8.0.220.0050.00316.80
8.0.210.0020.00516.71
8.0.200.0000.00616.87
8.0.190.0030.00516.84
8.0.180.0060.00316.76
8.0.170.0050.00316.84
8.0.160.0030.00316.78
8.0.150.0050.00316.66
8.0.140.0040.00416.77
8.0.130.0030.00313.18
8.0.120.0000.00716.80
8.0.110.0000.00816.88
8.0.100.0040.00416.81
8.0.90.0000.00716.69
8.0.80.0060.01316.75
8.0.70.0040.00416.85
8.0.60.0000.00716.84
8.0.50.0000.00716.78
8.0.30.0080.01016.87
8.0.20.0100.00917.40
8.0.10.0000.00816.79
8.0.00.0080.00816.59
7.4.330.0030.00315.08
7.4.320.0000.00716.27
7.4.300.0000.00616.36
7.4.290.0060.00016.43
7.4.280.0030.00516.44
7.4.270.0060.00016.36
7.4.260.0070.00016.47
7.4.250.0040.00416.23
7.4.240.0000.00816.19
7.4.230.0000.00716.41
7.4.220.0070.01116.46
7.4.210.0030.01516.40
7.4.200.0030.00316.42
7.4.160.0100.00616.48
7.4.150.0090.00917.40
7.4.140.0080.01317.86
7.4.130.0060.01616.36
7.4.120.0060.01016.46
7.4.110.0110.00716.06
7.4.100.0140.01216.31
7.4.90.0070.01116.47
7.4.80.0100.01319.39
7.4.70.0090.00916.50
7.4.60.0110.00616.32
7.4.50.0060.00916.43
7.4.40.0080.00816.32
7.4.30.0110.00616.42
7.4.00.0060.01114.75
7.3.330.0050.00013.08
7.3.320.0020.00213.25
7.3.310.0070.00016.12
7.3.300.0030.00316.27
7.3.290.0070.00916.20
7.3.280.0090.00916.20
7.3.270.0140.00417.40
7.3.260.0100.00816.31
7.3.250.0070.01116.30
7.3.240.0060.01016.19
7.3.230.0130.00316.39
7.3.210.0120.00616.29
7.3.200.0080.00816.16
7.3.190.0080.00816.31
7.3.180.0120.00316.46
7.3.170.0120.00616.46
7.3.160.0120.00916.34
7.3.120.0030.01614.44
7.3.110.0030.01414.38
7.3.100.0060.01314.47
7.3.90.0100.01014.84
7.3.80.0110.00314.79
7.3.70.0000.00814.78
7.3.60.0060.00914.76
7.3.50.0070.01314.57
7.3.40.0130.00614.51
7.3.30.0060.00914.82
7.3.20.0110.00416.43
7.3.10.0060.00616.52
7.3.00.0000.01116.29
7.2.330.0130.00316.46
7.2.320.0130.00916.54
7.2.310.0070.01316.29
7.2.300.0060.01516.31
7.2.290.0140.00716.50
7.2.250.0040.01414.96
7.2.240.0090.00914.54
7.2.230.0060.00614.46
7.2.220.0060.00614.96
7.2.210.0100.00714.77
7.2.200.0030.01314.66
7.2.190.0120.00614.96
7.2.180.0070.01014.91
7.2.170.0070.00714.85
7.2.60.0210.00716.74
7.2.00.0070.01019.04
7.1.330.0070.00715.32
7.1.320.0040.00815.28
7.1.310.0030.01315.27
7.1.300.0060.00615.61
7.1.290.0090.00915.60
7.1.280.0030.01315.68
7.1.270.0040.00415.52
7.1.260.0040.01115.67
7.1.200.0220.00915.29
7.1.70.0030.00316.91
7.1.60.0070.00317.28
7.1.50.0040.01116.88
7.1.40.0080.00316.68
7.1.30.0040.00716.67
7.1.20.0000.01116.53
7.1.10.0030.00616.40
7.1.00.0000.00816.74
7.0.200.0090.00016.75
7.0.190.0060.00916.72
7.0.180.0040.00416.14
7.0.170.0000.00816.27
7.0.160.0000.00816.15
7.0.150.0060.00316.13
7.0.140.0000.01116.20
7.0.130.0030.00516.48
7.0.120.0040.00416.73
7.0.110.0000.00916.36
7.0.100.0000.00816.54
7.0.90.0050.00216.34
7.0.80.0000.00716.45
7.0.70.0030.01316.37
7.0.60.0030.00716.21
7.0.50.0040.00416.44
7.0.40.0000.00914.53
7.0.30.0000.00714.56
7.0.20.0000.01014.52
7.0.10.0030.01314.52
7.0.00.0000.01514.57
5.6.300.0130.04220.90
5.6.290.0030.04420.96
5.6.280.0030.04220.77
5.6.270.0030.04020.89
5.6.260.0030.04320.98
5.6.250.0070.04221.00
5.6.240.0030.05020.90
5.6.230.0030.04120.82
5.6.220.0000.05121.05
5.6.210.0030.05020.60
5.6.200.0030.04721.00
5.6.190.0030.04220.94
5.6.180.0030.04120.85
5.6.170.0000.06021.05
5.6.160.0030.06421.05
5.6.150.0130.06021.02
5.6.140.0130.03220.96
5.6.130.0070.06020.84
5.6.120.0060.04121.02
5.6.110.0030.04220.99
5.6.100.0030.04920.82
5.6.90.0090.03820.95
5.6.80.0070.03720.41
5.6.70.0070.04020.41
5.6.60.0070.05020.12
5.6.50.0070.03720.41
5.6.40.0130.03220.36
5.6.30.0030.04120.40
5.6.20.0030.04020.38
5.6.10.0070.03920.13
5.6.00.0030.03720.27

preferences:
55.52 ms | 403 KiB | 5 Q