3v4l.org

run code in 200+ 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.2.0
0000000009bc2b1f0000000047295828 0000000009bc2b1f0000000047295828bool(true)
Output for 7.1.10
000000003a4ab9f9000000004d5da899 000000003a4ab9f9000000004d5da899bool(true)
Output for 7.1.7
000000006e15858a000000007f944517 000000006e15858a000000007f944517bool(true)
Output for 7.1.6
0000000033f6c065000000006142ebc6 0000000033f6c065000000006142ebc6bool(true)
Output for 7.1.5
0000000061d4da96000000002860ce53 0000000061d4da96000000002860ce53bool(true)
Output for 7.1.0
0000000064f10c5f000000004f2f7ccc 0000000064f10c5f000000004f2f7cccbool(true)
Output for 7.0.20
0000000069c5f62b0000000058aa0c91 0000000069c5f62b0000000058aa0c91bool(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
000000003beda4860000000007d48ed3 000000003beda4860000000007d48ed3bool(true)
Output for 5.4.25
000000000fc3a4ac0000000030458d08 000000000fc3a4ac0000000030458d08bool(true)
Output for 5.4.24
000000001b83f4b30000000036815f2e 000000001b83f4b30000000036815f2ebool(true)
Output for 5.4.23
00000000447df139000000004b08a8ec 00000000447df139000000004b08a8ecbool(true)
Output for 5.4.22
000000001803016600000000216c538a 000000001803016600000000216c538abool(true)
Output for 5.4.21
000000001eae7fb70000000022a1ee9b 000000001eae7fb70000000022a1ee9bbool(true)
Output for 5.4.20
0000000018595c580000000046e85c7f 0000000018595c580000000046e85c7fbool(true)
Output for 5.4.19
0000000032e68a8b000000006011b229 0000000032e68a8b000000006011b229bool(true)
Output for 5.4.18
000000003e266163000000004baeb965 000000003e266163000000004baeb965bool(true)
Output for 5.4.17
000000005580a6a40000000000f153ca 000000005580a6a40000000000f153cabool(true)
Output for 5.4.16
000000005771594d00000000168a9cca 000000005771594d00000000168a9ccabool(true)
Output for 5.4.15
000000007daf59c5000000002bbb1467 000000007daf59c5000000002bbb1467bool(true)
Output for 5.4.14
000000007c8627ed0000000008755ab7 000000007c8627ed0000000008755ab7bool(true)
Output for 5.4.13
000000005dcbd00a000000002258a1b5 000000005dcbd00a000000002258a1b5bool(true)
Output for 5.4.12
000000005dcdf4fd00000000166fbc92 000000005dcdf4fd00000000166fbc92bool(true)
Output for 5.4.11
000000004a557179000000000a93985d 000000004a557179000000000a93985dbool(true)
Output for 5.4.10
000000004b1e69b5000000007cf1f0bb 000000004b1e69b5000000007cf1f0bbbool(true)
Output for 5.4.9
000000004fd244f6000000004cf2bacd 000000004fd244f6000000004cf2bacdbool(true)
Output for 5.4.8
000000007e4ad2900000000033b61fc7 000000007e4ad2900000000033b61fc7bool(true)
Output for 5.4.7
000000006f6ee2cf000000007b5d621d 000000006f6ee2cf000000007b5d621dbool(true)
Output for 5.4.6
00000000055b9df00000000076b3eb9a 00000000055b9df00000000076b3eb9abool(true)
Output for 5.4.5
000000001f14e2bc000000007b0dae61 000000001f14e2bc000000007b0dae61bool(true)
Output for 5.4.4
0000000026ea2769000000001974daec 0000000026ea2769000000001974daecbool(true)
Output for 5.4.3
0000000054e9346c0000000031d381f9 0000000054e9346c0000000031d381f9bool(true)
Output for 5.4.2
00000000014ffaf600000000533bf195 00000000014ffaf600000000533bf195bool(true)
Output for 5.4.1
000000005560d49200000000259b9672 000000005560d49200000000259b9672bool(true)
Output for 5.4.0
00000000061c52b900000000310427b0 00000000061c52b900000000310427b0bool(true)
Output for 5.3.29
000000000082f9f10000000016181a8b 000000000082f9f10000000016181a8bbool(true)
Output for 5.3.28
000000002e06f77d0000000021328c46 000000002e06f77d0000000021328c46bool(true)
Output for 5.3.27
0000000006c06d100000000055173206 0000000006c06d100000000055173206bool(true)
Output for 5.3.26
00000000597a55fb000000004a96dcc4 00000000597a55fb000000004a96dcc4bool(true)
Output for 5.3.25
00000000391a5e130000000006a9d3bb 00000000391a5e130000000006a9d3bbbool(true)
Output for 5.3.24
0000000076924245000000003c46391f 0000000076924245000000003c46391fbool(true)
Output for 5.3.23
000000003535dc2c00000000404a98ee 000000003535dc2c00000000404a98eebool(true)
Output for 5.3.22
000000007828fc04000000002a03f51d 000000007828fc04000000002a03f51dbool(true)
Output for 5.3.21
000000006fffe3ce000000002b4b8087 000000006fffe3ce000000002b4b8087bool(true)
Output for 5.3.20
000000002636d2a3000000007c63f764 000000002636d2a3000000007c63f764bool(true)
Output for 5.3.19
000000006ca62145000000003065dba4 000000006ca62145000000003065dba4bool(true)
Output for 5.3.18
00000000138c72890000000037d2ba81 00000000138c72890000000037d2ba81bool(true)
Output for 5.3.17
000000005326dc770000000069fafd6d 000000005326dc770000000069fafd6dbool(true)
Output for 5.3.16
000000001cbae432000000003b14c801 000000001cbae432000000003b14c801bool(true)
Output for 5.3.15
000000005989ddb50000000079026b10 000000005989ddb50000000079026b10bool(true)
Output for 5.3.14
000000006cc97579000000006d4b130e 000000006cc97579000000006d4b130ebool(true)
Output for 5.3.13
0000000026c50cf30000000005f70e91 0000000026c50cf30000000005f70e91bool(true)
Output for 5.3.12
0000000059b0777400000000467f6c43 0000000059b0777400000000467f6c43bool(true)
Output for 5.3.11
000000005c212b8d00000000528f1d7c 000000005c212b8d00000000528f1d7cbool(true)
Output for 5.3.10
000000006c9ee40f00000000620b748a 000000006c9ee40f00000000620b748abool(true)
Output for 5.3.9
00000000239961c0000000005e23148a 00000000239961c0000000005e23148abool(true)
Output for 5.3.8
000000004eeaacae000000004b47f496 000000004eeaacae000000004b47f496bool(true)
Output for 5.3.7
0000000054b9eff900000000550f58f4 0000000054b9eff900000000550f58f4bool(true)
Output for 5.3.6
000000003e66c409000000000c598ace 000000003e66c409000000000c598acebool(true)
Output for 5.3.5
000000007f047ead000000002fb6fbf1 000000007f047ead000000002fb6fbf1bool(true)
Output for 5.3.4
000000004520b00f000000005c071fe0 000000004520b00f000000005c071fe0bool(true)
Output for 5.3.3
00000000586c690e0000000020be8d2c 00000000586c690e0000000020be8d2cbool(true)
Output for 5.3.2
000000001a8cd44c000000007a3c8b6d 000000001a8cd44c000000007a3c8b6dbool(true)
Output for 5.3.1
000000006c46a902000000006681d82e 000000006c46a902000000006681d82ebool(true)
Output for 5.3.0
00000000409e433e0000000076a4137d 00000000409e433e0000000076a4137dbool(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