3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o1 = new StdClass(); debug_zval_dump($o1); $o2 = $o1; debug_zval_dump($o1); debug_zval_dump($o1, $o2); $o2 = &$o1; debug_zval_dump($o1, $o2);

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.4.10.0030.00517.38
8.3.140.0090.00918.05
8.3.130.0120.00418.46
8.3.120.0150.00018.65
8.3.110.0050.00320.94
8.3.100.0030.00624.06
8.3.90.0120.00626.77
8.3.80.0000.00917.97
8.3.70.0060.00918.18
8.3.60.0070.01316.50
8.3.50.0120.01021.14
8.3.40.0140.00318.32
8.3.30.0070.00718.92
8.3.20.0040.00420.38
8.3.10.0000.00821.69
8.3.00.0040.00417.37
8.2.260.0130.00618.64
8.2.250.0060.00316.59
8.2.240.0100.00017.28
8.2.230.0000.00822.58
8.2.220.0100.00637.54
8.2.210.0040.00426.77
8.2.200.0090.00016.63
8.2.190.0180.00016.58
8.2.180.0140.00318.29
8.2.170.0160.00022.96
8.2.160.0110.00420.51
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00321.02
8.2.110.0070.00421.03
8.2.100.0090.00317.63
8.2.90.0000.00718.94
8.2.80.0030.00617.97
8.2.70.0000.01017.50
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00519.76
8.2.30.0040.00417.86
8.2.20.0000.00817.49
8.2.10.0020.00517.98
8.2.00.0080.00017.97
8.1.310.0100.01018.17
8.1.300.0090.00618.37
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0140.00020.26
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0060.00319.44
8.1.230.0000.01017.64
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00717.00
8.1.190.0090.00016.98
8.1.180.0000.00718.10
8.1.170.0050.00318.50
8.1.160.0000.00721.99
8.1.150.0040.00418.87
8.1.140.0000.00717.34
8.1.130.0000.00817.62
8.1.120.0000.00817.41
8.1.110.0030.00517.32
8.1.100.0000.00717.29
8.1.90.0040.00417.40
8.1.80.0070.00017.40
8.1.70.0030.00617.33
8.1.60.0060.00317.39
8.1.50.0030.00517.29
8.1.40.0090.00017.33
8.1.30.0060.00317.47
8.1.20.0060.00317.62
8.1.10.0030.00617.54
8.1.00.0060.00317.43
8.0.300.0030.00519.21
8.0.290.0060.00316.58
8.0.280.0030.00318.42
8.0.270.0020.00516.77
8.0.260.0030.00317.18
8.0.250.0030.00716.78
8.0.240.0040.00416.76
8.0.230.0000.00716.93
8.0.220.0040.00416.83
8.0.210.0000.00716.83
8.0.200.0070.00316.96
8.0.190.0040.00716.91
8.0.180.0040.00416.83
8.0.170.0070.00316.76
8.0.160.0000.00816.79
8.0.150.0030.00616.65
8.0.140.0060.00316.67
8.0.130.0000.00713.18
8.0.120.0040.00416.78
8.0.110.0040.00416.86
8.0.100.0030.00316.82
8.0.90.0040.00416.83
8.0.80.0040.01116.74
8.0.70.0030.00516.89
8.0.60.0070.00016.75
8.0.50.0040.00416.85
8.0.30.0110.00916.91
8.0.20.0110.00817.40
8.0.10.0070.00016.82
8.0.00.0070.01016.65
7.4.330.0050.00015.09
7.4.320.0030.00616.36
7.4.300.0030.00316.35
7.4.290.0000.00716.34
7.4.280.0080.00016.50
7.4.270.0050.00316.46
7.4.260.0030.00316.51
7.4.250.0070.00016.38
7.4.240.0030.00316.45
7.4.230.0070.00016.32
7.4.220.0090.00916.48
7.4.210.0050.00816.47
7.4.200.0070.00016.44
7.4.160.0030.01316.39
7.4.150.0110.00617.40
7.4.140.0150.00517.86
7.4.130.0060.01316.42
7.4.120.0070.01016.38
7.4.110.0070.01016.52
7.4.100.0060.01516.45
7.4.90.0180.00716.31
7.4.80.0060.01119.39
7.4.70.0110.00616.26
7.4.60.0120.00316.14
7.4.50.0050.00316.52
7.4.40.0100.00716.15
7.4.30.0060.01616.45
7.4.00.0120.00415.02
7.3.330.0000.00612.93
7.3.320.0050.00012.93
7.3.310.0070.00016.05
7.3.300.0000.00616.23
7.3.290.0090.00616.21
7.3.280.0110.00716.22
7.3.270.0120.00617.40
7.3.260.0110.00616.65
7.3.250.0080.01016.35
7.3.240.0110.00616.24
7.3.230.0110.00816.39
7.3.210.0060.00916.20
7.3.200.0070.01019.39
7.3.190.0060.00916.31
7.3.180.0040.01316.16
7.3.170.0100.01016.38
7.3.160.0100.01016.19
7.2.330.0120.00616.36
7.2.320.0120.00916.38
7.2.310.0060.01716.34
7.2.300.0080.00916.73
7.2.290.0090.00916.58
7.2.60.0040.01116.85
7.2.00.0060.00319.31
7.1.200.0070.00715.75
7.1.100.0060.00918.07
7.1.70.0000.01616.83
7.1.60.0130.01019.59
7.1.50.0100.01317.04
7.1.00.0100.07022.57
7.0.200.0040.00416.66
7.0.60.0070.08319.91
7.0.50.0030.08717.86
7.0.40.0070.05019.90
7.0.30.0330.07020.06
7.0.20.0400.07020.06
7.0.10.0070.04320.20
7.0.00.0070.06320.16
5.6.280.0000.07721.02
5.6.210.0130.07320.76
5.6.200.0000.05018.08
5.6.190.0070.07320.67
5.6.180.0400.05320.61
5.6.170.0430.07020.53
5.6.160.0030.08720.44
5.6.150.0170.07018.12
5.6.140.0100.07718.11
5.6.130.0030.09018.16
5.6.120.0100.05020.99
5.6.110.0030.08020.98
5.6.100.0070.09020.88
5.6.90.0100.08021.01
5.6.80.0030.03720.47
5.5.350.0170.07320.40
5.5.340.0070.04018.02
5.5.330.0030.04020.57
5.5.320.0000.04720.21
5.5.310.0230.03320.27
5.5.300.0070.07017.98
5.5.290.0100.04017.88
5.5.280.0070.08720.64
5.5.270.0070.03720.74
5.5.260.0070.07720.75
5.5.250.0030.09020.68
5.5.240.0070.07320.25
5.4.450.0430.05019.54
5.4.440.0700.04719.62
5.4.430.0870.06719.41
5.4.420.0930.05719.41
5.4.410.0930.05319.24
5.4.400.0900.05019.22
5.4.390.0870.05319.22
5.4.380.0800.05719.16
5.4.370.0930.04719.05
5.4.360.0930.05018.93
5.4.350.0930.05019.09
5.4.340.1130.04719.31
5.4.320.1000.04719.34
5.4.310.0670.05319.31
5.4.300.0900.05719.09
5.4.290.0730.05018.91
5.4.280.0930.05718.84
5.4.270.0700.05019.30
5.4.260.0830.07719.19
5.4.250.0830.05019.06
5.4.240.0670.05318.82
5.4.230.0870.06018.86
5.4.220.1000.06319.18
5.4.210.0970.07719.17
5.4.200.0970.04716.91
5.4.190.1130.04718.95
5.4.180.1170.05719.16
5.4.170.1230.06319.05
5.4.160.1030.07018.90
5.4.150.0070.05318.90
5.4.140.0130.04716.23
5.4.130.0070.05716.22
5.4.120.0470.04316.37
5.4.110.1130.06316.33
5.4.100.0700.05316.37
5.4.90.0670.05316.23
5.4.80.1030.05316.49
5.4.70.0970.06016.48
5.4.60.0700.05316.19
5.4.50.0930.05316.04
5.4.40.0730.07016.39
5.4.30.1000.05016.48
5.4.20.0700.05316.36
5.4.10.0970.04316.33
5.4.00.0830.05715.87
5.3.290.0970.04714.64
5.3.280.0970.04714.57
5.3.270.0970.05014.58
5.3.260.1000.05014.46
5.3.250.0970.05014.54
5.3.240.0930.06714.54
5.3.230.0970.05314.49
5.3.220.0930.05014.40
5.3.210.0970.05014.44
5.3.200.0830.07014.54
5.3.190.0900.06014.58
5.3.180.0730.04714.59
5.3.170.0570.06014.48
5.3.160.0600.05314.58
5.3.150.0730.05014.47
5.3.140.1130.05714.55
5.3.130.0730.05314.38
5.3.120.0730.08014.47
5.3.110.0700.05314.39
5.3.100.0900.06314.04
5.3.90.0770.04013.91
5.3.80.0770.05713.87
5.3.70.0700.06013.85
5.3.60.0730.04713.80
5.3.50.0730.05013.79
5.3.40.0700.05013.73
5.3.30.0770.05713.75
5.3.20.0730.05313.53
5.3.10.0770.03713.55
5.3.00.0800.03713.51
5.2.170.0570.04711.22
5.2.160.0570.04011.15
5.2.150.0600.03711.04
5.2.140.0600.04011.24
5.2.130.0570.06311.14
5.2.120.0670.03711.04
5.2.110.0730.04711.01
5.2.100.0530.04011.10
5.2.90.0600.06011.11
5.2.80.0700.04711.04
5.2.70.0730.05010.94
5.2.60.0800.04310.93
5.2.50.0730.05310.86
5.2.40.0600.04010.98
5.2.30.0630.04010.84
5.2.20.0600.04311.05
5.2.10.0500.04010.88
5.2.00.0470.03710.69
5.1.60.0470.0379.87
5.1.50.0530.0309.90
5.1.40.0430.03310.07
5.1.30.0800.02310.26
5.1.20.0530.04310.43
5.1.10.0570.03710.10
5.1.00.0570.04010.04
5.0.50.0470.0308.39
5.0.40.0300.0308.39
5.0.30.0330.0408.32
5.0.20.0330.0238.11
5.0.10.0270.0438.30
5.0.00.0300.0438.15
4.4.90.0300.0205.74
4.4.80.0200.0275.80
4.4.70.0300.0205.84
4.4.60.0270.0205.75
4.4.50.0230.0205.77
4.4.40.0200.0375.81
4.4.30.0230.0205.77
4.4.20.0270.0175.83
4.4.10.0330.0135.83
4.4.00.0200.0335.80
4.3.110.0270.0175.80
4.3.100.0170.0235.79
4.3.90.0370.0305.68
4.3.80.0270.0405.68
4.3.70.0300.0205.79
4.3.60.0170.0275.68
4.3.50.0270.0175.73
4.3.40.0230.0305.72
4.3.30.0070.0234.53
4.3.20.0200.0274.50
4.3.10.0200.0274.46
4.3.00.0070.0237.09

preferences:
28.58 ms | 403 KiB | 5 Q