3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h1 = spl_object_hash(new stdClass); // the obj is destroyed just after the call $h2 = spl_object_hash(new stdClass); // when the second obj is constructed, the first is destroyed already, so it could happen that the second one getr the same memory address internally var_dump($h1 === $h2);

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.0080.00618.43
8.3.50.0120.00721.82
8.3.40.0120.00318.64
8.3.30.0110.00419.10
8.3.20.0040.00420.18
8.3.10.0070.00022.10
8.3.00.0080.00022.44
8.2.180.0070.00716.75
8.2.170.0140.00322.96
8.2.160.0090.01220.78
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00019.48
8.2.110.0060.00322.25
8.2.100.0080.00417.66
8.2.90.0040.00420.67
8.2.80.0030.00619.14
8.2.70.0040.00419.64
8.2.60.0060.00317.68
8.2.50.0080.00018.10
8.2.40.0080.00020.59
8.2.30.0000.00817.93
8.2.20.0080.00017.53
8.2.10.0020.00517.63
8.2.00.0040.00417.69
8.1.280.0120.00925.92
8.1.270.0040.00422.19
8.1.260.0000.01026.35
8.1.250.0140.00028.09
8.1.240.0000.01022.33
8.1.230.0110.00022.75
8.1.220.0050.00317.79
8.1.210.0000.00918.77
8.1.200.0000.00817.35
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0000.00818.56
8.1.160.0000.00722.14
8.1.150.0060.00318.57
8.1.140.0080.00017.38
8.1.130.0070.00017.83
8.1.120.0050.00317.35
8.1.110.0000.00717.39
8.1.100.0050.00217.48
8.1.90.0040.00417.39
8.1.80.0030.00517.45
8.1.70.0070.00017.36
8.1.60.0000.00917.54
8.1.50.0000.00717.45
8.1.40.0040.00417.47
8.1.30.0090.00017.58
8.1.20.0030.00517.43
8.1.10.0040.00417.64
8.1.00.0040.00417.42
8.0.300.0000.00719.89
8.0.290.0000.00816.75
8.0.280.0030.00318.38
8.0.270.0030.00417.20
8.0.260.0030.00316.77
8.0.250.0030.00316.92
8.0.240.0000.00716.95
8.0.230.0000.00716.79
8.0.220.0040.00416.77
8.0.210.0000.00716.71
8.0.200.0040.00416.94
8.0.190.0060.00316.80
8.0.180.0070.00016.82
8.0.170.0050.00316.81
8.0.160.0030.00316.91
8.0.150.0070.00016.67
8.0.140.0000.00716.69
8.0.130.0000.00513.20
8.0.120.0080.00016.83
8.0.110.0000.00716.78
8.0.100.0040.00416.77
8.0.90.0070.00016.83
8.0.80.0070.00716.74
8.0.70.0000.00716.89
8.0.60.0040.00416.83
8.0.50.0040.00416.89
8.0.30.0110.00717.08
8.0.20.0110.00917.40
8.0.10.0070.00016.94
8.0.00.0130.00716.65
7.4.330.0020.00215.09
7.4.320.0000.00616.56
7.4.300.0000.00616.42
7.4.290.0000.00616.57
7.4.280.0070.00016.50
7.4.270.0070.00016.60
7.4.260.0070.00016.50
7.4.250.0050.00216.60
7.4.240.0060.00116.57
7.4.230.0000.00716.68
7.4.220.0150.00316.54
7.4.210.0050.01416.57
7.4.200.0030.00316.35
7.4.190.0000.00816.57
7.4.160.0090.00616.53
7.4.150.0000.01817.40
7.4.140.0100.00917.86
7.4.130.0070.01016.53
7.4.120.0080.01216.55
7.4.110.0360.01716.52
7.4.100.0030.01316.58
7.4.90.0170.00416.47
7.4.80.0060.01316.37
7.4.70.0080.00816.48
7.4.60.0130.00316.39
7.4.50.0030.00316.41
7.4.40.0030.01122.77
7.4.30.0060.01016.44
7.4.00.0050.01214.96
7.3.330.0000.00512.96
7.3.320.0000.00613.11
7.3.310.0030.00316.26
7.3.300.0040.00416.12
7.3.290.0030.01016.24
7.3.280.0110.00716.21
7.3.270.0170.00317.40
7.3.260.0130.01316.33
7.3.250.0130.00616.30
7.3.240.0060.01216.57
7.3.230.0100.00616.39
7.3.210.0030.01316.35
7.3.200.0120.00919.39
7.3.190.0170.00616.25
7.3.180.0080.00816.28
7.3.170.0060.00916.46
7.3.160.0100.01116.31
7.3.120.0070.01014.83
7.3.110.0120.00314.73
7.3.100.0080.00714.81
7.3.90.0000.01014.88
7.3.80.0060.00314.69
7.3.70.0070.00414.74
7.3.60.0050.00614.62
7.3.50.0030.01114.59
7.3.40.0080.00714.71
7.3.30.0060.00814.65
7.3.20.0050.01116.51
7.3.10.0060.01016.29
7.3.00.0070.00916.41
7.2.330.0070.01116.48
7.2.320.0130.00316.62
7.2.310.0130.01016.43
7.2.300.0080.00816.50
7.2.290.0060.01016.50
7.2.250.0050.01214.89
7.2.240.0060.01314.86
7.2.230.0070.01015.05
7.2.220.0070.00814.92
7.2.210.0030.00914.77
7.2.200.0030.00614.95
7.2.190.0040.01014.82
7.2.180.0070.01014.91
7.2.170.0040.01114.81
7.2.130.0210.00316.32
7.2.120.0220.00316.09
7.2.110.0110.01516.46
7.2.100.0130.01316.20
7.2.90.0210.00316.50
7.2.80.0140.01716.60
7.2.70.0120.01116.48
7.2.60.0180.00316.63
7.2.50.0120.01216.27
7.2.40.0150.00916.38
7.2.30.0160.01316.08
7.2.20.0140.01616.66
7.2.10.0110.00716.32
7.2.00.0180.00616.46
7.1.330.0030.01015.84
7.1.320.0040.00815.65
7.1.310.0080.00615.69
7.1.300.0050.00915.62
7.1.290.0090.00515.42
7.1.280.0080.00415.49
7.1.270.0050.00715.62
7.1.260.0040.00715.80
7.1.250.0100.01015.51
7.1.200.0090.00615.60
7.1.70.0000.00917.10
7.1.60.0060.01819.82
7.1.50.0030.00716.64
7.1.00.0030.07722.48
7.0.200.0080.00316.65
7.0.140.0000.07022.12
7.0.110.0130.07019.90
7.0.100.0270.07319.96
7.0.90.0230.07019.90
7.0.80.0030.09719.89
7.0.70.0130.08319.82
7.0.60.0030.08320.01
7.0.50.0100.08020.44
7.0.40.0070.09320.20
7.0.30.0200.07720.27
7.0.20.0130.03720.25
7.0.10.0070.07720.05
7.0.00.0030.06720.23
5.6.280.0030.07021.12
5.6.260.0100.04720.59
5.6.250.0070.07720.69
5.6.240.0030.08320.55
5.6.230.0170.06320.65
5.6.220.0070.07720.67
5.6.210.0130.07320.70
5.6.200.0100.05721.10
5.6.190.0130.07721.10
5.6.180.0100.08721.26
5.6.170.0030.08321.02
5.6.160.0070.08321.14
5.6.150.0100.04021.05
5.6.140.0200.07321.14
5.6.130.0100.08021.15
5.6.120.0070.08721.12
5.6.110.0130.08021.25
5.6.100.0170.04321.17
5.6.90.0100.04320.90
5.6.80.0070.07020.59
5.6.70.0000.04320.59
5.6.60.0030.04020.40
5.6.50.0030.04020.34
5.6.40.0070.04020.34
5.6.30.0130.03020.29
5.6.20.0070.03720.37
5.6.10.0030.04020.49
5.6.00.0000.04320.44
5.5.380.0100.07020.47
5.5.370.0070.08320.54
5.5.360.0030.08320.34
5.5.350.0070.08320.51
5.5.340.0100.07321.03
5.5.330.0130.07720.72
5.5.320.0100.08020.89
5.5.310.0030.05020.95
5.5.300.0070.08020.77
5.5.290.0170.07020.68
5.5.280.0130.05720.96
5.5.270.0070.05320.78
5.5.260.0170.08320.81
5.5.250.0100.04020.79
5.5.240.0030.04020.18
5.5.230.0100.03720.32
5.5.220.0030.04020.38
5.5.210.0030.04020.39
5.5.200.0130.03020.02
5.5.190.0000.04720.15
5.5.180.0030.04020.38
5.5.160.0030.04020.12
5.5.150.0100.04020.29
5.5.140.0070.03720.11
5.5.130.0070.03720.21
5.5.120.0030.05720.23
5.5.110.0100.04020.04
5.5.100.0000.04320.23
5.5.90.0070.03720.24
5.5.80.0000.04320.00
5.5.70.0000.04320.03
5.5.60.0000.05319.94
5.5.50.0000.04020.18
5.5.40.0100.03019.99
5.5.30.0070.05320.21
5.5.20.0000.04320.16
5.5.10.0100.03320.13
5.5.00.0030.04019.99
5.4.450.0030.08719.28
5.4.440.0070.07319.43
5.4.430.0030.07719.35
5.4.420.0070.05719.59
5.4.410.0030.04719.31
5.4.400.0070.03719.09
5.4.390.0030.04019.10
5.4.380.0030.03719.00
5.4.370.0000.04018.99
5.4.360.0070.03319.03
5.4.350.0030.03719.01
5.4.340.0030.06018.93
5.4.320.0030.03719.27
5.4.310.0100.05319.17
5.4.300.0030.04019.00
5.4.290.0030.03718.93
5.4.280.0100.03018.95
5.4.270.0030.04019.27
5.4.260.0070.04719.00
5.4.250.0030.03718.92
5.4.240.0000.04019.07
5.4.230.0070.04719.24
5.4.220.0030.08019.02
5.4.210.0070.05719.01
5.4.200.0100.05318.95
5.4.190.0070.03719.02
5.4.180.0030.08319.26
5.4.170.0070.07019.15
5.4.160.0070.03318.98
5.4.150.0070.03719.10
5.4.140.0000.04016.29
5.4.130.0030.03316.13
5.4.120.0070.03016.15
5.4.110.0000.04016.13
5.4.100.0000.06316.45
5.4.90.0000.03716.53
5.4.80.0030.07016.27
5.4.70.0070.03716.26
5.4.60.0100.03716.33
5.4.50.0000.07716.50
5.4.40.0030.07316.43
5.4.30.0130.03316.20
5.4.20.0100.06716.45
5.4.10.0100.07316.50
5.4.00.0000.06715.82
5.3.290.0100.03314.53
5.3.280.0030.04014.66
5.3.270.0070.03314.49
5.3.260.0030.04014.39
5.3.250.0000.04014.46
5.3.240.0030.03714.49
5.3.230.0030.05014.59
5.3.220.0030.03714.48
5.3.210.0000.04014.39
5.3.200.0070.03314.45
5.3.190.0030.03714.63
5.3.180.0100.03014.66
5.3.170.0000.04314.34
5.3.160.0030.07014.34
5.3.150.0100.06714.57
5.3.140.0070.05314.34
5.3.130.0100.06314.56
5.3.120.0030.05014.47
5.3.110.0070.08014.33
5.3.100.0130.05314.06
5.3.90.0100.07313.96
5.3.80.0030.06713.88
5.3.70.0070.06713.91
5.3.60.0100.07313.90
5.3.50.0130.06313.79
5.3.40.0200.06013.80
5.3.30.0030.08013.91
5.3.20.0070.05713.58
5.3.10.0130.06313.60
5.3.00.0030.08013.73
5.2.170.0030.06012.11
5.2.160.0000.07012.11
5.2.150.0030.05312.11
5.2.140.0000.04312.11
5.2.130.0070.05712.11
5.2.120.0000.06712.11
5.2.110.0030.06312.11
5.2.100.0100.06012.11
5.2.90.0000.06312.11
5.2.80.0100.03712.11
5.2.70.0070.05712.11
5.2.60.0030.06012.11
5.2.50.0100.05712.11
5.2.40.0100.05712.11
5.2.30.0000.06012.11
5.2.20.0070.04712.11
5.2.10.0030.05012.11
5.2.00.0030.03312.11
5.1.60.0100.05012.11
5.1.50.0030.05712.11
5.1.40.0000.05712.11
5.1.30.0030.05012.11
5.1.20.0070.05312.11
5.1.10.0070.04712.11
5.1.00.0070.04312.11
5.0.50.0030.03012.11
5.0.40.0000.03312.11
5.0.30.0030.04012.11
5.0.20.0000.04712.11
5.0.10.0030.03712.11
5.0.00.0030.06312.11
4.4.90.0000.03712.11
4.4.80.0000.02012.11
4.4.70.0070.03312.11
4.4.60.0030.03312.11
4.4.50.0030.03312.11
4.4.40.0100.04312.11
4.4.30.0000.03712.11
4.4.20.0070.03312.11
4.4.10.0000.03012.11
4.4.00.0000.05712.11
4.3.110.0000.02312.11
4.3.100.0000.03712.11
4.3.90.0100.02712.11
4.3.80.0030.05012.11
4.3.70.0000.02012.11
4.3.60.0100.02012.11
4.3.50.0030.03312.11
4.3.40.0000.05012.11
4.3.30.0070.03012.11
4.3.20.0000.03012.11
4.3.10.0000.03712.11
4.3.00.0000.02712.11

preferences:
42.3 ms | 401 KiB | 5 Q