3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new stdClass; $y = new stdClass; $y->foo = $x->foo = new stdClass; $x->foo->bar = 2; $xSer = serialize($x); $ySer = serialize($y); $x = unserialize($xSer); $y = unserialize($ySer); $x->foo->bar = 5; var_dump($y);

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.40.0150.00018.71
8.3.30.0070.00719.09
8.3.20.0120.00620.34
8.3.10.0110.00723.56
8.3.00.0050.00319.56
8.2.170.0150.00022.96
8.2.160.0160.00020.40
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0180.00026.16
8.2.120.0150.00019.23
8.2.110.0060.00322.20
8.2.100.0040.00717.59
8.2.90.0040.00419.23
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0060.00318.04
8.2.50.0030.00618.07
8.2.40.0030.00619.28
8.2.30.0000.00718.20
8.2.20.0000.00817.60
8.2.10.0000.00817.86
8.2.00.0050.00217.67
8.1.270.0030.00724.01
8.1.260.0060.00326.35
8.1.250.0070.01028.09
8.1.240.0110.00023.70
8.1.230.0070.00320.96
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0030.00517.00
8.1.180.0000.00818.10
8.1.170.0050.00318.59
8.1.160.0000.00721.87
8.1.150.0040.00418.48
8.1.140.0050.00317.40
8.1.130.0030.00317.70
8.1.120.0080.00017.47
8.1.110.0070.00317.42
8.1.100.0040.00417.38
8.1.90.0000.00717.43
8.1.80.0000.00717.31
8.1.70.0000.00717.35
8.1.60.0060.00317.50
8.1.50.0040.00417.35
8.1.40.0000.00817.47
8.1.30.0000.00817.60
8.1.20.0000.00817.48
8.1.10.0000.00717.48
8.1.00.0070.00417.41
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0070.00018.27
8.0.270.0000.00817.10
8.0.260.0000.00817.24
8.0.250.0040.00416.84
8.0.240.0030.00316.84
8.0.230.0000.00716.95
8.0.220.0000.00716.95
8.0.210.0000.00816.88
8.0.200.0030.00317.00
8.0.190.0030.00516.93
8.0.180.0050.00316.88
8.0.170.0040.00416.87
8.0.160.0040.00416.77
8.0.150.0070.00016.75
8.0.140.0070.00316.90
8.0.130.0050.00013.36
8.0.120.0000.00716.75
8.0.110.0040.00416.90
8.0.100.0030.00316.92
8.0.90.0040.00416.79
8.0.80.0100.00616.84
8.0.70.0000.00716.95
8.0.60.0000.00716.78
8.0.50.0080.00016.78
8.0.30.0100.00917.06
8.0.20.0140.00617.40
8.0.10.0040.00417.07
8.0.00.0050.01216.83
7.4.330.0060.00015.00
7.4.320.0030.00316.45
7.4.300.0040.00416.53
7.4.290.0030.00316.54
7.4.280.0040.00716.57
7.4.270.0040.00416.36
7.4.260.0030.00316.45
7.4.250.0000.00716.39
7.4.240.0070.00016.50
7.4.230.0030.00316.38
7.4.220.0110.00816.57
7.4.210.0120.00316.49
7.4.200.0070.00016.53
7.4.160.0120.00616.54
7.4.150.0140.00517.40
7.4.140.0090.00817.86
7.4.130.0100.00816.54
7.4.120.0120.00516.36
7.4.110.0150.00916.39
7.4.100.0100.01316.55
7.4.90.0200.00616.44
7.4.80.0160.00619.39
7.4.70.0190.00416.57
7.4.60.0110.01116.34
7.4.50.0060.00316.33
7.4.40.0050.01116.32
7.4.30.0110.00616.55
7.4.10.0170.00314.89
7.4.00.0080.00814.83
7.3.330.0060.00012.95
7.3.320.0050.00013.07
7.3.310.0030.00316.26
7.3.300.0070.00016.23
7.3.290.0070.00716.32
7.3.280.0060.01116.20
7.3.270.0070.01117.40
7.3.260.0130.01016.24
7.3.250.0060.01216.39
7.3.240.0140.00316.38
7.3.230.0000.01616.39
7.3.210.0030.01516.34
7.3.200.0100.00719.39
7.3.190.0060.00916.26
7.3.180.0130.00316.50
7.3.170.0030.01316.43
7.3.160.0090.00616.33
7.3.130.0100.00714.69
7.3.120.0050.01114.80
7.3.110.0110.00814.84
7.3.100.0100.00614.77
7.3.90.0060.00514.82
7.3.80.0060.00814.83
7.3.70.0050.00714.53
7.3.60.0070.00514.75
7.3.50.0050.00714.84
7.3.40.0070.00714.63
7.3.30.0020.00914.87
7.3.20.0030.00816.69
7.3.10.0080.00516.64
7.3.00.0050.01016.44
7.2.330.0140.00916.47
7.2.320.0060.01216.54
7.2.310.0060.01216.32
7.2.300.0130.00316.46
7.2.290.0130.00316.66
7.2.260.0070.01114.90
7.2.250.0090.00915.06
7.2.240.0100.00614.73
7.2.230.0080.00614.62
7.2.220.0110.00315.00
7.2.210.0040.00914.91
7.2.200.0030.00815.08
7.2.190.0030.01014.89
7.2.180.0100.00314.92
7.2.170.0080.00515.05
7.2.160.0050.00514.78
7.2.150.0070.00816.56
7.2.140.0050.00816.85
7.2.130.0080.00816.96
7.2.120.0050.00916.90
7.2.110.0070.00716.87
7.2.100.0060.00516.77
7.2.90.0070.00916.87
7.2.80.0080.00616.70
7.2.70.0080.00716.79
7.2.60.0050.00916.93
7.2.50.0090.00216.80
7.2.40.0090.00516.77
7.2.30.0020.01216.88
7.2.20.0050.01016.93
7.2.10.0050.00616.62
7.2.00.0040.01017.67
7.1.330.0090.00815.73
7.1.320.0030.01015.89
7.1.310.0090.00515.57
7.1.300.0060.00715.69
7.1.290.0070.00415.76
7.1.280.0070.00715.49
7.1.270.0020.00915.63
7.1.260.0050.00715.68
7.1.250.0030.00915.62
7.1.240.0050.00715.79
7.1.230.0040.00615.71
7.1.220.0050.00715.82
7.1.210.0060.00915.70
7.1.200.0070.00615.69
7.1.190.0060.00615.69
7.1.180.0060.00815.58
7.1.170.0050.00815.80
7.1.160.0030.00915.76
7.1.150.0030.01215.69
7.1.140.0020.01215.71
7.1.130.0050.00815.81
7.1.120.0030.00915.53
7.1.110.0100.00515.74
7.1.100.0030.00816.42
7.1.90.0030.00815.76
7.1.80.0030.00615.70
7.1.70.0050.00616.20
7.1.60.0030.01216.97
7.1.50.0060.00816.21
7.1.40.0090.00615.59
7.1.30.0080.00615.72
7.1.20.0050.00815.42
7.1.10.0020.01115.77
7.1.00.0040.03217.75
7.0.330.0080.00815.30
7.0.320.0050.00815.27
7.0.310.0000.01315.36
7.0.300.0080.00715.46
7.0.290.0050.00615.27
7.0.280.0090.00615.31
7.0.270.0060.00815.34
7.0.260.0030.00815.36
7.0.250.0080.00415.46
7.0.240.0050.00615.41
7.0.230.0050.01115.44
7.0.220.0040.00915.43
7.0.210.0030.01015.35
7.0.200.0080.00815.07
7.0.190.0090.00515.32
7.0.180.0050.00915.30
7.0.170.0060.00415.43
7.0.160.0050.00815.44
7.0.150.0030.01015.31
7.0.140.0040.02817.49
7.0.130.0060.00515.37
7.0.120.0060.00615.33
7.0.110.0040.00715.29
7.0.100.0060.00615.41
7.0.90.0090.00315.13
7.0.80.0040.00915.38
7.0.70.0080.00315.44
7.0.60.0040.03016.93
7.0.50.0080.01816.15
7.0.40.0110.02415.58
7.0.30.0210.03115.62
7.0.20.0180.02915.61
7.0.10.0030.03515.60
7.0.00.0040.01815.66
5.6.400.0060.00614.36
5.6.390.0020.01214.62
5.6.380.0070.01014.53
5.6.370.0050.01314.39
5.6.360.0070.00514.22
5.6.350.0060.00614.27
5.6.340.0060.00714.29
5.6.330.0070.00714.62
5.6.320.0030.01014.33
5.6.310.0080.00714.46
5.6.300.0080.00114.47
5.6.290.0050.00714.43
5.6.280.0040.03116.56
5.6.270.0040.00614.33
5.6.260.0080.00714.30
5.6.250.0070.00414.38
5.6.240.0060.00514.52
5.6.230.0050.00514.34
5.6.220.0050.01014.46
5.6.210.0050.03316.55
5.6.200.0070.02015.76
5.6.190.0030.03216.38
5.6.180.0790.02016.52
5.6.170.0120.03216.29
5.6.160.0070.03116.38
5.6.150.0050.03315.81
5.6.140.0100.02915.53
5.6.130.0050.03115.58
5.6.120.0040.03316.55
5.6.110.0060.03516.61
5.6.100.0080.03116.60
5.6.90.0070.03116.63
5.6.80.0070.02916.36
5.6.70.1510.01816.30
5.6.60.0020.01114.47
5.6.50.0100.00614.37
5.6.40.0090.00314.30
5.6.30.0040.00814.29
5.6.20.0070.00514.35
5.6.10.0050.01014.17
5.6.00.0080.00314.24
5.5.380.0020.00714.29
5.5.370.0040.00814.26
5.5.360.0090.00614.25
5.5.350.0050.03316.30
5.5.340.0040.02615.53
5.5.330.0020.03416.34
5.5.320.0070.02816.24
5.5.310.0110.02216.44
5.5.300.0080.02815.55
5.5.290.0040.03415.56
5.5.280.0080.02816.66
5.5.270.0080.03316.43
5.5.260.0040.03716.48
5.5.250.0090.03016.29
5.5.240.0170.02616.19
5.5.230.0070.00714.31
5.5.220.0090.00514.23
5.5.210.0070.00514.13
5.5.200.0100.00314.21
5.5.190.0070.00714.06
5.5.180.0000.01614.32
5.5.170.0050.01214.16
5.5.160.0040.01014.16
5.5.150.0090.00514.09
5.5.140.0090.00814.12
5.5.130.0080.00814.34
5.5.120.0030.00914.33
5.5.110.0050.01014.29
5.5.100.0100.00414.02
5.5.90.0070.00514.17
5.5.80.0060.00514.11
5.5.70.0050.00813.94
5.5.60.0060.00614.11
5.5.50.0050.00914.03
5.5.40.0070.00714.34
5.5.30.0050.00514.24
5.5.20.0050.00814.32
5.5.10.0050.01014.53
5.5.00.0060.00814.10
5.4.450.0180.01722.86
5.4.440.0070.02222.86
5.4.430.0140.01922.86
5.4.420.0090.02022.82
5.4.410.0160.01722.82
5.4.400.0090.01622.82
5.4.390.0180.01522.82
5.4.380.0100.02114.44
5.4.370.0050.02214.45
5.4.360.0040.02314.43
5.4.350.0080.02814.39
5.4.340.0070.02214.45
5.4.330.0070.00312.34
5.4.320.0060.01412.38
5.4.310.0070.02012.38
5.4.300.0050.01612.38
5.4.290.0060.02012.38
5.4.280.0060.01412.34
5.4.270.0060.01512.34
5.4.260.0030.01812.34
5.4.250.0020.01812.34
5.4.240.0060.01812.34
5.4.230.0070.01712.34
5.4.220.0050.01812.34
5.4.210.0040.01512.34
5.4.200.0020.01812.34
5.4.190.0070.01512.34
5.4.180.0030.01612.34
5.4.170.0070.01412.34
5.4.160.0020.01712.34
5.4.150.0040.01712.34
5.4.140.0070.01512.23
5.4.130.0050.01712.23
5.4.120.0060.01712.22
5.4.110.0050.01612.22
5.4.100.0050.01612.21
5.4.90.0080.01412.21
5.4.80.0070.01512.21
5.4.70.0050.01512.21
5.4.60.0050.01512.21
5.4.50.0040.01812.22
5.4.40.0060.01412.21
5.4.30.0070.01412.21
5.4.20.0040.01612.21
5.4.10.0020.01712.21
5.4.00.0030.01812.04
5.3.290.0040.01612.49
5.3.280.0030.01812.46
5.3.270.0070.01412.47
5.3.260.0050.01512.46
5.3.250.0050.01612.46
5.3.240.0070.01812.47
5.3.230.0060.01712.46
5.3.220.0050.01612.45
5.3.210.0040.01612.45
5.3.200.0020.01812.45
5.3.190.0040.01712.45
5.3.180.0050.01612.45
5.3.170.0040.01712.45
5.3.160.0030.01712.45
5.3.150.0030.02012.45
5.3.140.0060.01412.45
5.3.130.0030.01912.45
5.3.120.0030.01712.44
5.3.110.0060.01912.44
5.3.100.0060.01612.26
5.3.90.0060.01612.25
5.3.80.0050.01512.25
5.3.70.0040.01712.25
5.3.60.0050.01612.25
5.3.50.0030.01812.22
5.3.40.0040.01612.22
5.3.30.0040.01612.21
5.3.20.0040.01512.13
5.3.10.0030.01612.13
5.3.00.0040.01712.12
5.2.170.0060.0299.18
5.2.160.0060.0339.19
5.2.150.0080.0349.18
5.2.140.0040.0319.18
5.2.130.0050.0379.14
5.2.120.0100.0279.14
5.2.110.0060.0289.15
5.2.100.0070.0269.14
5.2.90.0030.0319.14
5.2.80.0030.0319.14
5.2.70.0040.0349.14
5.2.60.0040.0309.09
5.2.50.0020.0369.06
5.2.40.0050.0309.03
5.2.30.0060.0299.01
5.2.20.0070.0359.00
5.2.10.0050.0418.92
5.2.00.0040.0338.78
5.1.60.0030.0258.07
5.1.50.0050.0248.06
5.1.40.0050.0258.04
5.1.30.0070.0248.39
5.1.20.0060.0268.41
5.1.10.0030.0288.14
5.1.00.0030.0278.14
5.0.50.0040.0216.62
5.0.40.0060.0186.48
5.0.30.0030.0326.30
5.0.20.0020.0226.27
5.0.10.0050.0226.24
5.0.00.0050.0306.23
4.4.90.0070.0194.78
4.4.80.0060.0154.75
4.4.70.0020.0184.75
4.4.60.0060.0164.76
4.4.50.0060.0204.77
4.4.40.0030.0284.71
4.4.30.0010.0184.76
4.4.20.0050.0144.84
4.4.10.0020.0174.84
4.4.00.0030.0314.76
4.3.110.0050.0244.67
4.3.100.0050.0154.66
4.3.90.0040.0144.63
4.3.80.0050.0224.58
4.3.70.0020.0154.63
4.3.60.0040.0144.63
4.3.50.0040.0154.63
4.3.40.0040.0264.54
4.3.30.0010.0173.29
4.3.20.0000.0193.26
4.3.10.0020.0203.22
4.3.00.0030.01743.77

preferences:
42.55 ms | 400 KiB | 5 Q