3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __destruct() { echo "destruct\n"; } } $f = new Foo; $f->__destruct();

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.5.30.0120.00620.25
8.5.20.0080.00920.17
8.5.10.0110.00818.46
8.5.00.0120.01019.83
8.4.180.0140.00919.55
8.4.170.0110.01119.54
8.4.160.0120.00919.74
8.4.150.0090.00416.84
8.4.140.0130.00917.58
8.4.130.0140.00817.61
8.4.120.0070.01120.52
8.4.110.0160.00422.59
8.4.100.0060.00317.63
8.4.90.0080.00918.52
8.4.80.0070.00218.57
8.4.70.0100.00924.14
8.4.60.0120.00818.84
8.4.50.0060.00218.66
8.4.40.0090.00619.43
8.4.30.0000.00920.27
8.4.20.0070.01417.72
8.4.10.0060.00320.44
8.3.300.0110.01019.89
8.3.290.0110.00918.19
8.3.280.0130.00720.81
8.3.270.0090.01016.74
8.3.260.0100.01016.55
8.3.250.0150.00418.81
8.3.240.0130.00617.19
8.3.230.0120.00816.48
8.3.220.0090.01018.79
8.3.210.0020.00716.65
8.3.200.0040.00516.63
8.3.190.0090.01018.76
8.3.180.0050.00418.34
8.3.170.0090.00920.42
8.3.160.0100.00318.28
8.3.150.0100.01016.59
8.3.140.0140.00417.20
8.3.130.0130.00718.32
8.3.120.0030.00620.85
8.3.110.0090.00018.16
8.3.100.0000.00916.39
8.3.90.0160.00326.77
8.3.80.0000.00816.38
8.3.70.0120.00316.58
8.3.60.0120.00316.38
8.3.50.0070.00718.54
8.3.40.0170.00319.04
8.3.30.0120.00318.84
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.300.0110.01117.82
8.2.290.0060.00320.27
8.2.280.0060.00218.25
8.2.270.0060.00316.97
8.2.260.0060.01216.59
8.2.250.0000.00816.44
8.2.240.0090.00017.29
8.2.230.0090.00020.94
8.2.220.0040.01124.06
8.2.210.0070.01126.77
8.2.200.0060.00318.41
8.2.190.0090.00616.63
8.2.180.0080.01125.92
8.2.170.0140.00019.00
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0090.00020.34
8.2.100.0080.00417.78
8.2.90.0090.00017.50
8.2.80.0030.00618.78
8.2.70.0060.00317.50
8.2.60.0030.00517.93
8.2.50.0000.00818.07
8.2.40.0030.00517.88
8.2.30.0000.00717.99
8.2.20.0000.00820.43
8.2.10.0040.00418.04
8.2.00.0000.00719.05
8.1.340.0090.01117.48
8.1.330.0120.00322.00
8.1.320.0100.00815.96
8.1.310.0070.01018.45
8.1.300.0050.00316.18
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0060.00318.92
8.1.230.0080.00417.70
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.22
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0110.00018.26
8.1.160.0040.00418.81
8.1.150.0040.00418.49
8.1.140.0000.00717.43
8.1.130.0050.00318.75
8.1.120.0070.00017.36
8.1.110.0000.00717.28
8.1.100.0040.00417.40
8.1.90.0040.00417.37
8.1.80.0030.00517.37
8.1.70.0040.00417.35
8.1.60.0000.00817.53
8.1.50.0030.00517.46
8.1.40.0140.01117.42
8.1.30.0210.00317.57
8.1.20.0230.00017.54
8.1.10.0130.01017.39
8.1.00.0110.01117.35
8.0.300.0030.00618.77
8.0.290.0000.00816.75
8.0.280.0050.00220.11
8.0.270.0000.00717.98
8.0.260.0000.00618.41
8.0.250.0000.00716.88
8.0.240.0080.00016.78
8.0.230.0070.00016.89
8.0.220.0040.00416.75
8.0.210.0030.00516.73
8.0.200.0000.00716.88
8.0.190.0000.00816.78
8.0.180.0000.00816.84
8.0.170.0140.00516.68
8.0.160.0110.00616.78
8.0.150.0070.01116.62
8.0.140.0030.00616.70
8.0.130.0090.00216.57
8.0.120.0100.00416.70
8.0.110.0140.00716.82
8.0.100.0100.00516.67
8.0.90.0080.00816.68
8.0.80.0130.00316.62
8.0.70.0120.00616.72
8.0.60.0060.00616.81
8.0.50.0040.00816.71
8.0.30.0110.00516.79
8.0.20.0160.00316.81
8.0.10.0110.00816.77
7.4.330.0050.00015.55
7.4.320.0000.00616.56
7.4.300.0030.00316.48
7.4.290.0000.00816.50
7.4.280.0200.00016.60
7.4.270.0110.00716.46
7.4.260.0130.00916.48
7.4.250.0050.00516.48
7.4.240.0180.00416.39
7.4.230.0090.00916.52
7.4.220.0060.01216.48
7.4.210.0120.00616.52
7.4.200.0170.00016.53
7.4.190.0040.00816.54
7.4.180.0080.00416.59
7.4.160.0070.00516.50
7.4.150.0100.00016.44
7.4.140.0050.00516.39
7.4.130.0070.00416.50
7.4.120.0120.00216.32
7.4.110.0150.00316.29
7.4.100.0110.00716.50
7.4.90.0120.00416.52
7.4.80.0140.00516.32
7.4.70.0170.00216.54
7.4.60.0160.00916.26
7.4.50.0190.00016.15
7.4.40.0140.00616.45
7.4.30.0150.00616.25
7.4.20.0110.00316.46
7.4.10.0000.00716.41
7.4.00.0030.00316.46

preferences:
45.69 ms | 1234 KiB | 5 Q