3v4l.org

run code in 300+ PHP versions simultaneously
<?php function actually_unset(&$var){ unset($var); gc_collect_cycles(); } class Foo{ function __destruct(){ echo "destruct "; } } $var = new Foo; actually_unset($var); echo "wat";

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.80.0060.00317.97
8.3.70.0090.00618.30
8.3.60.0140.00018.30
8.3.50.0150.00822.08
8.3.40.0110.00418.59
8.3.30.0140.00018.49
8.3.20.0050.00319.16
8.3.10.0040.00421.60
8.3.00.0040.00419.13
8.2.200.0090.00016.50
8.2.190.0070.01016.58
8.2.180.0120.00618.25
8.2.170.0150.00022.96
8.2.160.0130.00719.46
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00818.09
8.2.120.0050.00326.35
8.2.110.0070.00321.00
8.2.100.0140.00317.78
8.2.90.0000.00917.63
8.2.80.0040.00417.97
8.2.70.0000.00917.93
8.2.60.0090.00018.16
8.2.50.0060.00318.10
8.2.40.0030.00520.45
8.2.30.0040.00419.19
8.2.20.0000.00717.99
8.2.10.0000.00718.04
8.2.00.0030.00517.76
8.1.290.0070.00330.84
8.1.280.0120.00325.92
8.1.270.0060.00320.37
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00320.96
8.1.230.0000.01017.83
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0080.00019.01
8.1.180.0030.00518.10
8.1.170.0050.00320.76
8.1.160.0030.00318.83
8.1.150.0070.00020.22
8.1.140.0070.00019.55
8.1.130.0000.00819.06
8.1.120.0040.00417.41
8.1.110.0000.00717.40
8.1.100.0030.00617.26
8.1.90.0000.00717.37
8.1.80.0020.00517.30
8.1.70.0000.00717.28
8.1.60.0040.00417.54
8.1.50.0000.00917.41
8.1.40.0000.00817.48
8.1.30.0090.00017.65
8.1.20.0030.00617.54
8.1.10.0000.00817.48
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0030.00716.75
8.0.280.0030.00318.48
8.0.270.0040.00418.56
8.0.260.0000.00719.15
8.0.250.0040.00416.90
8.0.240.0030.00316.86
8.0.230.0030.00516.83
8.0.220.0000.00816.86
8.0.210.0000.00716.70
8.0.200.0080.00016.75
8.0.190.0030.00516.79
8.0.180.0040.00416.89
8.0.170.0070.00016.83
8.0.160.0070.00016.84
8.0.150.0070.00016.80
8.0.140.0000.00816.75
8.0.130.0070.00013.21
8.0.120.0040.00416.70
8.0.110.0040.00416.79
8.0.100.0070.00016.63
8.0.90.0050.00216.65
8.0.80.0060.01216.78
8.0.70.0030.00516.76
8.0.60.0050.00216.69
8.0.50.0000.00716.84
8.0.30.0110.00916.95
8.0.20.0140.00717.40
8.0.10.0080.00016.98
8.0.00.0100.00716.50
7.4.330.0020.00215.55
7.4.320.0040.00416.42
7.4.300.0030.00316.52
7.4.290.0070.00016.61
7.4.280.0050.00216.64
7.4.270.0000.00716.58
7.4.260.0070.00016.39
7.4.250.0050.00316.59
7.4.240.0000.00716.62
7.4.230.0000.00716.41
7.4.220.0120.01216.52
7.4.210.0040.01016.55
7.4.200.0040.00416.64
7.4.160.0050.01216.47
7.4.150.0150.00617.40
7.4.140.0050.01117.86
7.4.130.0060.01216.52
7.4.120.0140.00316.46
7.4.110.0120.00916.70
7.4.100.0030.01816.50
7.4.90.0130.01016.42
7.4.80.0110.00719.39
7.4.70.0140.00416.33
7.4.60.0080.00816.52
7.4.50.0030.00816.61
7.4.40.0000.01616.61
7.4.30.0130.00716.65
7.4.00.0050.01214.87
7.3.330.0060.00013.16
7.3.320.0030.00313.11
7.3.310.0000.00716.34
7.3.300.0060.00016.34
7.3.290.0080.00816.25
7.3.280.0070.01116.28
7.3.270.0100.00617.40
7.3.260.0140.00516.52
7.3.250.0120.00816.25
7.3.240.0090.01116.45
7.3.230.0090.01516.37
7.3.210.0060.01116.30
7.3.200.0060.01119.39
7.3.190.0090.01316.26
7.3.180.0070.01116.20
7.3.170.0060.01216.56
7.3.160.0060.01016.34
7.3.120.0060.01314.73
7.3.110.0080.00814.67
7.3.100.0070.01114.50
7.3.90.0110.00414.74
7.3.80.0000.01614.75
7.3.70.0040.00714.71
7.3.60.0100.00314.95
7.3.50.0040.00814.49
7.3.40.0000.01214.86
7.3.30.0000.00914.77
7.3.20.0090.00316.42
7.3.10.0000.00916.64
7.3.00.0030.00916.46
7.2.330.0030.01516.58
7.2.320.0050.01216.54
7.2.310.0100.01016.68
7.2.300.0060.01816.54
7.2.290.0030.01316.63
7.2.250.0040.01515.07
7.2.240.0070.00715.04
7.2.230.0060.00615.23
7.2.220.0060.00914.89
7.2.210.0030.00915.04
7.2.200.0000.01214.89
7.2.190.0040.00714.82
7.2.180.0060.00815.13
7.2.170.0090.00614.78
7.2.160.0110.00015.00
7.2.150.0030.01016.66
7.2.140.0070.00716.97
7.2.130.0030.01016.53
7.2.120.0030.01416.99
7.2.110.0030.00916.70
7.2.100.0060.00916.77
7.2.90.0000.01516.78
7.2.80.0090.00616.94
7.2.70.0100.00716.94
7.2.60.0030.01216.98
7.2.50.0060.00916.94
7.2.40.0060.00616.88
7.2.30.0100.00316.92
7.2.20.0080.00817.05
7.2.10.0070.00716.80
7.2.00.0050.00718.32
7.1.330.0030.01315.75
7.1.320.0050.00515.68
7.1.310.0050.00515.79
7.1.300.0070.00715.54
7.1.290.0000.01215.77
7.1.280.0000.00815.63
7.1.270.0000.01015.68
7.1.260.0060.01015.81
7.1.250.0000.01215.53
7.1.240.0070.00315.70
7.1.230.0060.00315.77
7.1.220.0130.00015.73
7.1.210.0000.01615.73
7.1.200.0070.00715.68
7.1.190.0030.01015.64
7.1.180.0070.00715.70
7.1.170.0060.00315.79
7.1.160.0040.00715.70
7.1.150.0070.01015.70
7.1.140.0000.01415.81
7.1.130.0120.00015.67
7.1.120.0100.00315.54
7.1.110.0030.01315.46
7.1.100.0030.00716.82
7.1.90.0060.00615.43
7.1.80.0030.00615.96
7.1.70.0040.00816.36
7.1.60.0060.00616.31
7.1.50.0050.01216.37
7.1.40.0040.00415.67
7.1.30.0030.01015.71
7.1.20.0050.00315.74
7.1.10.0040.00715.86
7.1.00.0050.03319.06
7.0.330.0100.00315.19
7.0.320.0000.01215.29
7.0.310.0000.01315.36
7.0.300.0060.00915.30
7.0.290.0070.00615.34
7.0.280.0060.00615.23
7.0.270.0060.00315.07
7.0.260.0060.01015.39
7.0.250.0070.00715.26
7.0.240.0040.00415.54
7.0.230.0000.00915.43
7.0.220.0030.00715.51
7.0.210.0060.00615.15
7.0.200.0020.00715.99
7.0.190.0100.00315.42
7.0.180.0100.00315.36
7.0.170.0060.00615.36
7.0.160.0040.00715.33
7.0.150.0040.00715.43
7.0.140.0050.04318.79
7.0.130.0060.03618.72
7.0.120.0120.04318.54
7.0.110.0070.03818.63
7.0.100.0080.04218.69
7.0.90.0070.04218.69
7.0.80.0100.02718.61
7.0.70.0080.02818.68
7.0.60.0110.03218.79
7.0.50.0030.03718.53
7.0.40.0070.03517.65
7.0.30.0100.03017.81
7.0.20.0030.03717.72
7.0.10.0020.04917.62
7.0.00.0050.04717.76
5.6.400.0060.00614.17
5.6.390.0070.01014.41
5.6.380.0030.01214.02
5.6.370.0110.00314.12
5.6.360.0040.01414.27
5.6.350.0000.00914.04
5.6.340.0120.00814.17
5.6.330.0060.00914.56
5.6.320.0060.00914.32
5.6.310.0040.00414.32
5.6.300.0070.00714.15
5.6.290.0100.02717.64
5.6.280.0030.03517.70
5.6.270.0070.03417.58
5.6.260.0070.04117.55
5.6.250.0150.02817.80
5.6.240.0050.03417.72
5.6.230.0130.02617.64
5.6.220.0080.02817.54
5.6.210.0070.03517.49
5.6.200.0130.03217.54
5.6.190.0030.03817.70
5.6.180.0070.03917.81
5.6.170.0140.03017.76
5.6.160.0110.03017.67
5.6.150.0030.04417.72
5.6.140.0120.03217.42
5.6.130.0080.03817.72
5.6.120.0090.03517.65
5.6.110.0140.03417.73
5.6.100.0050.03717.73
5.6.90.0030.04717.57
5.6.80.0100.03817.22
5.6.70.0120.03517.31
5.6.60.0100.02817.33
5.6.50.0090.02717.19
5.6.40.0080.03017.28
5.6.30.0050.03517.33
5.6.20.0090.04517.25
5.6.10.0080.03817.30
5.6.00.0020.03317.37

preferences:
29.63 ms | 401 KiB | 5 Q