3v4l.org

run code in 300+ PHP versions simultaneously
<?php$a = new stdClass();$b = new stdClass();var_dump(spl_object_hash($a));var_dump(spl_object_hash($b));$b = $a;var_dump(spl_object_hash($a));var_dump(spl_object_hash($b));unset($a);var_dump(spl_object_hash($b));

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.0100.00318.18
8.3.50.0100.00622.95
8.3.40.0110.00318.72
8.3.30.0060.00918.96
8.3.20.0070.00020.30
8.3.10.0000.00823.48
8.3.00.0050.00317.25
8.2.180.0110.00716.63
8.2.170.0040.01122.96
8.2.160.0070.00720.40
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.01026.16
8.2.120.0040.00421.09
8.2.110.0090.00022.17
8.2.100.0090.00317.78
8.2.90.0030.00619.05
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0050.00518.04
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00717.91
8.2.20.0000.00717.40
8.2.10.0040.00417.91
8.2.00.0020.00517.54
8.1.280.0070.01025.92
8.1.270.0040.00423.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00924.02
8.1.230.0000.01119.11
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0060.00317.10
8.1.190.0040.00417.10
8.1.180.0070.00018.10
8.1.170.0080.00418.43
8.1.160.0080.00021.93
8.1.150.0050.00518.68
8.1.140.0040.00417.33
8.1.130.0000.00617.79
8.1.120.0080.00017.36
8.1.110.0070.00017.22
8.1.100.0000.00817.14
8.1.90.0000.00717.26
8.1.80.0000.00917.21
8.1.70.0030.00517.13
8.1.60.0030.00617.30
8.1.50.0050.00317.34
8.1.40.0080.00017.26
8.1.30.0040.00417.39
8.1.20.0080.00017.55
8.1.10.0000.00717.43
8.1.00.0000.00817.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00818.36
8.0.270.0000.00717.09
8.0.260.0030.00317.14
8.0.250.0000.00616.71
8.0.240.0040.00416.69
8.0.230.0030.00316.68
8.0.220.0000.00716.74
8.0.210.0030.00316.77
8.0.200.0030.00316.86
8.0.190.0070.00016.70
8.0.180.0000.00716.75
8.0.170.0050.00316.78
8.0.160.0000.00716.64
8.0.150.0040.00416.62
8.0.140.0030.00616.74
8.0.130.0000.00613.40
8.0.120.0000.00816.77
8.0.110.0040.00416.71
8.0.100.0030.00316.61
8.0.90.0030.00316.81
8.0.80.0060.00916.79
8.0.70.0030.00516.69
8.0.60.0040.00416.55
8.0.50.0000.00716.73
8.0.30.0080.01117.10
8.0.20.0110.00817.40
8.0.10.0070.00016.88
8.0.00.0090.00816.52
7.4.330.0050.00015.00
7.4.320.0030.00316.47
7.4.300.0030.00316.51
7.4.290.0030.00316.37
7.4.280.0000.00716.49
7.4.270.0000.00716.45
7.4.260.0060.00316.46
7.4.250.0080.00016.44
7.4.240.0050.00216.44
7.4.230.0070.00016.52
7.4.220.0110.00716.29
7.4.210.0100.00716.45
7.4.200.0000.00816.54
7.4.160.0100.00516.29
7.4.150.0090.01017.40
7.4.140.0110.01017.86
7.4.130.0000.01716.24
7.4.120.0120.00516.37
7.4.110.0030.01316.32
7.4.100.0110.01416.33
7.4.90.0060.01216.27
7.4.80.0130.00319.39
7.4.70.0030.01316.30
7.4.60.0080.00916.37
7.4.50.0030.00316.49
7.4.40.0080.00816.40
7.4.30.0090.00916.61
7.3.330.0000.00513.21
7.3.320.0020.00212.95
7.3.310.0030.00316.00
7.3.300.0000.00716.12
7.3.290.0150.00316.16
7.3.280.0070.01116.10
7.3.270.0110.00717.40
7.3.260.0110.00616.14
7.3.240.0040.01416.39
7.3.230.0110.00516.39
7.3.210.0130.00316.25
7.3.200.0090.00819.39
7.3.190.0090.00916.29
7.3.180.0090.00616.53
7.3.170.0090.01416.35
7.3.160.0060.01016.14
7.2.330.0060.01316.42
7.2.320.0090.01316.53
7.2.310.0120.00416.19
7.2.300.0030.01316.61
7.2.290.0140.00316.31
5.4.320.3630.03719.10
5.4.310.4370.03718.98
5.4.300.3270.04019.07
5.4.290.1500.03718.86
5.4.280.0100.07019.15
5.4.270.3500.04019.07
5.4.260.3530.04019.05
5.4.250.3870.04019.06
5.4.240.3530.04019.05
5.4.230.3600.03718.95
5.4.220.4200.04319.14
5.4.210.3800.03719.07
5.4.200.3570.03718.86
5.4.190.3630.04019.10
5.4.180.3230.04019.06
5.4.170.3930.04019.06
5.4.160.3730.03318.91
5.4.150.3830.04019.13
5.4.140.3600.03316.34
5.4.130.3800.04316.33
5.4.120.3400.03316.44
5.4.110.3700.03716.54
5.4.100.3670.02716.37
5.4.90.3770.03716.50
5.4.80.3570.03316.43
5.4.70.3370.03016.16
5.4.60.3370.03716.41
5.4.50.4300.02716.57
5.4.40.3500.04016.50
5.4.30.3300.03316.42
5.4.20.3970.04016.47
5.4.10.4600.02716.50
5.4.00.3670.04715.72

preferences:
44.7 ms | 401 KiB | 5 Q