3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o1 = (object) array('a' => 1); $h1 = spl_object_hash($o1); unset($o1); $o2 = (object) array('b' => 1); $h2 = spl_object_hash($o2); echo "$h1\n$h2\n"; var_dump($h1 === $h2);
Output for 7.1.0
0000000005950149000000002e67cfc2 0000000005950149000000002e67cfc2 bool(true)
Output for 7.0.14
000000005c47aefc000000000076bc26 000000005c47aefc000000000076bc26 bool(true)
Output for 7.0.6
00000000154b038f000000005a8f163a 00000000154b038f000000005a8f163a bool(true)
Output for 7.0.5
000000001ff021cc00000000735ceb8a 000000001ff021cc00000000735ceb8a bool(true)
Output for 7.0.4
0000000034665f9900000000114e2f80 0000000034665f9900000000114e2f80 bool(true)
Output for 7.0.3
0000000025d02bcf000000004b03e652 0000000025d02bcf000000004b03e652 bool(true)
Output for 7.0.2
000000003bdaeb260000000045a8bec3 000000003bdaeb260000000045a8bec3 bool(true)
Output for 7.0.1
0000000046b85098000000006dadd8aa 0000000046b85098000000006dadd8aa bool(true)
Output for 7.0.0
0000000044e1a818000000003c9e7b85 0000000044e1a818000000003c9e7b85 bool(true)
Output for 5.6.28
00000000417ce1b100000000284a9179 00000000417ce1b100000000284a9179 bool(true)
Output for 5.6.21
000000000aeb97c10000000042b0c9df 000000000aeb97c10000000042b0c9df bool(true)
Output for 5.6.20
00000000213394570000000050d5277d 00000000213394570000000050d5277d bool(true)
Output for 5.6.19
000000005ba157890000000069d5b02b 000000005ba157890000000069d5b02b bool(true)
Output for 5.6.18
000000005f8a129d000000003bff1086 000000005f8a129d000000003bff1086 bool(true)
Output for 5.6.17
000000007b6ca419000000006c877b07 000000007b6ca419000000006c877b07 bool(true)
Output for 5.6.16
00000000438239f6000000002de7b189 00000000438239f6000000002de7b189 bool(true)
Output for 5.6.15
00000000753816a3000000000d45f18e 00000000753816a3000000000d45f18e bool(true)
Output for 5.6.14
0000000059901f2f000000002c648972 0000000059901f2f000000002c648972 bool(true)
Output for 5.6.13
00000000401944b80000000078565a56 00000000401944b80000000078565a56 bool(true)
Output for 5.6.12
000000003459d6c10000000077750cc1 000000003459d6c10000000077750cc1 bool(true)
Output for 5.6.11
000000005cee6a3c0000000010389637 000000005cee6a3c0000000010389637 bool(true)
Output for 5.6.10
000000001956f67c0000000025630c72 000000001956f67c0000000025630c72 bool(true)
Output for 5.6.9
00000000216a5f67000000000df4069a 00000000216a5f67000000000df4069a bool(true)
Output for 5.6.8
0000000032cd732d000000002dc95ef3 0000000032cd732d000000002dc95ef3 bool(true)
Output for 5.6.7
00000000189e15c0000000005ef37b71 00000000189e15c0000000005ef37b71 bool(true)
Output for 5.5.35
0000000015d86d45000000002f6710a7 0000000015d86d45000000002f6710a7 bool(true)
Output for 5.5.34
0000000014a6b91300000000003f86df 0000000014a6b91300000000003f86df bool(true)
Output for 5.5.33
00000000573057070000000027ffafc6 00000000573057070000000027ffafc6 bool(true)
Output for 5.5.32
000000006599a967000000001c9047ad 000000006599a967000000001c9047ad bool(true)
Output for 5.5.31
00000000183df48b000000002b8f9a13 00000000183df48b000000002b8f9a13 bool(true)
Output for 5.5.30
00000000532637b0000000002e25954b 00000000532637b0000000002e25954b bool(true)
Output for 5.5.29
000000005ded2a77000000003b825534 000000005ded2a77000000003b825534 bool(true)
Output for 5.5.28
000000006f3d16b700000000540a0f73 000000006f3d16b700000000540a0f73 bool(true)
Output for 5.5.27
0000000058eff18800000000441104f9 0000000058eff18800000000441104f9 bool(true)
Output for 5.5.26
0000000044f04b9800000000680a0efb 0000000044f04b9800000000680a0efb bool(true)
Output for 5.5.25
000000006c87dffb0000000053319683 000000006c87dffb0000000053319683 bool(true)
Output for 5.5.24
00000000461f6d6b000000005c40a7a3 00000000461f6d6b000000005c40a7a3 bool(true)
Output for 5.4.45
0000000013fd632700000000031edb65 0000000013fd632700000000031edb65 bool(true)
Output for 5.4.44
0000000053402d08000000005a5c6299 0000000053402d08000000005a5c6299 bool(true)
Output for 5.4.43
000000002bf6442e0000000057802134 000000002bf6442e0000000057802134 bool(true)
Output for 5.4.42
000000004124008700000000513e3db4 000000004124008700000000513e3db4 bool(true)
Output for 5.4.41
000000007c7fd4af000000002f2f8d8a 000000007c7fd4af000000002f2f8d8a bool(true)
Output for 5.4.40
000000007758f547000000003adb1cc7 000000007758f547000000003adb1cc7 bool(true)
Output for 5.4.39
000000003baf92910000000050898125 000000003baf92910000000050898125 bool(true)
Output for 5.4.38
000000001684a1390000000042978cd2 000000001684a1390000000042978cd2 bool(true)
Output for 5.4.37
0000000050158d320000000058354010 0000000050158d320000000058354010 bool(true)
Output for 5.4.36
0000000071b580900000000010a5cfab 0000000071b580900000000010a5cfab bool(true)
Output for 5.4.35
000000006802bf2a0000000051ad32d5 000000006802bf2a0000000051ad32d5 bool(true)
Output for 5.4.34
0000000048946db3000000003012d64a 0000000048946db3000000003012d64a bool(true)
Output for 5.4.32
0000000008757e5a0000000017281eca 0000000008757e5a0000000017281eca bool(true)
Output for 5.4.31
0000000017f63e8b0000000056f94474 0000000017f63e8b0000000056f94474 bool(true)
Output for 5.4.30
0000000053bc1ff50000000018702a19 0000000053bc1ff50000000018702a19 bool(true)
Output for 5.4.29
00000000055402c00000000024d01efe 00000000055402c00000000024d01efe bool(true)
Output for 5.4.28
000000005dc47aa00000000043faff5b 000000005dc47aa00000000043faff5b bool(true)
Output for 5.4.27
000000002e5e8c6c00000000615df240 000000002e5e8c6c00000000615df240 bool(true)
Output for 5.4.26
0000000076739132000000002a75dd92 0000000076739132000000002a75dd92 bool(true)
Output for 5.4.25
000000004e3cacd8000000002f0846ea 000000004e3cacd8000000002f0846ea bool(true)
Output for 5.4.24
00000000220e42c7000000003523cd61 00000000220e42c7000000003523cd61 bool(true)
Output for 5.4.23
0000000052a7e88500000000563e7264 0000000052a7e88500000000563e7264 bool(true)
Output for 5.4.22
000000005580a75e000000002e6b19d7 000000005580a75e000000002e6b19d7 bool(true)
Output for 5.4.21
000000007aeaa0ba0000000041dffc8e 000000007aeaa0ba0000000041dffc8e bool(true)
Output for 5.4.20
0000000066bb1785000000005dbb29d5 0000000066bb1785000000005dbb29d5 bool(true)
Output for 5.4.19
000000000e5fe371000000002792da39 000000000e5fe371000000002792da39 bool(true)
Output for 5.4.18
000000002e818af2000000002f6f76fb 000000002e818af2000000002f6f76fb bool(true)
Output for 5.4.17
0000000020c6a642000000005605f35f 0000000020c6a642000000005605f35f bool(true)
Output for 5.4.16
000000000f38bdd9000000005b8a7e6a 000000000f38bdd9000000005b8a7e6a bool(true)
Output for 5.4.15
000000007727e248000000006e6383c5 000000007727e248000000006e6383c5 bool(true)
Output for 5.4.14
00000000590f1349000000007d60dda5 00000000590f1349000000007d60dda5 bool(true)
Output for 5.4.13
000000004e168b96000000007997ac37 000000004e168b96000000007997ac37 bool(true)
Output for 5.4.12
000000002f0a9b8e00000000067ac2c4 000000002f0a9b8e00000000067ac2c4 bool(true)
Output for 5.4.11
00000000078cbdb60000000045a32b37 00000000078cbdb60000000045a32b37 bool(true)
Output for 5.4.10
000000005350c4d3000000000a584026 000000005350c4d3000000000a584026 bool(true)
Output for 5.4.9
00000000669fc57f0000000056331368 00000000669fc57f0000000056331368 bool(true)
Output for 5.4.8
0000000073ea146800000000733c6191 0000000073ea146800000000733c6191 bool(true)
Output for 5.4.7
0000000043562682000000000838c565 0000000043562682000000000838c565 bool(true)
Output for 5.4.6
000000003f464a380000000049332e86 000000003f464a380000000049332e86 bool(true)
Output for 5.4.5
000000001d805b9a0000000052f1b046 000000001d805b9a0000000052f1b046 bool(true)
Output for 5.4.4
0000000039a5a1ce000000001d3ada26 0000000039a5a1ce000000001d3ada26 bool(true)
Output for 5.4.3
0000000008e460750000000029353aa8 0000000008e460750000000029353aa8 bool(true)
Output for 5.4.2
00000000301148e50000000025f958ba 00000000301148e50000000025f958ba bool(true)
Output for 5.4.1
0000000008c759b500000000444768fa 0000000008c759b500000000444768fa bool(true)
Output for 5.4.0
0000000039e826220000000071574ddb 0000000039e826220000000071574ddb bool(true)
Output for 5.3.29
0000000066636ebe000000001ada4727 0000000066636ebe000000001ada4727 bool(true)
Output for 5.3.28
000000003f58f7f30000000013487c9f 000000003f58f7f30000000013487c9f bool(true)
Output for 5.3.27
000000000730f113000000005f57f1e6 000000000730f113000000005f57f1e6 bool(true)
Output for 5.3.26
0000000050566a9500000000751f50dd 0000000050566a9500000000751f50dd bool(true)
Output for 5.3.25
0000000077b6a2c00000000058c458f1 0000000077b6a2c00000000058c458f1 bool(true)
Output for 5.3.24
000000005c2aecd8000000003b2ed764 000000005c2aecd8000000003b2ed764 bool(true)
Output for 5.3.23
000000000b8e3d65000000001ae0e368 000000000b8e3d65000000001ae0e368 bool(true)
Output for 5.3.22
0000000067b9a393000000006baf588b 0000000067b9a393000000006baf588b bool(true)
Output for 5.3.21
00000000152f6cc300000000405d2ee3 00000000152f6cc300000000405d2ee3 bool(true)
Output for 5.3.20
0000000022696fb8000000004ffb08dc 0000000022696fb8000000004ffb08dc bool(true)
Output for 5.3.19
00000000378232ad0000000024268325 00000000378232ad0000000024268325 bool(true)
Output for 5.3.18
000000006737319e000000007619a0b3 000000006737319e000000007619a0b3 bool(true)
Output for 5.3.17
0000000001e9124f0000000041e42b69 0000000001e9124f0000000041e42b69 bool(true)
Output for 5.3.16
000000002ebef17e0000000073a80094 000000002ebef17e0000000073a80094 bool(true)
Output for 5.3.15
000000002c6ad8dd000000006bbcdf09 000000002c6ad8dd000000006bbcdf09 bool(true)
Output for 5.3.14
000000000775155f000000006c8adc26 000000000775155f000000006c8adc26 bool(true)
Output for 5.3.13
000000004c3e8b71000000006d74ef40 000000004c3e8b71000000006d74ef40 bool(true)
Output for 5.3.12
000000004cfa5c67000000007a182681 000000004cfa5c67000000007a182681 bool(true)
Output for 5.3.11
0000000075d8ee2e00000000500bf65b 0000000075d8ee2e00000000500bf65b bool(true)
Output for 5.3.10
000000007044d7d1000000002c6cefd2 000000007044d7d1000000002c6cefd2 bool(true)
Output for 5.3.9
000000003cacf70200000000514e645b 000000003cacf70200000000514e645b bool(true)
Output for 5.3.8
000000001235e971000000000eba2e81 000000001235e971000000000eba2e81 bool(true)
Output for 5.3.7
00000000648729470000000040bafb18 00000000648729470000000040bafb18 bool(true)
Output for 5.3.6
000000000360c8ec0000000010c18eba 000000000360c8ec0000000010c18eba bool(true)
Output for 5.3.5
0000000046ea5891000000000d69270a 0000000046ea5891000000000d69270a bool(true)
Output for 5.3.4
000000003c3ec448000000006f41d90d 000000003c3ec448000000006f41d90d bool(true)
Output for 5.3.3
000000003e61b9b00000000050151aea 000000003e61b9b00000000050151aea bool(true)
Output for 5.3.2
000000002e4030df000000003239bcc6 000000002e4030df000000003239bcc6 bool(true)
Output for 5.3.1
000000000ac11ecc000000007ca34aa5 000000000ac11ecc000000007ca34aa5 bool(true)
Output for 5.3.0
000000006ecc5a7c0000000070592aff 000000006ecc5a7c0000000070592aff bool(true)
Output for 5.2.17
861a2f056a593edc2697eec710327754 861a2f056a593edc2697eec710327754 bool(true)
Output for 5.2.15 - 5.2.16
bab3da487bfe51e3bada7ed6962c83d7 bab3da487bfe51e3bada7ed6962c83d7 bool(true)
Output for 5.2.14
6827d7150a80a95428b05b2dbc0dcb10 6827d7150a80a95428b05b2dbc0dcb10 bool(true)
Output for 5.2.13
4d9da188dd696504eef8aed3fde97e02 4d9da188dd696504eef8aed3fde97e02 bool(true)
Output for 5.2.12
617357606fc417e758728410d8dad7f3 617357606fc417e758728410d8dad7f3 bool(true)
Output for 5.2.9, 5.2.11
52ee78937c6a89104904aed13987318e 52ee78937c6a89104904aed13987318e bool(true)
Output for 5.2.10
efe88f76f26081279f31ba49d381104e efe88f76f26081279f31ba49d381104e bool(true)
Output for 5.2.7 - 5.2.8
af89ab9ae8be1068e0d8dc48e55bfcd1 af89ab9ae8be1068e0d8dc48e55bfcd1 bool(true)
Output for 5.2.6
950969556ed71c6f363f434ecae32954 950969556ed71c6f363f434ecae32954 bool(true)
Output for 5.2.5
a7965ec2cba63ba225597f43def8a4b6 a7965ec2cba63ba225597f43def8a4b6 bool(true)
Output for 5.2.4
7ebbed9ad06ebcbd0c3782f6cdf89b51 7ebbed9ad06ebcbd0c3782f6cdf89b51 bool(true)
Output for 5.2.3
dc90896f8dce368265954f0524e2a853 dc90896f8dce368265954f0524e2a853 bool(true)
Output for 5.2.2
d1877c094161b942518f0f010b1a5be5 d1877c094161b942518f0f010b1a5be5 bool(true)
Output for 5.2.1
5663e593b52467eb39485ab4532cfb71 5663e593b52467eb39485ab4532cfb71 bool(true)
Output for 5.2.0
73f03f2749114a53db076b2f4bc47285 73f03f2749114a53db076b2f4bc47285 bool(true)
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function spl_object_hash() in /in/ntiS7 on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: spl_object_hash() in /in/ntiS7 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: spl_object_hash() in /in/ntiS7 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: spl_object_hash() in /in/ntiS7 on line 5