3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ private $that; function __construct(){ $this->that = $this; } function __destruct(){ $this->that = null; echo "destruct\n"; } } $x = new Foo(); unset($x); 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.0080.00416.50
8.3.70.0190.00316.58
8.3.60.0040.01116.38
8.3.50.0140.00721.99
8.3.40.0090.00618.52
8.3.30.0070.00718.60
8.3.20.0040.00419.16
8.3.10.0080.00021.78
8.3.00.0080.00019.25
8.2.200.0000.01118.54
8.2.190.0070.00716.75
8.2.180.0140.00725.92
8.2.170.0070.00718.92
8.2.160.0070.00722.96
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0000.00817.96
8.2.120.0080.00026.35
8.2.110.0000.01022.20
8.2.100.0110.00019.38
8.2.90.0040.00418.03
8.2.80.0030.00618.03
8.2.70.0050.00318.04
8.2.60.0080.00018.22
8.2.50.0030.00618.10
8.2.40.0030.00620.32
8.2.30.0040.00419.18
8.2.20.0000.00717.86
8.2.10.0020.00517.97
8.2.00.0030.00517.55
8.1.290.0060.00330.84
8.1.280.0060.00925.92
8.1.270.0000.00721.91
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00720.49
8.1.230.0000.01120.91
8.1.220.0050.00318.97
8.1.210.0100.00318.77
8.1.200.0080.00317.22
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0050.00318.82
8.1.160.0000.00818.86
8.1.150.0000.00720.22
8.1.140.0050.00319.42
8.1.130.0040.00418.92
8.1.120.0000.00917.32
8.1.110.0090.00017.30
8.1.100.0000.00817.27
8.1.90.0070.00017.31
8.1.80.0040.00417.30
8.1.70.0030.00317.38
8.1.60.0040.00417.59
8.1.50.0000.00817.59
8.1.40.0050.00217.57
8.1.30.0000.00817.68
8.1.20.0050.00217.56
8.1.10.0040.00417.56
8.1.00.0030.00517.50
8.0.300.0040.00421.46
8.0.290.0000.00716.63
8.0.280.0040.00418.44
8.0.270.0040.00417.15
8.0.260.0020.00719.05
8.0.250.0030.00316.89
8.0.240.0000.00616.76
8.0.230.0040.00416.76
8.0.220.0070.00016.74
8.0.210.0040.00416.72
8.0.200.0050.00316.86
8.0.190.0070.00016.77
8.0.180.0050.00316.73
8.0.170.0040.00416.86
8.0.160.0000.00716.86
8.0.150.0030.00316.67
8.0.140.0040.00416.77
8.0.130.0050.00013.31
8.0.120.0090.00016.83
8.0.110.0040.00416.64
8.0.100.0000.00716.79
8.0.90.0040.00416.87
8.0.80.0060.00916.83
8.0.70.0050.00216.81
8.0.60.0050.00216.89
8.0.50.0040.00416.70
8.0.30.0080.00816.94
8.0.20.0130.00717.40
8.0.10.0000.00716.83
8.0.00.0110.00816.64
7.4.330.0020.00215.55
7.4.320.0000.00616.50
7.4.300.0030.00316.51
7.4.290.0000.00716.55
7.4.280.0110.00016.60
7.4.270.0030.00316.41
7.4.260.0050.00216.61
7.4.250.0030.00316.47
7.4.240.0000.00716.59
7.4.230.0030.00316.60
7.4.220.0070.01316.42
7.4.210.0090.00616.58
7.4.200.0000.00816.49
7.4.160.0050.01316.45
7.4.150.0040.01417.40
7.4.140.0060.01017.86
7.4.130.0070.01116.52
7.4.120.0090.00916.48
7.4.110.0030.01416.52
7.4.100.0080.00816.65
7.4.90.0100.00616.38
7.4.80.0130.00319.39
7.4.70.0090.01216.59
7.4.60.0150.00016.67
7.4.50.0070.00716.47
7.4.40.0070.01116.47
7.4.30.0060.00916.25
7.4.00.0080.00814.79
7.3.330.0070.00013.16
7.3.320.0030.00313.06
7.3.310.0040.00416.32
7.3.300.0030.00316.30
7.3.290.0000.00616.24
7.3.280.0090.00916.30
7.3.270.0140.00317.40
7.3.260.0140.00616.40
7.3.250.0120.00716.47
7.3.240.0030.01416.32
7.3.230.0110.00616.55
7.3.210.0100.00716.55
7.3.200.0130.00619.39
7.3.190.0100.01016.36
7.3.180.0110.00616.58
7.3.170.0030.01216.38
7.3.160.0060.00916.44
7.3.10.0030.00916.63
7.3.00.0040.00416.80
7.2.330.0140.00316.71
7.2.320.0080.01216.76
7.2.310.0130.00316.70
7.2.300.0060.01516.75
7.2.290.0060.01216.47
7.2.130.0100.01016.95
7.2.120.0130.00316.96
7.2.110.0070.00716.93
7.2.100.0030.01016.94
7.2.90.0100.00717.09
7.2.80.0090.00016.84
7.2.70.0070.01017.11
7.2.60.0230.00616.97
7.2.50.0110.00716.64
7.2.40.0100.00717.04
7.2.30.0060.00816.62
7.2.20.0070.00716.64
7.2.10.0100.01016.91
7.2.00.0000.01116.90
7.1.250.0000.01415.54
7.1.240.0000.00815.67
7.1.230.0030.01015.68
7.1.220.0080.00015.68
7.1.210.0030.00315.63
7.1.200.0030.01015.91
7.1.190.0030.00615.80
7.1.180.0040.00415.39
7.1.170.0040.00715.77
7.1.160.0090.00315.76
7.1.150.0110.00415.61
7.1.140.0130.00015.83
7.1.130.0030.00915.71
7.1.120.0070.00715.76
7.1.110.0000.01015.78
7.1.100.0070.00715.76
7.1.90.0080.00415.68
7.1.80.0000.00815.77
7.1.70.0030.00616.38
7.1.60.0090.00716.35
7.1.50.0090.00615.82
7.1.40.0040.00815.76
7.1.30.0070.00315.45
7.1.20.0060.00315.58
7.1.10.0040.00415.74
7.1.00.0050.03318.97
7.0.330.0080.00415.50
7.0.320.0070.00715.19
7.0.310.0140.00015.05
7.0.300.0080.00814.94
7.0.290.0070.00715.31
7.0.280.0030.00615.33
7.0.270.0000.01315.36
7.0.260.0080.00015.21
7.0.250.0080.00315.22
7.0.240.0130.00615.50
7.0.230.0120.00015.25
7.0.220.0040.00715.41
7.0.210.0030.00515.05
7.0.200.0060.00715.96
7.0.190.0090.00615.41
7.0.180.0000.01115.14
7.0.170.0000.00815.16
7.0.160.0000.01115.29
7.0.150.0030.00915.45
7.0.140.0070.03118.51
7.0.130.0050.03318.88
7.0.120.0050.03418.72
7.0.110.0000.04218.61
7.0.100.0070.03218.77
7.0.90.0040.03318.51
7.0.80.0050.03218.65
7.0.70.0060.03118.79
7.0.60.0100.02618.45
7.0.50.0080.03018.83
7.0.40.0050.02917.77
7.0.30.0050.03117.78
7.0.20.0110.02717.71
7.0.10.0020.03917.66
7.0.00.0060.02917.68
5.6.380.0030.00714.52
5.6.370.0000.01414.32
5.6.360.0090.00314.33
5.6.350.0120.00314.30
5.6.340.0040.01114.40
5.6.330.0000.00914.14
5.6.320.0000.01314.49
5.6.310.0000.01114.21
5.6.300.0040.00814.07
5.6.290.0080.02817.57
5.6.280.0050.03317.58
5.6.270.0070.02817.69
5.6.260.0050.03317.63
5.6.250.0060.03117.60
5.6.240.0030.03517.63
5.6.230.0030.03617.42
5.6.220.0060.03317.48
5.6.210.0050.03017.55
5.6.200.0070.03017.45
5.6.190.0050.03217.47
5.6.180.0080.03217.76
5.6.170.0070.03017.44
5.6.160.0050.03317.45
5.6.150.0080.02917.55
5.6.140.0060.03317.41
5.6.130.0060.03117.68
5.6.120.0080.03117.47
5.6.110.0040.03617.43
5.6.100.0040.03217.44
5.6.90.0020.03717.58
5.6.80.0030.03017.27
5.6.70.0100.02517.30
5.6.60.0060.03117.31
5.6.50.0040.03917.23
5.6.40.0080.03317.30
5.6.30.0050.03717.12
5.6.20.0030.03217.20
5.6.10.0100.04017.36
5.6.00.0100.03817.27

preferences:
31.54 ms | 401 KiB | 5 Q