3v4l.org

run code in 300+ PHP versions simultaneously
<?php class c { function __wakeup() { //$this->prop = 'I am awake'; } } $a = []; $a[] = new c; $a[0]->prop = 'asleep'; $a[1] =& $a[1]->prop; var_dump(unserialize(serialize($a)));

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.0060.00918.68
8.3.50.0170.00521.93
8.3.40.0070.00718.86
8.3.30.0070.00718.79
8.3.20.0040.00420.39
8.3.10.0000.00820.66
8.3.00.0080.00020.77
8.2.180.0120.00318.54
8.2.170.0140.00022.96
8.2.160.0060.00922.09
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00420.91
8.2.120.0070.00026.35
8.2.110.0040.00420.98
8.2.100.0040.00717.93
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0080.00017.61
8.2.60.0030.00517.68
8.2.50.0050.00318.09
8.2.40.0070.00020.54
8.2.30.0040.00419.45
8.2.20.0000.01017.65
8.2.10.0000.00718.17
8.2.00.0050.00218.09
8.1.280.0110.00325.92
8.1.270.0030.00623.89
8.1.260.0070.00328.09
8.1.250.0070.00028.09
8.1.240.0080.00022.66
8.1.230.0120.00017.77
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.38
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0070.00618.38
8.1.160.0050.00320.74
8.1.150.0040.00418.82
8.1.140.0030.00519.51
8.1.130.0000.00717.64
8.1.120.0040.00417.42
8.1.110.0040.00417.41
8.1.100.0070.00017.44
8.1.90.0040.00417.40
8.1.80.0080.00017.44
8.1.70.0080.00317.36
8.1.60.0070.00017.41
8.1.50.0060.00317.41
8.1.40.0040.00417.48
8.1.30.0040.00417.59
8.1.20.0000.00717.53
8.1.10.0080.00017.61
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0070.00018.30
8.0.270.0000.00717.21
8.0.260.0030.00517.22
8.0.250.0060.00016.90
8.0.240.0070.00016.92
8.0.230.0030.00316.83
8.0.220.0030.00416.87
8.0.210.0050.00216.87
8.0.200.0000.00617.00
8.0.190.0040.00416.96
8.0.180.0040.00416.82
8.0.170.0000.00816.94
8.0.160.0080.00016.94
8.0.150.0070.00016.80
8.0.140.0000.00716.74
8.0.130.0060.00313.31
8.0.120.0080.00016.87
8.0.110.0040.00416.82
8.0.100.0000.00716.88
8.0.90.0030.00316.91
8.0.80.0120.00316.96
8.0.70.0040.00416.71
8.0.60.0000.00716.88
8.0.50.0070.00016.92
8.0.30.0050.01217.13
8.0.20.0100.01117.40
8.0.10.0040.00417.06
8.0.00.0120.00616.66
7.4.330.0000.00616.82
7.4.320.0060.00016.55
7.4.300.0030.00316.58
7.4.290.0030.00316.51
7.4.280.0030.00616.46
7.4.270.0070.00016.60
7.4.260.0040.00416.51
7.4.250.0040.00416.54
7.4.240.0040.00416.50
7.4.230.0030.00316.48
7.4.220.0070.01116.47
7.4.210.0070.00716.60
7.4.200.0000.00816.63
7.4.160.0060.01116.44
7.4.150.0230.00017.40
7.4.140.0050.01317.86
7.4.130.0110.00916.44
7.4.120.0060.01216.43
7.4.110.0070.01616.44
7.4.100.0150.01116.48
7.4.90.0110.00516.55
7.4.80.0060.01619.39
7.4.70.0120.00616.61
7.4.60.0120.00616.55
7.4.50.0040.01116.59
7.4.40.0080.00816.16
7.4.30.0130.00316.37
7.4.00.0030.01314.94
7.3.330.0020.00213.21
7.3.320.0030.00313.24
7.3.310.0070.00016.36
7.3.300.0060.00016.44
7.3.290.0070.00016.18
7.3.280.0050.01016.34
7.3.270.0090.00917.40
7.3.260.0080.01116.44
7.3.250.0110.01016.47
7.3.240.0080.00916.34
7.3.230.0080.00916.39
7.3.210.0170.00016.59
7.3.200.0030.01316.43
7.3.190.0120.00316.37
7.3.180.0080.00816.38
7.3.170.0080.00816.37
7.3.160.0060.01016.49
7.2.330.0030.01516.58
7.2.320.0090.00916.60
7.2.310.0060.01316.80
7.2.300.0170.00016.75
7.2.290.0060.01016.68
7.2.00.0060.00619.34
7.1.100.0110.00718.20
7.1.70.0100.00017.13
7.1.60.0150.01119.27
7.1.50.0140.01117.01
7.1.00.0130.06322.29
7.0.200.0070.01114.75
7.0.60.0100.08021.84
7.0.50.0070.05717.92
7.0.40.0100.04320.10
7.0.30.0100.05020.02
7.0.20.0370.05320.26
7.0.10.0030.04320.09
7.0.00.0000.08720.07
5.6.280.0000.03321.04
5.6.210.0170.07720.55
5.6.200.0030.09018.29
5.6.190.0100.04720.50
5.6.180.0230.08320.58
5.6.170.0270.08020.51
5.6.160.0070.03720.56
5.6.150.0070.04018.28
5.6.140.0000.04318.18
5.6.130.0030.04318.15
5.6.120.0030.05721.15
5.6.110.0030.09021.13
5.6.100.0100.08320.89
5.6.90.0100.05720.86
5.6.80.0100.06320.53
5.5.350.0300.07320.47
5.5.340.0130.03318.09
5.5.330.0000.05320.43
5.5.320.0500.07320.32
5.5.310.0270.08020.39
5.5.300.0070.04318.02
5.5.290.0100.08317.94
5.5.280.0070.07720.88
5.5.270.0170.07720.72
5.5.260.0100.06020.96
5.5.250.0100.08320.47
5.5.240.0030.04020.22

preferences:
60.09 ms | 401 KiB | 5 Q