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"; var_dump($h1 === $h2);
Output for 7.1.0
0000000064f10c5f000000004f2f7ccc 0000000064f10c5f000000004f2f7cccbool(true)
Output for 7.0.14
00000000576af7530000000022018b0e 00000000576af7530000000022018b0ebool(true)
Output for 7.0.6
000000004b1bd2560000000063dbe17d 000000004b1bd2560000000063dbe17dbool(true)
Output for 7.0.5
0000000021ba4384000000001bf525c6 0000000021ba4384000000001bf525c6bool(true)
Output for 7.0.4
000000003cc3d4be0000000074e0751e 000000003cc3d4be0000000074e0751ebool(true)
Output for 7.0.3
000000007677397500000000515f9ac6 000000007677397500000000515f9ac6bool(true)
Output for 7.0.2
0000000019af740f000000004f0d963b 0000000019af740f000000004f0d963bbool(true)
Output for 7.0.1
00000000185944ef0000000005cb8a42 00000000185944ef0000000005cb8a42bool(true)
Output for 7.0.0
0000000070eaccfa000000002ce9d86d 0000000070eaccfa000000002ce9d86dbool(true)
Output for 5.6.28
000000005bc1fb0b0000000048a94fdd 000000005bc1fb0b0000000048a94fddbool(true)
Output for 5.6.21
0000000058ac64ad00000000641bc776 0000000058ac64ad00000000641bc776bool(true)
Output for 5.6.20
00000000605c6028000000005a8c4b39 00000000605c6028000000005a8c4b39bool(true)
Output for 5.6.19
000000000ff3847d000000005a25d918 000000000ff3847d000000005a25d918bool(true)
Output for 5.6.18
0000000071869f5b000000005eb2895f 0000000071869f5b000000005eb2895fbool(true)
Output for 5.6.17
00000000467c89a800000000192d40a4 00000000467c89a800000000192d40a4bool(true)
Output for 5.6.16
000000005b23a18300000000593f79b6 000000005b23a18300000000593f79b6bool(true)
Output for 5.6.15
000000006780c3980000000009e0de01 000000006780c3980000000009e0de01bool(true)
Output for 5.6.14
00000000464658a6000000004c9b9cb5 00000000464658a6000000004c9b9cb5bool(true)
Output for 5.6.13
00000000786ec016000000003796ea70 00000000786ec016000000003796ea70bool(true)
Output for 5.6.12
0000000046d0201f00000000707929bc 0000000046d0201f00000000707929bcbool(true)
Output for 5.6.11
000000000590741a0000000033062a53 000000000590741a0000000033062a53bool(true)
Output for 5.6.10
000000000e60cdf9000000001675f150 000000000e60cdf9000000001675f150bool(true)
Output for 5.6.9
000000004854d003000000003cf400b3 000000004854d003000000003cf400b3bool(true)
Output for 5.6.8
00000000327ba415000000003cde6a7b 00000000327ba415000000003cde6a7bbool(true)
Output for 5.5.35
00000000612bc8b9000000006552a3fd 00000000612bc8b9000000006552a3fdbool(true)
Output for 5.5.34
000000004f0b87f50000000022a3ec2f 000000004f0b87f50000000022a3ec2fbool(true)
Output for 5.5.33
0000000033e6422b00000000261bbf54 0000000033e6422b00000000261bbf54bool(true)
Output for 5.5.32
000000007fb5cd11000000003f1c9a65 000000007fb5cd11000000003f1c9a65bool(true)
Output for 5.5.31
000000007bd06e15000000007a2be97d 000000007bd06e15000000007a2be97dbool(true)
Output for 5.5.30
000000007ef2aa920000000024de58a0 000000007ef2aa920000000024de58a0bool(true)
Output for 5.5.29
000000005b9705c400000000749897e9 000000005b9705c400000000749897e9bool(true)
Output for 5.5.28
000000006fa7d0c2000000000fadd0a0 000000006fa7d0c2000000000fadd0a0bool(true)
Output for 5.5.27
0000000054c63560000000005005497b 0000000054c63560000000005005497bbool(true)
Output for 5.5.26
00000000112a0d6c000000003cb710c8 00000000112a0d6c000000003cb710c8bool(true)
Output for 5.5.25
000000005164d789000000000e026eaa 000000005164d789000000000e026eaabool(true)
Output for 5.5.24
0000000051a8072f00000000731e2de7 0000000051a8072f00000000731e2de7bool(true)
Output for 5.4.45
0000000060db30e600000000508da337 0000000060db30e600000000508da337bool(true)
Output for 5.4.44
000000005b14f83b000000002d0279d2 000000005b14f83b000000002d0279d2bool(true)
Output for 5.4.43
000000003fbd4c1b000000000478939f 000000003fbd4c1b000000000478939fbool(true)
Output for 5.4.42
000000005f0a4fe000000000782de7be 000000005f0a4fe000000000782de7bebool(true)
Output for 5.4.41
000000002b567c2e000000007198ab76 000000002b567c2e000000007198ab76bool(true)
Output for 5.4.40
000000003afda02100000000702a501f 000000003afda02100000000702a501fbool(true)
Output for 5.4.39
000000005d6745040000000078069be7 000000005d6745040000000078069be7bool(true)
Output for 5.4.38
0000000036b7ed930000000036ff46bc 0000000036b7ed930000000036ff46bcbool(true)
Output for 5.4.37
000000001b2340df000000005002bb78 000000001b2340df000000005002bb78bool(true)
Output for 5.4.36
000000004fefdb7e00000000400a4521 000000004fefdb7e00000000400a4521bool(true)
Output for 5.4.35
000000001b196517000000004a1e8ada 000000001b196517000000004a1e8adabool(true)
Output for 5.4.34
00000000258c81f0000000007d425fc8 00000000258c81f0000000007d425fc8bool(true)
Output for 5.4.32
000000005ff3111c000000005d8d2480 000000005ff3111c000000005d8d2480bool(true)
Output for 5.4.31
000000001e484c2100000000762e7206 000000001e484c2100000000762e7206bool(true)
Output for 5.4.30
000000005eb992b8000000005e1ab129 000000005eb992b8000000005e1ab129bool(true)
Output for 5.4.29
000000002b8163b7000000004274e927 000000002b8163b7000000004274e927bool(true)
Output for 5.4.28
00000000388c6a38000000002ffd2d97 00000000388c6a38000000002ffd2d97bool(true)
Output for 5.4.27
000000007651d980000000001f759bb6 000000007651d980000000001f759bb6bool(true)
Output for 5.4.26
00000000170dc034000000003f93359d 00000000170dc034000000003f93359dbool(true)
Output for 5.4.25
000000004b2cf1760000000025943dfd 000000004b2cf1760000000025943dfdbool(true)
Output for 5.4.24
000000007aff8c65000000005e78ff65 000000007aff8c65000000005e78ff65bool(true)
Output for 5.4.23
000000000a8bb9980000000017323147 000000000a8bb9980000000017323147bool(true)
Output for 5.4.22
0000000054f5f690000000000ba52e19 0000000054f5f690000000000ba52e19bool(true)
Output for 5.4.21
0000000019953359000000004b579b3f 0000000019953359000000004b579b3fbool(true)
Output for 5.4.20
00000000088a813e000000000b2c7b31 00000000088a813e000000000b2c7b31bool(true)
Output for 5.4.19
000000003bda814c0000000077bc56ee 000000003bda814c0000000077bc56eebool(true)
Output for 5.4.18
0000000059ebb0d5000000002c8cbf7f 0000000059ebb0d5000000002c8cbf7fbool(true)
Output for 5.4.17
0000000078946f460000000024e1ad06 0000000078946f460000000024e1ad06bool(true)
Output for 5.4.16
0000000034a17999000000007cc0f241 0000000034a17999000000007cc0f241bool(true)
Output for 5.4.15
0000000002eece61000000005616177a 0000000002eece61000000005616177abool(true)
Output for 5.4.14
000000001e85d9380000000022b043ac 000000001e85d9380000000022b043acbool(true)
Output for 5.4.13
00000000758c6c1e000000007730fe27 00000000758c6c1e000000007730fe27bool(true)
Output for 5.4.12
000000003cb96eef0000000000f00a8f 000000003cb96eef0000000000f00a8fbool(true)
Output for 5.4.11
0000000066f6c9df0000000015558d01 0000000066f6c9df0000000015558d01bool(true)
Output for 5.4.10
000000000e7cab570000000015e56205 000000000e7cab570000000015e56205bool(true)
Output for 5.4.9
000000005d55166600000000031e2cbb 000000005d55166600000000031e2cbbbool(true)
Output for 5.4.8
00000000703e8e1c0000000058921f64 00000000703e8e1c0000000058921f64bool(true)
Output for 5.4.7
00000000329999b6000000005b51eedf 00000000329999b6000000005b51eedfbool(true)
Output for 5.4.6
000000005a3b54ef000000002dfeb5f7 000000005a3b54ef000000002dfeb5f7bool(true)
Output for 5.4.5
0000000002d9aea200000000698c6d40 0000000002d9aea200000000698c6d40bool(true)
Output for 5.4.4
000000002750988800000000449e3d13 000000002750988800000000449e3d13bool(true)
Output for 5.4.3
00000000772d6fb4000000006b61ccb0 00000000772d6fb4000000006b61ccb0bool(true)
Output for 5.4.2
000000004a98a232000000006f1eb6c4 000000004a98a232000000006f1eb6c4bool(true)
Output for 5.4.1
000000003cc95e8b0000000030236e5f 000000003cc95e8b0000000030236e5fbool(true)
Output for 5.4.0
000000004b7588b50000000079a66a6a 000000004b7588b50000000079a66a6abool(true)
Output for 5.3.29
000000000082f9f10000000016181a8b 000000000082f9f10000000016181a8bbool(true)
Output for 5.3.28
00000000320aa06f000000000453548d 00000000320aa06f000000000453548dbool(true)
Output for 5.3.27
000000001f187b70000000000d561f17 000000001f187b70000000000d561f17bool(true)
Output for 5.3.26
000000007cf460f10000000073353845 000000007cf460f10000000073353845bool(true)
Output for 5.3.25
0000000016167ccf000000003cc6c476 0000000016167ccf000000003cc6c476bool(true)
Output for 5.3.24
000000006074963f0000000008345dfa 000000006074963f0000000008345dfabool(true)
Output for 5.3.23
000000002b5e1bbf000000005a51c660 000000002b5e1bbf000000005a51c660bool(true)
Output for 5.3.22
000000001c7657670000000016e21ff6 000000001c7657670000000016e21ff6bool(true)
Output for 5.3.21
0000000069731edc000000005d7d9908 0000000069731edc000000005d7d9908bool(true)
Output for 5.3.20
0000000004b24adc000000001c51eea9 0000000004b24adc000000001c51eea9bool(true)
Output for 5.3.19
0000000036002a4100000000736cd3ee 0000000036002a4100000000736cd3eebool(true)
Output for 5.3.18
000000007987d91300000000597d6fc4 000000007987d91300000000597d6fc4bool(true)
Output for 5.3.17
0000000061fdacd4000000000499245e 0000000061fdacd4000000000499245ebool(true)
Output for 5.3.16
0000000023bb055c0000000056116864 0000000023bb055c0000000056116864bool(true)
Output for 5.3.15
000000002b489c9d00000000257f5a83 000000002b489c9d00000000257f5a83bool(true)
Output for 5.3.14
0000000013079465000000002dbbfce8 0000000013079465000000002dbbfce8bool(true)
Output for 5.3.13
0000000050c24f620000000069dfad31 0000000050c24f620000000069dfad31bool(true)
Output for 5.3.12
000000006b6466790000000071f4d151 000000006b6466790000000071f4d151bool(true)
Output for 5.3.11
000000002652f7af0000000050beeac5 000000002652f7af0000000050beeac5bool(true)
Output for 5.3.10
000000006f5c83d900000000097e32e6 000000006f5c83d900000000097e32e6bool(true)
Output for 5.3.9
00000000596b77ad000000006ecd5c06 00000000596b77ad000000006ecd5c06bool(true)
Output for 5.3.8
0000000026e79660000000004e917c8f 0000000026e79660000000004e917c8fbool(true)
Output for 5.3.7
00000000319443ff000000002fb76d96 00000000319443ff000000002fb76d96bool(true)
Output for 5.3.6
00000000221bf9c80000000004632d17 00000000221bf9c80000000004632d17bool(true)
Output for 5.3.5
0000000018879c42000000000e127c5f 0000000018879c42000000000e127c5fbool(true)
Output for 5.3.4
000000001c3c7690000000006e7476b1 000000001c3c7690000000006e7476b1bool(true)
Output for 5.3.3
000000005671c407000000000e20bd79 000000005671c407000000000e20bd79bool(true)
Output for 5.3.2
000000006005ab4f000000006671670d 000000006005ab4f000000006671670dbool(true)
Output for 5.3.1
0000000027bc09700000000061125c7d 0000000027bc09700000000061125c7dbool(true)
Output for 5.3.0
000000006c00b396000000000aec5c08 000000006c00b396000000000aec5c08bool(true)
Output for 5.2.17
861a2f056a593edc2697eec710327754 861a2f056a593edc2697eec710327754bool(true)
Output for 5.2.15 - 5.2.16
bab3da487bfe51e3bada7ed6962c83d7 bab3da487bfe51e3bada7ed6962c83d7bool(true)
Output for 5.2.14
6827d7150a80a95428b05b2dbc0dcb10 6827d7150a80a95428b05b2dbc0dcb10bool(true)
Output for 5.2.13
4d9da188dd696504eef8aed3fde97e02 4d9da188dd696504eef8aed3fde97e02bool(true)
Output for 5.2.12
617357606fc417e758728410d8dad7f3 617357606fc417e758728410d8dad7f3bool(true)
Output for 5.2.9, 5.2.11
52ee78937c6a89104904aed13987318e 52ee78937c6a89104904aed13987318ebool(true)
Output for 5.2.10
efe88f76f26081279f31ba49d381104e efe88f76f26081279f31ba49d381104ebool(true)
Output for 5.2.7 - 5.2.8
af89ab9ae8be1068e0d8dc48e55bfcd1 af89ab9ae8be1068e0d8dc48e55bfcd1bool(true)
Output for 5.2.6
950969556ed71c6f363f434ecae32954 950969556ed71c6f363f434ecae32954bool(true)
Output for 5.2.5
a7965ec2cba63ba225597f43def8a4b6 a7965ec2cba63ba225597f43def8a4b6bool(true)
Output for 5.2.4
7ebbed9ad06ebcbd0c3782f6cdf89b51 7ebbed9ad06ebcbd0c3782f6cdf89b51bool(true)
Output for 5.2.3
dc90896f8dce368265954f0524e2a853 dc90896f8dce368265954f0524e2a853bool(true)
Output for 5.2.2
d1877c094161b942518f0f010b1a5be5 d1877c094161b942518f0f010b1a5be5bool(true)
Output for 5.2.1
5663e593b52467eb39485ab4532cfb71 5663e593b52467eb39485ab4532cfb71bool(true)
Output for 5.2.0
73f03f2749114a53db076b2f4bc47285 73f03f2749114a53db076b2f4bc47285bool(true)
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function spl_object_hash() in /in/F86Op 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/F86Op 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/F86Op 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/F86Op on line 5