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";
Output for 7.1.10
00000000622625e6000000005b6a4adb 00000000622625e6000000005b6a4adb
Output for 7.1.7
000000006c29ac500000000046ca5ab4 000000006c29ac500000000046ca5ab4
Output for 7.1.6
000000000eb31cbe000000004125fe13 000000000eb31cbe000000004125fe13
Output for 7.1.5
0000000038317a4a000000005326eac3 0000000038317a4a000000005326eac3
Output for 7.1.0
000000006bf41a06000000007dc4ba86 000000006bf41a06000000007dc4ba86
Output for 7.0.20
0000000079f55b36000000007e0de249 0000000079f55b36000000007e0de249
Output for 7.0.14
000000002ddea8b400000000703582b5 000000002ddea8b400000000703582b5
Output for 7.0.7
0000000050b65adf000000004dd1f825 0000000050b65adf000000004dd1f825
Output for 7.0.6
000000000c85726600000000299de532 000000000c85726600000000299de532
Output for 7.0.5
0000000073a0ca490000000003794b19 0000000073a0ca490000000003794b19
Output for 7.0.4
000000004f08543c0000000014ca7bfc 000000004f08543c0000000014ca7bfc
Output for 7.0.3
000000007e8bdfe90000000048ac5fda 000000007e8bdfe90000000048ac5fda
Output for 7.0.2
000000000af18f7d0000000052aa8e52 000000000af18f7d0000000052aa8e52
Output for 7.0.1
0000000009aeb3940000000057e09589 0000000009aeb3940000000057e09589
Output for 7.0.0
000000004169eceb0000000005b31d2c 000000004169eceb0000000005b31d2c
Output for 5.6.28
000000007c341612000000006bca6e65 000000007c341612000000006bca6e65
Output for 5.6.21
0000000036e84cac000000007106b56c 0000000036e84cac000000007106b56c
Output for 5.6.20
0000000010abecfc000000007b3075b7 0000000010abecfc000000007b3075b7
Output for 5.6.19
0000000033b80857000000007d461c97 0000000033b80857000000007d461c97
Output for 5.6.18
0000000024c2ec0f0000000030afdf2d 0000000024c2ec0f0000000030afdf2d
Output for 5.6.17
0000000025973a5300000000053ced93 0000000025973a5300000000053ced93
Output for 5.6.16
0000000025aa6b6500000000343e537b 0000000025aa6b6500000000343e537b
Output for 5.6.15
00000000508ba005000000006dfcacce 00000000508ba005000000006dfcacce
Output for 5.6.14
000000002eaed3700000000063a53111 000000002eaed3700000000063a53111
Output for 5.6.13
000000003ef2657700000000155b9637 000000003ef2657700000000155b9637
Output for 5.6.12
00000000204f8644000000002d6161ef 00000000204f8644000000002d6161ef
Output for 5.6.11
0000000059b3d3c70000000026d201a9 0000000059b3d3c70000000026d201a9
Output for 5.6.10
000000003c021a4d000000004ed05cd6 000000003c021a4d000000004ed05cd6
Output for 5.6.9
000000005adb35d8000000001a2eee4d 000000005adb35d8000000001a2eee4d
Output for 5.6.8
000000000747adcb00000000327a6e00 000000000747adcb00000000327a6e00
Output for 5.6.7
0000000005a59d3000000000239c6917 0000000005a59d3000000000239c6917
Output for 5.5.35
0000000061b920f2000000007e71e18d 0000000061b920f2000000007e71e18d
Output for 5.5.34
00000000636527b60000000026ae76ab 00000000636527b60000000026ae76ab
Output for 5.5.33
000000007b383d9000000000434d2e03 000000007b383d9000000000434d2e03
Output for 5.5.32
000000001779c1a3000000001c41b9a9 000000001779c1a3000000001c41b9a9
Output for 5.5.31
000000001ae1c7c700000000227bf099 000000001ae1c7c700000000227bf099
Output for 5.5.30
00000000641b35ec000000003399d90a 00000000641b35ec000000003399d90a
Output for 5.5.29
000000000d7e2a900000000007ef9310 000000000d7e2a900000000007ef9310
Output for 5.5.28
0000000074a5ec270000000052004c4d 0000000074a5ec270000000052004c4d
Output for 5.5.27
0000000066541c76000000003502d950 0000000066541c76000000003502d950
Output for 5.5.26
000000000cf12fe9000000007992de8f 000000000cf12fe9000000007992de8f
Output for 5.5.25
000000001a3bd67d0000000048e32993 000000001a3bd67d0000000048e32993
Output for 5.5.24
00000000582a89f60000000077570701 00000000582a89f60000000077570701
Output for 5.4.45
000000002db7cc2e0000000057696cbb 000000002db7cc2e0000000057696cbb
Output for 5.4.44
0000000071eed73f000000005e0c2592 0000000071eed73f000000005e0c2592
Output for 5.4.43
000000005319ef48000000000fb0a4a4 000000005319ef48000000000fb0a4a4
Output for 5.4.42
000000003c0c3f2d0000000025485d17 000000003c0c3f2d0000000025485d17
Output for 5.4.41
000000000a11daa1000000002deac318 000000000a11daa1000000002deac318
Output for 5.4.40
0000000015d756cf0000000058e27f1c 0000000015d756cf0000000058e27f1c
Output for 5.4.39
00000000027c887e00000000060e1463 00000000027c887e00000000060e1463
Output for 5.4.38
000000004098279b000000006ce1cf97 000000004098279b000000006ce1cf97
Output for 5.4.37
0000000008a0e29b00000000639e8b7f 0000000008a0e29b00000000639e8b7f
Output for 5.4.36
0000000024b159cc00000000239d29ec 0000000024b159cc00000000239d29ec
Output for 5.4.35
00000000712eb965000000002c8724c5 00000000712eb965000000002c8724c5
Output for 5.4.34
0000000037a892fb000000001f6c39ee 0000000037a892fb000000001f6c39ee
Output for 5.4.32
000000003711026b0000000003c7b449 000000003711026b0000000003c7b449
Output for 5.4.31
000000000d9ac9ec0000000029f5fffd 000000000d9ac9ec0000000029f5fffd
Output for 5.4.30
00000000660f09bc0000000028c5fa27 00000000660f09bc0000000028c5fa27
Output for 5.4.29
00000000482cc5990000000001df6e33 00000000482cc5990000000001df6e33
Output for 5.4.28
000000001cbd91cd00000000468bcd83 000000001cbd91cd00000000468bcd83
Output for 5.4.27
000000006c8392ba00000000583da096 000000006c8392ba00000000583da096
Output for 5.4.26
000000004d21798f0000000060740d6a 000000004d21798f0000000060740d6a
Output for 5.4.25
00000000656bcde50000000042c63583 00000000656bcde50000000042c63583
Output for 5.4.24
000000000f9ea3800000000024d3a123 000000000f9ea3800000000024d3a123
Output for 5.4.23
000000000b43f0090000000049e355ca 000000000b43f0090000000049e355ca
Output for 5.4.22
000000001addcde100000000462db557 000000001addcde100000000462db557
Output for 5.4.21
0000000052cae12a0000000001c7c515 0000000052cae12a0000000001c7c515
Output for 5.4.20
0000000057b4e0d2000000003838f46e 0000000057b4e0d2000000003838f46e
Output for 5.4.19
0000000054a957270000000047371b9c 0000000054a957270000000047371b9c
Output for 5.4.18
000000007d2906d40000000074ba6432 000000007d2906d40000000074ba6432
Output for 5.4.17
00000000321901d1000000004e88ba64 00000000321901d1000000004e88ba64
Output for 5.4.16
0000000053ccebcd0000000011a08e74 0000000053ccebcd0000000011a08e74
Output for 5.4.15
000000002b17b53c000000007c47616a 000000002b17b53c000000007c47616a
Output for 5.4.14
0000000034d8941c00000000459b93a1 0000000034d8941c00000000459b93a1
Output for 5.4.13
00000000393c5edc000000007fdc66fd 00000000393c5edc000000007fdc66fd
Output for 5.4.12
000000000700761a0000000043dff4e3 000000000700761a0000000043dff4e3
Output for 5.4.11
0000000000c94ac0000000002bbc0116 0000000000c94ac0000000002bbc0116
Output for 5.4.10
000000000e67a287000000005aaffc46 000000000e67a287000000005aaffc46
Output for 5.4.9
0000000051b74d03000000007dc41c56 0000000051b74d03000000007dc41c56
Output for 5.4.8
0000000063a2629c00000000608dc5df 0000000063a2629c00000000608dc5df
Output for 5.4.7
000000007da684ac000000003b8702e2 000000007da684ac000000003b8702e2
Output for 5.4.6
000000007e0a5580000000003dd436ef 000000007e0a5580000000003dd436ef
Output for 5.4.5
00000000470298470000000038de6e26 00000000470298470000000038de6e26
Output for 5.4.4
000000002fb1eed80000000016364c62 000000002fb1eed80000000016364c62
Output for 5.4.3
0000000054cafc840000000032bfbf75 0000000054cafc840000000032bfbf75
Output for 5.4.2
00000000268abe270000000007eeaef1 00000000268abe270000000007eeaef1
Output for 5.4.1
0000000005961134000000007f39cf18 0000000005961134000000007f39cf18
Output for 5.4.0
000000004072ef3600000000527d7230 000000004072ef3600000000527d7230
Output for 5.3.29
000000006715ecb0000000005190c1b6 000000006715ecb0000000005190c1b6
Output for 5.3.28
000000001e5d11f10000000035592f02 000000001e5d11f10000000035592f02
Output for 5.3.27
00000000162fe8190000000072a31e8e 00000000162fe8190000000072a31e8e
Output for 5.3.26
000000000bf90fac0000000074c9a9b6 000000000bf90fac0000000074c9a9b6
Output for 5.3.25
000000003eee1d3d0000000030068e71 000000003eee1d3d0000000030068e71
Output for 5.3.24
0000000005e9ce5b000000002b2ca449 0000000005e9ce5b000000002b2ca449
Output for 5.3.23
0000000047b29d3200000000268aa77d 0000000047b29d3200000000268aa77d
Output for 5.3.22
0000000059ea19d3000000001c988120 0000000059ea19d3000000001c988120
Output for 5.3.21
0000000060795d280000000048bee6c8 0000000060795d280000000048bee6c8
Output for 5.3.20
000000002126993900000000690450f2 000000002126993900000000690450f2
Output for 5.3.19
0000000044506109000000004c386ab7 0000000044506109000000004c386ab7
Output for 5.3.18
000000004d5d266f0000000010897a2e 000000004d5d266f0000000010897a2e
Output for 5.3.17
00000000763fa794000000004e3c288e 00000000763fa794000000004e3c288e
Output for 5.3.16
000000003bc40dda000000005357fcda 000000003bc40dda000000005357fcda
Output for 5.3.15
0000000054837f9a0000000045787dd1 0000000054837f9a0000000045787dd1
Output for 5.3.14
000000002beb77b30000000027e91d3b 000000002beb77b30000000027e91d3b
Output for 5.3.13
0000000006556bc100000000389ac8ff 0000000006556bc100000000389ac8ff
Output for 5.3.12
0000000049ed8d6a00000000472acf7c 0000000049ed8d6a00000000472acf7c
Output for 5.3.11
000000001acc64ff000000000ed9565a 000000001acc64ff000000000ed9565a
Output for 5.3.10
00000000003e1be6000000001fe44d4f 00000000003e1be6000000001fe44d4f
Output for 5.3.9
000000001852d9c50000000040ed1200 000000001852d9c50000000040ed1200
Output for 5.3.8
000000003c8b75990000000012b6503a 000000003c8b75990000000012b6503a
Output for 5.3.7
000000004c1fd6c70000000026d23346 000000004c1fd6c70000000026d23346
Output for 5.3.6
000000003a136597000000004c94e292 000000003a136597000000004c94e292
Output for 5.3.5
000000006c8f85960000000065263438 000000006c8f85960000000065263438
Output for 5.3.4
000000007904b8b3000000000250c0d5 000000007904b8b3000000000250c0d5
Output for 5.3.3
000000004c34c1790000000015611995 000000004c34c1790000000015611995
Output for 5.3.2
00000000226ba0990000000014a7acb7 00000000226ba0990000000014a7acb7
Output for 5.3.1
0000000028c713de000000007d0ab2ca 0000000028c713de000000007d0ab2ca
Output for 5.3.0
000000004ec5720600000000527ce812 000000004ec5720600000000527ce812
Output for 5.2.17
861a2f056a593edc2697eec710327754 861a2f056a593edc2697eec710327754
Output for 5.2.15 - 5.2.16
bab3da487bfe51e3bada7ed6962c83d7 bab3da487bfe51e3bada7ed6962c83d7
Output for 5.2.14
6827d7150a80a95428b05b2dbc0dcb10 6827d7150a80a95428b05b2dbc0dcb10
Output for 5.2.13
4d9da188dd696504eef8aed3fde97e02 4d9da188dd696504eef8aed3fde97e02
Output for 5.2.12
617357606fc417e758728410d8dad7f3 617357606fc417e758728410d8dad7f3
Output for 5.2.9, 5.2.11
52ee78937c6a89104904aed13987318e 52ee78937c6a89104904aed13987318e
Output for 5.2.10
efe88f76f26081279f31ba49d381104e efe88f76f26081279f31ba49d381104e
Output for 5.2.7 - 5.2.8
af89ab9ae8be1068e0d8dc48e55bfcd1 af89ab9ae8be1068e0d8dc48e55bfcd1
Output for 5.2.6
950969556ed71c6f363f434ecae32954 950969556ed71c6f363f434ecae32954
Output for 5.2.5
a7965ec2cba63ba225597f43def8a4b6 a7965ec2cba63ba225597f43def8a4b6
Output for 5.2.4
7ebbed9ad06ebcbd0c3782f6cdf89b51 7ebbed9ad06ebcbd0c3782f6cdf89b51
Output for 5.2.3
dc90896f8dce368265954f0524e2a853 dc90896f8dce368265954f0524e2a853
Output for 5.2.2
d1877c094161b942518f0f010b1a5be5 d1877c094161b942518f0f010b1a5be5
Output for 5.2.1
5663e593b52467eb39485ab4532cfb71 5663e593b52467eb39485ab4532cfb71
Output for 5.2.0
73f03f2749114a53db076b2f4bc47285 73f03f2749114a53db076b2f4bc47285
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function spl_object_hash() in /in/6HWYh 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/6HWYh 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/6HWYh 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/6HWYh on line 5