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";
Output for 7.1.0
000000006bf41a06000000007dc4ba86 000000006bf41a06000000007dc4ba86
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 hhvm-3.12.0
000000000000000047e39638aa8dcf8a 000000000000000047e39638aa8dcf8a
Output for hhvm-3.10.0
0000000000000000d3d7007ccbd71ac6 0000000000000000d3d7007ccbd71ac6
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
0000000025ded70b000000002e69f8c9 0000000025ded70b000000002e69f8c9
Output for 5.4.25
000000002e3fad27000000003b649732 000000002e3fad27000000003b649732
Output for 5.4.24
000000002270d0bc000000002930bfb3 000000002270d0bc000000002930bfb3
Output for 5.4.23
0000000053703c54000000006ea2d4dd 0000000053703c54000000006ea2d4dd
Output for 5.4.22
000000001e49abff00000000002eab4e 000000001e49abff00000000002eab4e
Output for 5.4.21
000000006730053e000000002cb3470f 000000006730053e000000002cb3470f
Output for 5.4.20
000000003eafab0a000000007ad1c752 000000003eafab0a000000007ad1c752
Output for 5.4.19
000000006fc8cf92000000000b8fe8fd 000000006fc8cf92000000000b8fe8fd
Output for 5.4.18
000000006a2f6170000000006bcad72e 000000006a2f6170000000006bcad72e
Output for 5.4.17
0000000010a4a461000000006e375dc2 0000000010a4a461000000006e375dc2
Output for 5.4.16
000000005bc020db00000000291a77de 000000005bc020db00000000291a77de
Output for 5.4.15
0000000047bcd962000000003d6b4860 0000000047bcd962000000003d6b4860
Output for 5.4.14
000000000d179e6f0000000031d05371 000000000d179e6f0000000031d05371
Output for 5.4.13
000000003b74f6d000000000427c1269 000000003b74f6d000000000427c1269
Output for 5.4.12
00000000121649bd000000004b43e29c 00000000121649bd000000004b43e29c
Output for 5.4.11
00000000075bed2f000000000da6b24a 00000000075bed2f000000000da6b24a
Output for 5.4.10
000000002ccea60e000000001f72aaa6 000000002ccea60e000000001f72aaa6
Output for 5.4.9
000000005ffaf6ef0000000037b5846e 000000005ffaf6ef0000000037b5846e
Output for 5.4.8
000000006b83754b0000000015854775 000000006b83754b0000000015854775
Output for 5.4.7
0000000054064e06000000004cff12ce 0000000054064e06000000004cff12ce
Output for 5.4.6
0000000009a373e5000000003a1f6d56 0000000009a373e5000000003a1f6d56
Output for 5.4.5
000000004efe6d2a000000004e685393 000000004efe6d2a000000004e685393
Output for 5.4.4
0000000048aaedbc000000002a070ded 0000000048aaedbc000000002a070ded
Output for 5.4.3
000000005c165017000000004007406e 000000005c165017000000004007406e
Output for 5.4.2
0000000036b72607000000000c317141 0000000036b72607000000000c317141
Output for 5.4.1
000000002580d760000000002dec0ced 000000002580d760000000002dec0ced
Output for 5.4.0
00000000307d7e60000000002b39879e 00000000307d7e60000000002b39879e
Output for 5.3.29
000000006715ecb0000000005190c1b6 000000006715ecb0000000005190c1b6
Output for 5.3.28
00000000014ec196000000001be1ff3f 00000000014ec196000000001be1ff3f
Output for 5.3.27
0000000058993b6b00000000184a7c31 0000000058993b6b00000000184a7c31
Output for 5.3.26
000000001a1919d70000000032b8251e 000000001a1919d70000000032b8251e
Output for 5.3.25
00000000333316cd000000006917f5c2 00000000333316cd000000006917f5c2
Output for 5.3.24
00000000723b854f0000000033b1cc21 00000000723b854f0000000033b1cc21
Output for 5.3.23
0000000075ba7dd900000000692a1a20 0000000075ba7dd900000000692a1a20
Output for 5.3.22
00000000787531b100000000087a71e8 00000000787531b100000000087a71e8
Output for 5.3.21
000000004ac9220000000000230aacbb 000000004ac9220000000000230aacbb
Output for 5.3.20
000000006afef204000000002b8f8cc9 000000006afef204000000002b8f8cc9
Output for 5.3.19
000000004a5e1f7f000000002001ca6e 000000004a5e1f7f000000002001ca6e
Output for 5.3.18
0000000059aad05f000000001cb0ac51 0000000059aad05f000000001cb0ac51
Output for 5.3.17
000000005992cd120000000059544ca5 000000005992cd120000000059544ca5
Output for 5.3.16
00000000479e430c00000000636ab529 00000000479e430c00000000636ab529
Output for 5.3.15
000000007a3f13a600000000520f735b 000000007a3f13a600000000520f735b
Output for 5.3.14
000000000e687d4700000000539e9e66 000000000e687d4700000000539e9e66
Output for 5.3.13
000000006830cc210000000066ca0c66 000000006830cc210000000066ca0c66
Output for 5.3.12
000000000958736500000000703c7b09 000000000958736500000000703c7b09
Output for 5.3.11
0000000036e4a33a0000000012d697b7 0000000036e4a33a0000000012d697b7
Output for 5.3.10
0000000075880df00000000012019b20 0000000075880df00000000012019b20
Output for 5.3.9
000000007344078d000000000329ea99 000000007344078d000000000329ea99
Output for 5.3.8
00000000261351ea000000004aab59cf 00000000261351ea000000004aab59cf
Output for 5.3.7
000000000d46e442000000007aaa1c15 000000000d46e442000000007aaa1c15
Output for 5.3.6
00000000094884e500000000761f4f25 00000000094884e500000000761f4f25
Output for 5.3.5
0000000009a48da9000000000107b00a 0000000009a48da9000000000107b00a
Output for 5.3.4
000000000affa058000000002c183175 000000000affa058000000002c183175
Output for 5.3.3
000000002e0237d30000000034c6e3fe 000000002e0237d30000000034c6e3fe
Output for 5.3.2
000000001bf519890000000027ff6088 000000001bf519890000000027ff6088
Output for 5.3.1
000000004d761411000000001fbfe4f2 000000004d761411000000001fbfe4f2
Output for 5.3.0
00000000521220b60000000044b21c2a 00000000521220b60000000044b21c2a
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