3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new stdClass; $y = new stdClass; $y->foo = $x->foo = new stdClass; $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.31
8.3.50.0130.00721.98
8.3.40.0040.01118.71
8.3.30.0070.00719.14
8.3.20.0070.00020.18
8.3.10.0000.00723.48
8.3.00.0000.00819.56
8.2.180.0090.01216.88
8.2.170.0070.01422.96
8.2.160.0100.00320.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0040.00419.36
8.2.110.0030.00622.23
8.2.100.0000.01117.59
8.2.90.0030.00519.09
8.2.80.0000.00917.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0090.00019.53
8.2.30.0000.00718.18
8.2.20.0040.00417.56
8.2.10.0040.00417.98
8.2.00.0050.00317.56
8.1.280.0120.00325.92
8.1.270.0030.00623.96
8.1.260.0040.01126.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0030.00718.95
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.11
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00518.52
8.1.160.0040.00421.91
8.1.150.0000.00718.52
8.1.140.0000.00917.39
8.1.130.0030.00317.84
8.1.120.0000.00717.45
8.1.110.0060.00317.41
8.1.100.0000.00717.28
8.1.90.0000.00717.28
8.1.80.0000.00717.41
8.1.70.0030.00317.38
8.1.60.0050.00317.54
8.1.50.0030.00517.34
8.1.40.0040.00417.43
8.1.30.0060.00317.57
8.1.20.0040.00417.58
8.1.10.0030.00517.49
8.1.00.0110.00017.39
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0050.00318.38
8.0.270.0030.00317.07
8.0.260.0060.00017.11
8.0.250.0030.00316.90
8.0.240.0000.00817.04
8.0.230.0000.00716.86
8.0.220.0070.00016.89
8.0.210.0050.00216.87
8.0.200.0060.00016.89
8.0.190.0000.00916.98
8.0.180.0030.00516.88
8.0.170.0000.00816.91
8.0.160.0030.00516.85
8.0.150.0050.00316.89
8.0.140.0050.00316.83
8.0.130.0030.00313.25
8.0.120.0030.00716.87
8.0.110.0000.00716.94
8.0.100.0040.00416.83
8.0.90.0070.00016.93
8.0.80.0040.01116.85
8.0.70.0030.00316.90
8.0.60.0040.00416.96
8.0.50.0050.00216.95
8.0.30.0090.01116.93
8.0.20.0140.00517.40
8.0.10.0040.00416.97
8.0.00.0100.00716.68
7.4.330.0030.00315.00
7.4.320.0030.00316.59
7.4.300.0060.00016.41
7.4.290.0070.00016.39
7.4.280.0080.00416.48
7.4.270.0000.00716.45
7.4.260.0030.00316.42
7.4.250.0030.00516.30
7.4.240.0020.00516.47
7.4.230.0070.00016.56
7.4.220.0110.01516.57
7.4.210.0090.00916.48
7.4.200.0070.00016.25
7.4.160.0030.01216.24
7.4.150.0060.01117.40
7.4.140.0100.00817.86
7.4.130.0130.00616.40
7.4.120.0110.01116.43
7.4.110.0110.01116.28
7.4.100.0160.00716.43
7.4.90.0040.01216.44
7.4.80.0090.01519.39
7.4.70.0060.01616.36
7.4.60.0090.01516.49
7.4.50.0080.00016.47
7.4.40.0060.01016.38
7.4.30.0170.00016.37
7.4.00.0100.00614.76
7.3.330.0000.00513.03
7.3.320.0000.00613.01
7.3.310.0030.00316.29
7.3.300.0000.00716.20
7.3.290.0060.01016.18
7.3.280.0090.00816.18
7.3.270.0090.00917.40
7.3.260.0160.00816.39
7.3.250.0150.00616.19
7.3.240.0110.01116.20
7.3.230.0080.00816.43
7.3.210.0090.00916.53
7.3.200.0080.00819.39
7.3.190.0030.01316.53
7.3.180.0130.00316.41
7.3.170.0070.01016.32
7.3.160.0090.00616.29
7.3.120.0070.00814.83
7.3.110.0070.01114.66
7.3.100.0130.00314.63
7.3.90.0060.00314.67
7.3.80.0000.01214.67
7.3.70.0000.00914.70
7.3.60.0040.01114.73
7.3.50.0110.00314.71
7.3.40.0000.01414.65
7.3.30.0030.01014.80
7.3.20.0060.00616.58
7.3.10.0030.01016.54
7.3.00.0080.00716.43
7.2.330.0100.01016.58
7.2.320.0110.01016.65
7.2.310.0080.00816.67
7.2.300.0100.00716.39
7.2.290.0100.00616.75
7.2.250.0070.00715.16
7.2.240.0060.01315.10
7.2.230.0060.00914.68
7.2.220.0060.00615.00
7.2.210.0070.00715.05
7.2.200.0090.00614.89
7.2.190.0040.01114.97
7.2.180.0100.00714.77
7.2.170.0000.01214.91
7.2.130.0140.00316.38
7.2.120.0000.01216.54
7.2.110.0090.00316.88
7.2.100.0100.00316.68
7.2.90.0060.00916.60
7.2.80.0100.00316.82
7.2.70.0060.00816.90
7.2.60.0000.01316.83
7.2.50.0030.00716.70
7.2.40.0060.00316.50
7.2.30.0000.01416.92
7.2.20.0090.00616.88
7.2.10.0070.00716.71
7.2.00.0030.01017.96
7.1.330.0040.01115.69
7.1.320.0070.00415.71
7.1.310.0050.00515.40
7.1.300.0000.01215.64
7.1.290.0030.01015.67
7.1.280.0060.00915.72
7.1.270.0080.00415.54
7.1.260.0070.00715.63
7.1.250.0090.00415.91
7.1.240.0070.00315.68
7.1.230.0050.00915.42
7.1.220.0060.00615.61
7.1.210.0030.01315.73
7.1.200.0090.00515.66
7.1.190.0030.00615.55
7.1.180.0040.01215.40
7.1.170.0110.00315.49
7.1.160.0140.00315.55
7.1.150.0040.01115.23
7.1.140.0110.00415.51
7.1.130.0040.00715.53
7.1.120.0040.00415.57
7.1.110.0090.00915.63
7.1.100.0020.00816.91
7.1.90.0060.00615.69
7.1.80.0000.01415.56
7.1.70.0040.00716.24
7.1.60.0060.01317.66
7.1.50.0020.01116.32
7.1.40.0040.01115.68
7.1.30.0060.01015.62
7.1.20.0000.01315.39
7.1.10.0110.00315.62
7.1.00.0030.04119.00
7.0.330.0100.00315.31
7.0.320.0080.00315.24
7.0.310.0030.01015.30
7.0.300.0070.00715.37
7.0.290.0040.00815.29
7.0.280.0030.00715.16
7.0.270.0050.00815.30
7.0.260.0140.00014.99
7.0.250.0080.00815.35
7.0.240.0030.01315.22
7.0.230.0030.01015.38
7.0.220.0000.00815.05
7.0.210.0000.00815.27
7.0.200.0050.00916.01
7.0.190.0000.01215.42
7.0.180.0070.00715.41
7.0.170.0090.00615.43
7.0.160.0000.01615.39
7.0.150.0080.00415.34
7.0.140.0020.04018.63
7.0.130.0070.01015.23
7.0.120.0030.01015.51
7.0.110.0080.03217.55
7.0.100.0050.03917.60
7.0.90.0050.04517.68
7.0.80.0120.03817.49
7.0.70.0050.04517.55
7.0.60.0110.05117.64
7.0.50.0070.02517.58
7.0.40.0120.03316.44
7.0.30.0020.02716.63
7.0.20.0050.04216.45
7.0.10.0080.02816.50
7.0.00.0070.03816.63
5.6.380.0070.01014.27
5.6.370.0000.01214.15
5.6.360.0090.00314.29
5.6.350.0090.00014.13
5.6.340.0120.00314.10
5.6.330.0100.00314.53
5.6.320.0120.00314.01
5.6.310.0040.01114.25
5.6.300.0090.00314.22
5.6.290.0030.00614.11
5.6.280.0050.04017.70
5.6.270.0030.00614.18
5.6.260.0030.03717.45
5.6.250.0110.04117.51
5.6.240.0120.04217.31
5.6.230.0110.02117.43
5.6.220.0160.03717.46
5.6.210.0100.02317.37
5.6.200.0080.04517.56
5.6.190.0030.03517.55
5.6.180.0030.02517.37
5.6.170.0000.04117.55
5.6.160.0080.04217.60
5.6.150.0070.04417.39
5.6.140.0100.04017.33
5.6.130.0050.03917.44
5.6.120.0070.03117.58
5.6.110.0060.02217.58
5.6.100.0120.03517.23
5.6.90.0080.02317.36
5.6.80.0050.03517.32
5.6.70.0040.02917.02
5.6.60.0050.03817.17
5.6.50.0100.03117.02
5.6.40.0100.03517.09
5.6.30.0100.03417.19
5.6.20.0130.03017.07
5.6.10.0030.03016.97
5.6.00.0060.04317.14
5.5.380.0070.02414.22
5.5.370.0070.04314.25
5.5.360.0070.03414.33
5.5.350.0100.04014.40
5.5.340.0030.04514.43
5.5.330.0020.03414.53
5.5.320.0070.03814.78
5.5.310.0000.04814.45
5.5.300.0060.03614.50
5.5.290.0080.04214.42
5.5.280.0070.03714.44
5.5.270.0070.03314.47
5.5.260.0060.03514.46
5.5.250.0080.02414.49
5.5.240.0070.04014.19
5.5.230.0030.02613.98
5.5.220.0080.03714.19
5.5.210.0080.04014.31
5.5.200.0070.03814.12
5.5.190.0080.03814.23
5.5.180.0070.04714.20
5.5.170.0030.00311.14
5.5.160.0100.03513.99
5.5.150.0050.02514.10
5.5.140.0110.03014.04
5.5.130.0050.04314.07
5.5.120.0050.02614.21
5.5.110.0050.04014.05
5.5.100.0020.04714.03
5.5.90.0070.04014.17
5.5.80.0050.04014.12
5.5.70.0110.03913.92
5.5.60.0050.03714.28
5.5.50.0050.04014.09
5.5.40.0090.03714.05
5.5.30.0020.04414.22
5.5.20.0050.03714.07
5.5.10.0070.04014.23
5.5.00.0030.03913.92
5.4.450.0080.03614.98
5.4.440.0030.02515.13
5.4.430.0050.02215.25
5.4.420.0020.02715.18
5.4.410.0050.03015.07
5.4.400.0080.04214.93
5.4.390.0070.03015.01
5.4.380.0070.02315.09
5.4.370.0080.03815.02
5.4.360.0080.03615.02
5.4.350.0050.04215.06
5.4.340.0100.03714.77
5.4.330.0000.01310.82
5.4.320.0050.03115.03
5.4.310.0030.04514.89
5.4.300.0060.04115.02
5.4.290.0050.03915.01
5.4.280.0080.04015.02
5.4.270.0080.03515.12
5.4.260.0070.03214.93
5.4.250.0030.04114.84
5.4.240.0080.03315.01
5.4.230.0100.03514.90
5.4.220.0110.04014.82
5.4.210.0050.03214.93
5.4.200.0060.02515.01
5.4.190.0060.03015.06
5.4.180.0030.03214.93
5.4.170.0100.02214.82
5.4.160.0080.03814.96
5.4.150.0020.02314.84
5.4.140.0030.04213.50
5.4.130.0050.03813.54
5.4.120.0050.03813.76
5.4.110.0020.02213.68
5.4.100.0040.02513.80
5.4.90.0020.04113.56
5.4.80.0050.02713.68
5.4.70.0050.04113.69
5.4.60.0060.03613.69
5.4.50.0050.02213.75
5.4.40.0060.02013.65
5.4.30.0030.03813.73
5.4.20.0090.03313.59
5.4.10.0100.01713.63
5.4.00.0060.02813.49
5.3.290.0050.02112.72
5.3.280.0110.03512.50
5.3.270.0070.04212.61
5.3.260.0050.04112.50
5.3.250.0070.02612.50
5.3.240.0030.02312.47
5.3.230.0050.03612.56
5.3.220.0070.03712.21
5.3.210.0040.02212.40
5.3.200.0050.03812.29
5.3.190.0050.04012.45
5.3.180.0070.03712.42
5.3.170.0090.03512.53
5.3.160.0050.03912.52
5.3.150.0030.03112.32
5.3.140.0020.04012.41
5.3.130.0050.03712.51
5.3.120.0030.04112.52
5.3.110.0060.04012.38
5.3.100.0030.02412.21
5.3.90.0050.04012.26
5.3.80.0060.04012.04
5.3.70.0080.03512.18
5.3.60.0070.03712.03
5.3.50.0080.03512.13
5.3.40.0070.03512.04
5.3.30.0020.03711.96
5.3.20.0070.03811.91
5.3.10.0100.02511.85
5.3.00.0050.02711.76
5.2.170.0030.03510.71
5.2.160.0060.01810.79
5.2.150.0050.03310.74
5.2.140.0020.02310.59
5.2.130.0050.03010.70
5.2.120.0060.02310.69
5.2.110.0050.01810.73
5.2.100.0080.03110.55
5.2.90.0060.03110.66
5.2.80.0080.02310.63
5.2.70.0030.01810.55
5.2.60.0070.03210.52
5.2.50.0000.03110.49
5.2.40.0020.02310.66
5.2.30.0020.03110.62
5.2.20.0030.01910.56
5.2.10.0010.03510.48
5.2.00.0030.03110.55
5.1.60.0020.03010.18
5.1.50.0030.02810.18
5.1.40.0050.03010.18
5.1.30.0020.02510.34
5.1.20.0020.01810.21
5.1.10.0030.03110.21
5.1.00.0010.03310.18
5.0.50.0020.02610.18
5.0.40.0000.01510.18
5.0.30.0030.01810.18
5.0.20.0020.02510.18
5.0.10.0070.01310.18
5.0.00.0020.03210.18
4.4.90.0020.02010.18
4.4.80.0000.02110.18
4.4.70.0000.02010.18
4.4.60.0020.01910.18
4.4.50.0040.01710.18
4.4.40.0000.02710.18
4.4.30.0000.01410.18
4.4.20.0030.01710.18
4.4.10.0020.01910.18
4.4.00.0050.01210.18
4.3.110.0010.01810.18
4.3.100.0020.01110.18
4.3.90.0000.01610.18
4.3.80.0030.02510.18
4.3.70.0020.02010.18
4.3.60.0030.01810.18
4.3.50.0020.02010.18
4.3.40.0050.02410.18
4.3.30.0030.01310.18
4.3.20.0030.01210.18
4.3.10.0050.01710.18
4.3.00.0020.02010.18

preferences:
46.02 ms | 401 KiB | 5 Q