3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; $a->id = 1; $b = new stdClass; $b->id = 1; var_dump($a === $b); var_dump(spl_object_hash($a), 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)
5.6.130.0130.07318.14
5.6.120.0100.05721.11
5.6.110.0100.08321.02
5.6.100.0100.08020.88
5.6.90.0100.05720.95
5.6.80.0130.07320.39
5.5.290.0070.07717.95
5.5.280.0100.03320.65
5.5.270.0170.07320.66
5.5.260.0070.07720.88
5.5.250.0100.07720.43
5.5.240.0030.08020.27
5.4.450.0200.05319.14
5.4.440.0200.05319.59
5.4.430.0200.05319.45
5.4.420.0070.06319.54
5.4.410.0130.05719.15
5.4.400.0130.05719.09
5.4.390.0270.06319.10
5.4.380.0130.06019.13
5.4.370.0100.06718.83
5.4.360.0130.05719.20
5.4.350.0100.05719.19
5.4.340.0200.05019.10
5.4.320.0130.05718.81
5.4.310.0230.04319.14
5.4.300.0170.05319.30
5.4.290.0170.05719.21
5.4.280.0070.07318.92
5.4.270.0130.06018.91
5.4.260.0130.05018.93
5.4.250.0230.05319.14
5.4.240.0130.05718.91
5.4.230.0200.05718.95
5.4.220.0170.06018.95
5.4.210.0230.04318.82
5.4.200.0100.05316.82
5.4.190.0170.05019.28
5.4.180.0070.06318.82
5.4.170.0270.05019.13
5.4.160.0270.04018.93
5.4.150.0370.04719.24
5.4.140.0270.04016.29
5.4.130.0100.05316.25
5.4.120.0130.05316.60
5.4.110.0130.05016.22
5.4.100.0130.05316.49
5.4.90.0130.05316.55
5.4.80.0230.04016.23
5.4.70.0100.05316.36
5.4.60.0170.04716.41
5.4.50.0200.04316.57
5.4.40.0230.04316.52
5.4.30.0100.06016.23
5.4.20.0200.05316.43
5.4.10.0100.05716.14
5.4.00.0100.05315.89
5.3.290.0130.05314.50
5.3.280.0200.05014.45
5.3.270.0230.06714.45
5.3.260.0130.05714.55
5.3.250.0200.05014.54
5.3.240.0100.06014.59
5.3.230.0230.06314.43
5.3.220.0170.06714.45
5.3.210.0170.05314.52
5.3.200.0230.06014.52
5.3.190.0070.06014.41
5.3.180.0100.05714.40
5.3.170.0100.05714.45
5.3.160.0200.04714.41
5.3.150.0100.05714.55
5.3.140.0130.05314.40
5.3.130.0130.05314.57
5.3.120.0100.05314.52
5.3.110.0130.05014.39
5.3.100.0170.04713.89
5.3.90.0130.05013.91
5.3.80.0130.05013.89
5.3.70.0200.04713.82
5.3.60.0200.04313.80
5.3.50.0200.05713.78
5.3.40.0070.06013.79
5.3.30.0070.05713.86
5.3.20.0170.04713.64
5.3.10.0230.05713.44
5.3.00.0170.04713.42
5.2.170.0200.03710.98
5.2.160.0070.04711.09
5.2.150.0070.04711.01
5.2.140.0170.03711.00
5.2.130.0100.04011.14
5.2.120.0130.04311.17
5.2.110.0130.05010.95
5.2.100.0130.05310.95
5.2.90.0200.03011.09
5.2.80.0070.04311.08
5.2.70.0170.04310.95
5.2.60.0100.04311.04
5.2.50.0070.04310.86
5.2.40.0070.04310.94
5.2.30.0200.05010.86
5.2.20.0070.04310.81
5.2.10.0100.05310.80
5.2.00.0070.04310.87
5.1.60.0070.03710.16
5.1.50.0100.03310.08
5.1.40.0100.0339.88
5.1.30.0030.04310.20
5.1.20.0070.03710.41
5.1.10.0070.04310.09
5.1.00.0130.04010.04
5.0.50.0070.0308.56
5.0.40.0000.0338.29
5.0.30.0070.0538.14
5.0.20.0100.0338.22
5.0.10.0070.0278.06
5.0.00.0130.0438.00
4.4.90.0070.0206.93
4.4.80.0130.0136.93
4.4.70.0030.0236.93
4.4.60.0000.0306.93
4.4.50.0100.0236.93
4.4.40.0070.0406.93
4.4.30.0030.0236.93
4.4.20.0000.0276.93
4.4.10.0030.0236.93
4.4.00.0030.0376.93
4.3.110.0130.0136.93
4.3.100.0130.0136.93
4.3.90.0030.0236.93
4.3.80.0030.0336.93
4.3.70.0000.0236.93
4.3.60.0030.0236.93
4.3.50.0100.0176.93
4.3.40.0000.0376.93
4.3.30.0000.0276.93
4.3.20.0030.0236.93
4.3.10.0030.0206.93
4.3.00.0030.0207.11

preferences:
143.85 ms | 1394 KiB | 7 Q