3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A {} $a = new A; $b = $a; echo spl_object_hash($a); echo PHP_EOL; echo spl_object_hash($b);
Output for 7.3.0rc4
000000002d77951f00000000073f250c 000000002d77951f00000000073f250c
Output for 7.3.0rc3
000000001445b9a5000000004b4c7bd7 000000001445b9a5000000004b4c7bd7
Output for 7.3.0beta1
0000000032f492f5000000001533c912 0000000032f492f5000000001533c912
Output for 7.3.0alpha1
000000004264235a0000000025f1b818 000000004264235a0000000025f1b818
Output for 7.2.6
000000002ad2fd310000000035e6f50b 000000002ad2fd310000000035e6f50b
Output for 7.2.0
000000006a804bb80000000073d20024 000000006a804bb80000000073d20024
Output for 7.1.20
000000006a4c0d4f0000000027cd23cf 000000006a4c0d4f0000000027cd23cf
Output for 7.1.10
000000002a3857ad000000005c7a50b3 000000002a3857ad000000005c7a50b3
Output for 7.1.7
0000000050acb1d400000000658d4503 0000000050acb1d400000000658d4503
Output for 7.1.6
000000007f0ef1010000000041a36dc5 000000007f0ef1010000000041a36dc5
Output for 7.1.5
000000003c37ce87000000000c1a0da5 000000003c37ce87000000000c1a0da5
Output for 7.1.0
00000000132641920000000043d70e13 00000000132641920000000043d70e13
Output for 7.0.20
0000000045c8d30d000000003e035cb3 0000000045c8d30d000000003e035cb3
Output for 7.0.6
00000000324e83a6000000002c5591a1 00000000324e83a6000000002c5591a1
Output for 7.0.5
0000000029cceee80000000066ac84f1 0000000029cceee80000000066ac84f1
Output for 7.0.4
0000000011463ba6000000006ccb47cf 0000000011463ba6000000006ccb47cf
Output for 7.0.3
000000003e5d2abd000000006e8ac9aa 000000003e5d2abd000000006e8ac9aa
Output for 7.0.2
000000002c992d760000000034a75d56 000000002c992d760000000034a75d56
Output for 7.0.1
0000000027db7425000000005046bda3 0000000027db7425000000005046bda3
Output for 7.0.0
00000000157fc27200000000112dd15f 00000000157fc27200000000112dd15f
Output for 5.6.28
0000000076dd20040000000012bedd77 0000000076dd20040000000012bedd77
Output for 5.6.21
0000000031e7aab6000000001637f9b2 0000000031e7aab6000000001637f9b2
Output for 5.6.20
000000003412f6e20000000075195fec 000000003412f6e20000000075195fec
Output for 5.6.19
000000007658871b000000007e7754a8 000000007658871b000000007e7754a8
Output for 5.6.18
00000000470ba01b000000002579755c 00000000470ba01b000000002579755c
Output for 5.6.17
000000003f30515e000000007db900ca 000000003f30515e000000007db900ca
Output for 5.6.16
000000000b6616d0000000007ba91299 000000000b6616d0000000007ba91299
Output for 5.6.15
00000000240e9033000000003caed176 00000000240e9033000000003caed176
Output for 5.6.14
000000005372a36e00000000384ec8aa 000000005372a36e00000000384ec8aa
Output for 5.6.13
000000001784ce8a00000000394a57fb 000000001784ce8a00000000394a57fb
Output for 5.6.12
0000000025d06966000000002037e0b2 0000000025d06966000000002037e0b2
Output for 5.6.11
000000007737585e000000005421083e 000000007737585e000000005421083e
Output for 5.6.10
00000000707229d000000000622296b5 00000000707229d000000000622296b5
Output for 5.6.9
00000000265866b2000000001220b8c8 00000000265866b2000000001220b8c8
Output for 5.6.8
000000006f8a65420000000039875c8f 000000006f8a65420000000039875c8f
Output for 5.5.35
000000002fe2f0c3000000001a8e0126 000000002fe2f0c3000000001a8e0126
Output for 5.5.34
0000000043329e11000000004481dcd3 0000000043329e11000000004481dcd3
Output for 5.5.33
000000000be2433f000000001ccde456 000000000be2433f000000001ccde456
Output for 5.5.32
000000001795a2b50000000005bf634c 000000001795a2b50000000005bf634c
Output for 5.5.31
0000000052e143dc00000000741b6480 0000000052e143dc00000000741b6480
Output for 5.5.30
0000000015cef00a000000002c94d1c5 0000000015cef00a000000002c94d1c5
Output for 5.5.29
00000000305a37ab00000000215a1e83 00000000305a37ab00000000215a1e83
Output for 5.5.28
000000000ad503190000000056118be2 000000000ad503190000000056118be2
Output for 5.5.27
0000000007ae6daf000000000478afe0 0000000007ae6daf000000000478afe0
Output for 5.5.26
0000000029a34aa00000000072678685 0000000029a34aa00000000072678685
Output for 5.5.25
0000000004a301ee0000000059b16534 0000000004a301ee0000000059b16534
Output for 5.5.24
0000000025b0629f000000002c6839bb 0000000025b0629f000000002c6839bb
Output for 5.4.45
0000000028940cfc0000000040a64b07 0000000028940cfc0000000040a64b07
Output for 5.4.44
0000000023f0733a00000000507d35bc 0000000023f0733a00000000507d35bc
Output for 5.4.43
000000001fb0bafd000000005db32ac2 000000001fb0bafd000000005db32ac2
Output for 5.4.42
00000000096620680000000023a88d4d 00000000096620680000000023a88d4d
Output for 5.4.41
00000000227894a2000000007bcb5fb2 00000000227894a2000000007bcb5fb2
Output for 5.4.40
00000000196b9a1c0000000018a77a79 00000000196b9a1c0000000018a77a79
Output for 5.4.39
000000005e56e31d0000000078ae0d41 000000005e56e31d0000000078ae0d41
Output for 5.4.38
000000007024bd3e0000000037622635 000000007024bd3e0000000037622635
Output for 5.4.37
000000006fbc9b8700000000085b99bd 000000006fbc9b8700000000085b99bd
Output for 5.4.36
000000003612773d000000003079c010 000000003612773d000000003079c010
Output for 5.4.35
00000000101f9cab00000000536e56c3 00000000101f9cab00000000536e56c3
Output for 5.4.34
00000000038a0138000000001e64fe21 00000000038a0138000000001e64fe21
Output for 5.4.32
000000002fe76077000000001b3e03db 000000002fe76077000000001b3e03db
Output for 5.4.31
000000001caa747b0000000023ae39c2 000000001caa747b0000000023ae39c2
Output for 5.4.30
00000000342bd08800000000621682a0 00000000342bd08800000000621682a0
Output for 5.4.29
00000000571bef060000000016c08d09 00000000571bef060000000016c08d09
Output for 5.4.28
000000004dd4e181000000006376254a 000000004dd4e181000000006376254a
Output for 5.4.27
000000003b635ba3000000005c4d15c4 000000003b635ba3000000005c4d15c4
Output for 5.4.26
00000000130eb682000000007d67dd35 00000000130eb682000000007d67dd35
Output for 5.4.25
000000005b57e0f9000000002c3d1eae 000000005b57e0f9000000002c3d1eae
Output for 5.4.24
00000000239638ab000000003362a3f4 00000000239638ab000000003362a3f4
Output for 5.4.23
0000000020fceab5000000004af95eb2 0000000020fceab5000000004af95eb2
Output for 5.4.22
000000006e62a279000000002fca2748 000000006e62a279000000002fca2748
Output for 5.4.21
00000000231e78550000000066cfcbba 00000000231e78550000000066cfcbba
Output for 5.4.20
0000000060fc00e100000000714f35ef 0000000060fc00e100000000714f35ef
Output for 5.4.19
00000000026541c90000000004972b40 00000000026541c90000000004972b40
Output for 5.4.18
0000000010693135000000000fda410a 0000000010693135000000000fda410a
Output for 5.4.17
0000000030ccfba30000000043745b20 0000000030ccfba30000000043745b20
Output for 5.4.16
00000000702efd3a00000000298e6240 00000000702efd3a00000000298e6240
Output for 5.4.15
00000000454da9a4000000000801ef57 00000000454da9a4000000000801ef57
Output for 5.4.14
000000002668549c00000000535854a1 000000002668549c00000000535854a1
Output for 5.4.13
000000001edbef7d000000005fb5820e 000000001edbef7d000000005fb5820e
Output for 5.4.12
000000004456340600000000289119da 000000004456340600000000289119da
Output for 5.4.11
000000007d07ae9c000000003199fd36 000000007d07ae9c000000003199fd36
Output for 5.4.10
000000003273381600000000176b357e 000000003273381600000000176b357e
Output for 5.3.29
000000004a48131e000000004fb81735 000000004a48131e000000004fb81735
Output for 5.3.28
000000007706220d000000003f4d9de3 000000007706220d000000003f4d9de3
Output for 5.3.27
0000000013c0ca35000000006d3ee597 0000000013c0ca35000000006d3ee597
Output for 5.3.26
000000004ca2a3840000000015bf572e 000000004ca2a3840000000015bf572e
Output for 5.3.25
00000000145ead4c000000000647ccba 00000000145ead4c000000000647ccba
Output for 5.3.24
0000000067fdbd6a000000006b775209 0000000067fdbd6a000000006b775209
Output for 5.3.23
0000000063c17d320000000043124747 0000000063c17d320000000043124747
Output for 5.3.22
0000000000eb74aa00000000565d6805 0000000000eb74aa00000000565d6805
Output for 5.3.21
00000000290b5d930000000020a668f4 00000000290b5d930000000020a668f4
Output for 5.3.20
00000000724d410f000000001696b410 00000000724d410f000000001696b410