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; var_dump($y); $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.60.0090.00618.18
8.3.50.0130.00621.98
8.3.40.0110.01118.70
8.3.30.0120.00318.80
8.3.20.0040.00420.29
8.3.10.0040.00423.48
8.3.00.0060.00319.54
8.2.180.0130.00716.50
8.2.170.0040.01122.96
8.2.160.0000.01420.28
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01526.16
8.2.120.0150.00019.23
8.2.110.0040.00722.13
8.2.100.0080.00417.47
8.2.90.0000.00719.22
8.2.80.0090.00017.97
8.2.70.0040.00417.25
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0000.00919.40
8.2.30.0030.00318.22
8.2.20.0040.00417.67
8.2.10.0040.00417.92
8.2.00.0040.00417.70
8.1.280.0120.00325.92
8.1.270.0150.00423.89
8.1.260.0040.00426.35
8.1.250.0060.01228.09
8.1.240.0060.00323.87
8.1.230.0070.00419.06
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00518.62
8.1.160.0000.00721.96
8.1.150.0000.00718.53
8.1.140.0040.00417.31
8.1.130.0000.00717.78
8.1.120.0040.00317.42
8.1.110.0000.01117.47
8.1.100.0000.00817.38
8.1.90.0070.00017.30
8.1.80.0050.00317.43
8.1.70.0030.00317.37
8.1.60.0000.00817.50
8.1.50.0030.00617.52
8.1.40.0040.00417.52
8.1.30.0000.00817.51
8.1.20.0040.00417.65
8.1.10.0030.00617.51
8.1.00.0070.00317.48
8.0.300.0070.00018.77
8.0.290.0020.00516.75
8.0.280.0040.00418.27
8.0.270.0030.00317.26
8.0.260.0000.00717.13
8.0.250.0040.00417.02
8.0.240.0030.00317.02
8.0.230.0000.00716.92
8.0.220.0000.00816.93
8.0.210.0030.00616.87
8.0.200.0000.00617.01
8.0.190.0000.00816.95
8.0.180.0000.00816.92
8.0.170.0030.00616.97
8.0.160.0080.00016.91
8.0.150.0000.00716.89
8.0.140.0070.00316.81
8.0.130.0050.00013.27
8.0.120.0000.00816.88
8.0.110.0040.00416.88
8.0.100.0050.00216.85
8.0.90.0070.00016.95
8.0.80.0170.00316.89
8.0.70.0000.00716.74
8.0.60.0040.00416.81
8.0.50.0000.00716.86
8.0.30.0140.00716.87
8.0.20.0080.01317.40
8.0.10.0040.00416.99
8.0.00.0060.01116.83
7.4.330.0000.00815.00
7.4.320.0030.00316.45
7.4.300.0060.00016.48
7.4.290.0000.00716.60
7.4.280.0030.00716.55
7.4.270.0040.00416.36
7.4.260.0060.00316.35
7.4.250.0070.00016.52
7.4.240.0040.00416.51
7.4.230.0070.00016.53
7.4.220.0060.01116.58
7.4.210.0030.01016.51
7.4.200.0070.00016.51
7.4.160.0110.00416.50
7.4.150.0070.01117.40
7.4.140.0110.00917.86
7.4.130.0110.00616.53
7.4.120.0070.01216.49
7.4.110.0130.00716.50
7.4.100.0090.00916.50
7.4.90.0130.00416.32
7.4.80.0150.00819.39
7.4.70.0040.01816.50
7.4.60.0120.00716.29
7.4.50.0040.00416.43
7.4.40.0080.00816.46
7.4.30.0180.00016.44
7.4.00.0000.01114.88
7.3.330.0030.00313.15
7.3.320.0030.00313.07
7.3.310.0030.00316.29
7.3.300.0000.00716.09
7.3.290.0100.01016.40
7.3.280.0090.01016.23
7.3.270.0090.00917.40
7.3.260.0160.00816.18
7.3.250.0150.00816.38
7.3.240.0080.01616.45
7.3.230.0120.00416.39
7.3.210.0130.00316.25
7.3.200.0110.00619.39
7.3.190.0130.00316.48
7.3.180.0130.00316.37
7.3.170.0060.01016.28
7.3.160.0030.01716.32
7.3.120.0070.01014.99
7.2.330.0160.00616.85
7.2.320.0120.00616.69
7.2.310.0090.00816.68
7.2.300.0090.00616.57
7.2.290.0060.01016.74
7.2.60.0140.01816.29
7.2.00.0000.01219.04
7.1.200.0120.00415.62
7.1.100.0060.00318.27
7.1.70.0000.00716.96
7.1.60.0070.01719.70
7.1.50.0060.01216.53
7.1.00.0000.07722.31
7.0.200.0260.00914.76
7.0.140.0000.07721.94
7.0.60.0070.08719.92
7.0.50.0070.08317.91
7.0.40.0070.08720.21
7.0.30.0430.07320.23
7.0.20.0300.06020.01
7.0.10.0070.05020.09
7.0.00.0030.06320.04
5.6.280.0030.07320.92
5.6.210.0030.04720.68
5.6.200.0130.07718.20
5.6.190.0200.06020.32
5.6.180.4500.04320.67
5.6.170.0370.04020.47
5.6.160.0100.08320.61
5.6.150.0070.04318.09
5.6.140.0100.07018.20
5.6.130.0030.04018.11
5.6.120.0030.04320.96
5.6.110.0030.09021.02
5.6.100.0070.04020.95
5.6.90.0070.08321.00
5.6.80.0030.08320.50
5.6.70.4370.04320.36
5.5.350.0100.07320.40
5.5.340.0030.04317.92
5.5.330.0000.04720.25
5.5.320.0200.03720.27
5.5.310.0170.04320.12
5.5.300.0030.03717.88
5.5.290.0030.09018.03
5.5.280.0100.08020.98
5.5.270.0030.04720.76
5.5.260.0030.05320.64
5.5.250.0100.05320.56
5.5.240.0230.08020.07
5.4.450.0300.07019.41
5.4.440.0370.06719.57
5.4.430.0330.07019.41
5.4.420.0230.04019.13
5.4.410.0370.05019.44
5.4.400.0430.04319.07
5.4.390.0300.07319.09
5.4.380.0330.04718.93
5.4.370.0270.06719.21
5.4.360.0270.08019.13
5.4.350.0230.05719.10
5.4.340.0300.06019.24
5.4.320.0370.06019.18
5.4.310.0270.04019.13
5.4.300.0270.06719.16
5.4.290.0300.04319.16
5.4.280.0330.06718.92
5.4.270.0230.04719.23
5.4.260.0270.05718.88
5.4.250.0370.06319.23
5.4.240.0270.07319.17
5.4.230.0370.06318.87
5.4.220.0270.06319.12
5.4.210.0370.06318.92
5.4.200.0400.05719.21
5.4.190.0270.05019.20
5.4.180.0230.06018.91
5.4.170.0300.06719.08
5.4.160.0230.03718.79
5.4.150.0230.04319.06
5.4.140.0230.04716.50
5.4.130.0230.03716.44
5.4.120.0300.04316.50
5.4.110.0330.06316.06
5.4.100.0230.04316.47
5.4.90.0330.06316.39
5.4.80.0300.07016.44
5.4.70.0300.04716.29
5.4.60.0230.04316.45
5.4.50.0370.06316.39
5.4.40.0300.05716.40
5.4.30.0330.04316.00
5.4.20.0330.06716.20
5.4.10.0300.05716.42
5.4.00.0370.04315.79
5.3.290.0270.07014.54
5.3.280.0270.04014.43
5.3.270.0230.07314.44
5.3.260.0270.03714.46
5.3.250.0370.06314.46
5.3.240.0300.03714.55
5.3.230.0270.03314.50
5.3.220.0300.03714.41
5.3.210.0270.06014.43
5.3.200.0430.05314.43
5.3.190.0300.05014.43
5.3.180.0230.04314.41
5.3.170.0400.05714.52
5.3.160.0330.06714.51
5.3.150.0300.07014.47
5.3.140.0330.06314.40
5.3.130.0270.04714.64
5.3.120.0330.04014.39
5.3.110.0300.06714.41
5.3.100.0370.07013.89
5.3.90.0330.04713.86
5.3.80.0270.06713.90
5.3.70.0300.04013.98
5.3.60.0300.06714.09
5.3.50.0300.07013.89
5.3.40.0400.06313.97
5.3.30.0270.07013.71
5.3.20.0270.05713.64
5.3.10.0270.03313.61
5.3.00.0270.04713.73
5.2.170.0300.05012.25
5.2.160.0230.04312.25
5.2.150.0200.03012.25
5.2.140.0230.04012.25
5.2.130.0200.03312.25
5.2.120.0230.03012.25
5.2.110.0300.04712.25
5.2.100.0170.03312.25
5.2.90.0330.04712.25
5.2.80.0330.03712.25
5.2.70.0230.04012.25
5.2.60.0300.04012.25
5.2.50.0330.04012.25
5.2.40.0230.05312.25
5.2.30.0230.04712.25
5.2.20.0230.05712.25
5.2.10.0170.03712.25
5.2.00.0170.04012.25
5.1.60.0200.05312.25
5.1.50.0270.03712.25
5.1.40.0230.05012.25
5.1.30.0200.04012.25
5.1.20.0270.05012.25
5.1.10.0200.05312.25
5.1.00.0200.05312.25
5.0.50.0170.02712.25
5.0.40.0130.04012.25
5.0.30.0200.04312.25
5.0.20.0130.04012.25
5.0.10.0170.04012.25
5.0.00.0100.06312.25
4.4.90.0130.01712.25
4.4.80.0070.02712.25
4.4.70.0130.03012.25
4.4.60.0100.03312.25
4.4.50.0100.02012.25
4.4.40.0070.05312.25
4.4.30.0100.03012.25
4.4.20.0070.02012.25
4.4.10.0100.03712.25
4.4.00.0130.04012.25
4.3.110.0100.03012.25
4.3.100.0070.02712.25
4.3.90.0070.03012.25
4.3.80.0130.02712.25
4.3.70.0130.03012.25
4.3.60.0100.02012.25
4.3.50.0130.02712.25
4.3.40.0130.05312.25
4.3.30.0070.03712.25
4.3.20.0030.03312.25
4.3.10.0030.03712.25
4.3.00.0030.02712.25

preferences:
45.63 ms | 401 KiB | 5 Q