3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; $b = new stdClass; $hashA = spl_object_hash($a); $hashB = spl_object_hash($b); var_dump($hashA, $hashB, bin2hex(hex2bin($hashA) ^ hex2bin($hashB)));

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.140.0120.00917.53
8.4.130.0130.00717.39
8.4.120.0040.00522.53
8.4.110.0090.01318.70
8.4.100.0170.00518.70
8.4.90.0060.00420.63
8.4.80.0060.00218.88
8.4.70.0100.01018.62
8.4.60.0140.00720.40
8.4.50.0090.01118.67
8.4.40.0100.01019.36
8.4.30.0100.01017.64
8.4.20.0170.00317.72
8.4.10.0060.00617.51
8.3.270.0140.00616.75
8.3.260.0050.00416.50
8.3.250.0120.00618.95
8.3.240.0080.00818.47
8.3.230.0120.00716.61
8.3.220.0070.00818.93
8.3.210.0110.00716.63
8.3.200.0110.00816.37
8.3.190.0130.00816.95
8.3.180.0070.01218.81
8.3.170.0110.00716.65
8.3.160.0140.00417.17
8.3.150.0040.01119.00
8.3.140.0050.00318.86
8.3.130.0040.00418.43
8.3.120.0070.00718.88
8.3.110.0100.00018.19
8.3.100.0110.00716.48
8.3.90.0090.00026.77
8.3.80.0030.00618.43
8.3.70.0190.00018.55
8.3.60.0040.01418.43
8.3.50.0170.00321.98
8.3.40.0120.00318.72
8.3.30.0090.00618.46
8.3.20.0070.00021.65
8.3.10.0000.01020.28
8.3.00.0040.00421.95
8.2.290.0110.00817.28
8.2.280.0130.00818.55
8.2.270.0030.00516.48
8.2.260.0090.00916.37
8.2.250.0080.00018.28
8.2.240.0060.01318.66
8.2.230.0030.00620.94
8.2.220.0170.00024.06
8.2.210.0140.00726.77
8.2.200.0100.00018.29
8.2.190.0110.01116.58
8.2.180.0140.00718.41
8.2.170.0110.00422.96
8.2.160.0100.00722.06
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00417.66
8.2.120.0040.00426.35
8.2.110.0070.00319.52
8.2.100.0080.00417.78
8.2.90.0050.00319.28
8.2.80.0030.00517.97
8.2.70.0000.00817.50
8.2.60.0060.00317.68
8.2.50.0080.00018.10
8.2.40.0040.00420.65
8.2.30.0060.00319.11
8.2.20.0080.00017.95
8.2.10.0000.00818.15
8.2.00.0040.00417.77
8.1.330.0140.00516.64
8.1.320.0060.00417.87
8.1.310.0080.00016.70
8.1.300.0030.01317.66
8.1.290.0060.00330.84
8.1.280.0090.00625.92
8.1.270.0000.00723.88
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.72
8.1.230.0080.00317.70
8.1.220.0070.00017.78
8.1.210.0060.00318.77
8.1.200.0030.00717.23
8.1.190.0030.00517.23
8.1.180.0070.00018.10
8.1.170.0040.00418.66
8.1.160.0000.00718.94
8.1.150.0080.00022.04
8.1.140.0000.00719.48
8.1.130.0030.00318.84
8.1.120.0000.00717.38
8.1.110.0040.00417.43
8.1.100.0000.00717.27
8.1.90.0070.00317.41
8.1.80.0070.00017.34
8.1.70.0030.00317.43
8.1.60.0030.00517.55
8.1.50.0050.00317.46
8.1.40.0030.00517.36
8.1.30.0000.00817.55
8.1.20.0000.00817.49
8.1.10.0040.00417.55
8.1.00.0060.00317.50
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.39
8.0.270.0030.00317.25
8.0.260.0070.00017.29
8.0.250.0040.00417.01
8.0.240.0030.00316.94
8.0.230.0030.00316.93
8.0.220.0000.00716.88
8.0.210.0030.00316.77
8.0.200.0030.00316.92
8.0.190.0070.00016.78
8.0.180.0070.00016.80
8.0.170.0080.00016.90
8.0.160.0020.00516.73
8.0.150.0000.00716.70
8.0.140.0070.00016.74
8.0.130.0030.00313.26
8.0.120.0040.00416.74
8.0.110.0040.00416.60
8.0.100.0040.00416.59
8.0.90.0000.00716.68
8.0.80.0120.00316.75
8.0.70.0000.00716.64
8.0.60.0040.00416.61
8.0.50.0000.00716.87
8.0.30.0060.01117.04
8.0.20.0120.01017.40
8.0.10.0000.00716.89
8.0.00.0140.00516.56
7.4.330.0020.00215.55
7.4.320.0000.00716.53
7.4.300.0030.00316.53
7.4.290.0040.00416.51
7.4.280.0000.00916.41
7.4.270.0040.00416.57
7.4.260.0070.00016.51
7.4.250.0000.00716.54
7.4.240.0030.00316.45
7.4.230.0000.00716.62
7.4.220.0100.01716.36
7.4.210.0100.00416.55
7.4.200.0070.00016.52
7.4.160.0070.01016.51
7.4.150.0110.00517.40
7.4.140.0050.01617.86
7.4.130.0110.00816.54
7.4.120.0090.00816.37
7.4.110.0120.00316.41
7.4.100.0110.00616.37
7.4.90.0090.00616.32
7.4.80.0090.00619.39
7.4.70.0100.01016.53
7.4.60.0060.01016.30
7.4.50.0070.01016.45
7.4.40.0140.00316.36
7.4.30.0060.01216.31
7.4.00.0040.01415.08
7.3.330.0030.00312.92
7.3.320.0030.00313.03
7.3.310.0040.00416.26
7.3.300.0070.00016.13
7.3.290.0000.00716.22
7.3.280.0080.00816.17
7.3.270.0110.00717.40
7.3.260.0130.00516.27
7.3.250.0090.01016.27
7.3.240.0110.00916.35
7.3.230.0100.00716.19
7.3.210.0070.01116.36
7.3.200.0120.00416.35
7.3.190.0120.00416.14
7.3.180.0030.01216.41
7.3.170.0120.00416.14
7.3.160.0070.01016.47
7.2.330.0100.00716.56
7.2.320.0150.00616.55
7.2.310.0060.01016.56
7.2.300.0130.00516.61
7.2.290.0120.00616.60
7.2.60.0100.00716.57
7.2.00.0080.00419.39
7.1.200.0060.00615.63
7.1.100.0070.00717.86
7.1.70.0040.00416.87
7.1.60.0070.00717.18
7.1.50.0040.00716.71
7.1.10.0070.07722.15
7.1.00.0000.07322.40
7.0.200.0030.01316.63
7.0.150.0070.07021.95
7.0.140.0070.06721.84
7.0.130.0100.05321.88
7.0.120.0030.06322.01
7.0.110.0030.06021.95
7.0.100.0100.05321.85
7.0.90.0030.08321.93
7.0.80.0070.08021.82
7.0.70.0100.05321.83
7.0.60.0200.05721.75
7.0.50.0100.05721.88
7.0.40.0130.05021.89
7.0.30.0200.07321.84
7.0.20.0100.06022.03
7.0.10.0230.06021.94
7.0.00.0130.08021.88

preferences:
31.08 ms | 403 KiB | 5 Q