3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class User { public $id; } $jane = new User; $jane->id = 1; $mary = new User; $mary->id = 1; var_dump(spl_object_hash($jane), spl_object_hash($mary)); var_dump($mary === $jane);
Output for 7.2.0
string(32) "00000000661fa2ef00000000487b8f54" string(32) "00000000661fa2ec00000000487b8f54" bool(false)
Output for 7.1.10
string(32) "000000002749a6880000000010692b42" string(32) "000000002749a68b0000000010692b42" bool(false)
Output for 7.1.7
string(32) "000000000a6073d9000000002366000d" string(32) "000000000a6073da000000002366000d" bool(false)
Output for 7.1.6
string(32) "0000000039d2c9e90000000032f9a02c" string(32) "0000000039d2c9ea0000000032f9a02c" bool(false)
Output for 7.1.5
string(32) "000000005ae633750000000035af68be" string(32) "000000005ae633760000000035af68be" bool(false)
Output for 7.1.0
string(32) "0000000029d02cbe00000000129d9330" string(32) "0000000029d02cbd00000000129d9330" bool(false)
Output for 7.0.20
string(32) "00000000460b5f19000000001233c7b8" string(32) "00000000460b5f1a000000001233c7b8" bool(false)
Output for 7.0.6
string(32) "000000002f18e68a0000000031ec30e7" string(32) "000000002f18e6890000000031ec30e7" bool(false)
Output for 7.0.5
string(32) "000000001a148f42000000000b63638c" string(32) "000000001a148f41000000000b63638c" bool(false)
Output for 7.0.4
string(32) "0000000060a6c820000000004c5f27b1" string(32) "0000000060a6c823000000004c5f27b1" bool(false)
Output for 7.0.3
string(32) "0000000059d32a58000000004c809927" string(32) "0000000059d32a5b000000004c809927" bool(false)
Output for 7.0.2
string(32) "000000000e5f5d9100000000454feddc" string(32) "000000000e5f5d9200000000454feddc" bool(false)
Output for 7.0.1
string(32) "000000004b1c247500000000083e3d9e" string(32) "000000004b1c247600000000083e3d9e" bool(false)
Output for 7.0.0
string(32) "00000000634a1cea000000002b88b9c4" string(32) "00000000634a1ce9000000002b88b9c4" bool(false)
Output for 5.6.21
string(32) "000000003d6eff0d000000005e4c2c4d" string(32) "000000003d6eff0e000000005e4c2c4d" bool(false)
Output for 5.6.20
string(32) "000000001477790b0000000035e9ab1c" string(32) "00000000147779080000000035e9ab1c" bool(false)
Output for 5.6.19
string(32) "0000000066cb08420000000059012fcb" string(32) "0000000066cb08410000000059012fcb" bool(false)
Output for 5.6.18
string(32) "00000000399489820000000070b80fd5" string(32) "00000000399489810000000070b80fd5" bool(false)
Output for 5.6.17
string(32) "0000000020de5446000000003b13fcbb" string(32) "0000000020de5445000000003b13fcbb" bool(false)
Output for 5.6.16
string(32) "0000000049df19ab00000000258e334b" string(32) "0000000049df19a800000000258e334b" bool(false)
Output for 5.6.15
string(32) "00000000359734ec000000002b9e5c93" string(32) "00000000359734ef000000002b9e5c93" bool(false)
Output for 5.6.14
string(32) "000000002317f8a10000000045711ef3" string(32) "000000002317f8a20000000045711ef3" bool(false)
Output for 5.6.13
string(32) "0000000062717194000000002badccee" string(32) "0000000062717197000000002badccee" bool(false)
Output for 5.6.12
string(32) "0000000014f05cf3000000005e824ea7" string(32) "0000000014f05cf0000000005e824ea7" bool(false)
Output for 5.6.11
string(32) "000000003d51294f0000000015276996" string(32) "000000003d51294c0000000015276996" bool(false)
Output for 5.6.10
string(32) "000000005f19b78900000000702a904c" string(32) "000000005f19b78a00000000702a904c" bool(false)
Output for 5.6.9
string(32) "0000000052315e53000000001cb4ceb4" string(32) "0000000052315e50000000001cb4ceb4" bool(false)
Output for 5.6.8
string(32) "000000003c5e08960000000048fcab2c" string(32) "000000003c5e08950000000048fcab2c" bool(false)
Output for 5.5.35
string(32) "000000004b026d730000000063fa969b" string(32) "000000004b026d700000000063fa969b" bool(false)
Output for 5.5.34
string(32) "0000000012d3a3e600000000064736ca" string(32) "0000000012d3a3e500000000064736ca" bool(false)
Output for 5.5.33
string(32) "00000000531d7a3e000000006c3a58d4" string(32) "00000000531d7a3d000000006c3a58d4" bool(false)
Output for 5.5.32
string(32) "000000006f852c460000000057b18b85" string(32) "000000006f852c450000000057b18b85" bool(false)
Output for 5.5.31
string(32) "00000000465bdab60000000064d9148e" string(32) "00000000465bdab50000000064d9148e" bool(false)
Output for 5.5.30
string(32) "000000000f07074d000000003ae53b95" string(32) "000000000f07074e000000003ae53b95" bool(false)
Output for 5.5.29
string(32) "000000005f36049d00000000741fbe41" string(32) "000000005f36049e00000000741fbe41" bool(false)
Output for 5.5.28
string(32) "0000000001ceef3f000000006a953d81" string(32) "0000000001ceef3c000000006a953d81" bool(false)
Output for 5.5.27
string(32) "00000000360ba19900000000283753b8" string(32) "00000000360ba19a00000000283753b8" bool(false)
Output for 5.5.26
string(32) "000000003b7bcfa5000000000b3bf35c" string(32) "000000003b7bcfa6000000000b3bf35c" bool(false)
Output for 5.5.25
string(32) "000000001008fc58000000006c857524" string(32) "000000001008fc5b000000006c857524" bool(false)
Output for 5.5.24
string(32) "0000000056893b6c000000002ce4c8fa" string(32) "0000000056893b6f000000002ce4c8fa" bool(false)
Output for 5.4.45
string(32) "0000000056625f0e000000002fa00f66" string(32) "0000000056625f0d000000002fa00f66" bool(false)
Output for 5.4.44
string(32) "0000000051d90b85000000002183716f" string(32) "0000000051d90b86000000002183716f" bool(false)
Output for 5.4.43
string(32) "000000002e239b460000000018034b04" string(32) "000000002e239b450000000018034b04" bool(false)
Output for 5.4.42
string(32) "0000000063c05700000000005f62c94d" string(32) "0000000063c05703000000005f62c94d" bool(false)
Output for 5.4.41
string(32) "0000000030cd8bdd0000000065419d3a" string(32) "0000000030cd8bde0000000065419d3a" bool(false)
Output for 5.4.40
string(32) "000000005e2d60b5000000003e82bcff" string(32) "000000005e2d60b6000000003e82bcff" bool(false)
Output for 5.4.39
string(32) "000000001635f8f40000000060cfc9d7" string(32) "000000001635f8f70000000060cfc9d7" bool(false)
Output for 5.4.38
string(32) "000000002b5be34a0000000063a5a276" string(32) "000000002b5be3490000000063a5a276" bool(false)
Output for 5.4.37
string(32) "00000000530f5423000000005291aeb3" string(32) "00000000530f5420000000005291aeb3" bool(false)
Output for 5.4.36
string(32) "00000000435b690b000000003cb00ccb" string(32) "00000000435b6908000000003cb00ccb" bool(false)
Output for 5.4.35
string(32) "00000000515dfdb00000000024990a26" string(32) "00000000515dfdb30000000024990a26" bool(false)
Output for 5.4.34
string(32) "00000000793e58050000000006b93ca7" string(32) "00000000793e58060000000006b93ca7" bool(false)
Output for 5.4.32
string(32) "0000000064fd57de0000000007c4bd8d" string(32) "0000000064fd57dd0000000007c4bd8d" bool(false)
Output for 5.4.31
string(32) "000000002bd434a80000000061cfaff4" string(32) "000000002bd434ab0000000061cfaff4" bool(false)
Output for 5.4.30
string(32) "000000003a1ab065000000001ced4171" string(32) "000000003a1ab066000000001ced4171" bool(false)
Output for 5.4.29
string(32) "0000000053eea1a10000000011fbb7ad" string(32) "0000000053eea1a20000000011fbb7ad" bool(false)
Output for 5.4.28
string(32) "0000000013fda67c000000004dc8417d" string(32) "0000000013fda67f000000004dc8417d" bool(false)
Output for 5.4.27
string(32) "0000000052eac3570000000050c71f73" string(32) "0000000052eac3540000000050c71f73" bool(false)
Output for 5.4.26
string(32) "00000000028a9a5c0000000060f951bc" string(32) "00000000028a9a5f0000000060f951bc" bool(false)
Output for 5.4.25
string(32) "00000000389184c30000000039567575" string(32) "00000000389184c00000000039567575" bool(false)
Output for 5.4.24
string(32) "0000000051054cb100000000344ba955" string(32) "0000000051054cb200000000344ba955" bool(false)
Output for 5.4.23
string(32) "0000000026fdfaa7000000007118e2ef" string(32) "0000000026fdfaa4000000007118e2ef" bool(false)
Output for 5.4.22
string(32) "0000000023283bd6000000003e1f4fd9" string(32) "0000000023283bd5000000003e1f4fd9" bool(false)
Output for 5.4.21
string(32) "000000000be1b897000000006b242bba" string(32) "000000000be1b894000000006b242bba" bool(false)
Output for 5.4.20
string(32) "000000006654da78000000007d41d702" string(32) "000000006654da7b000000007d41d702" bool(false)
Output for 5.4.19
string(32) "000000007adae78c000000004e5d1304" string(32) "000000007adae78f000000004e5d1304" bool(false)
Output for 5.4.18
string(32) "000000004ccced480000000051b92a2c" string(32) "000000004ccced4b0000000051b92a2c" bool(false)
Output for 5.4.17
string(32) "000000003a75e2120000000076fa708d" string(32) "000000003a75e2110000000076fa708d" bool(false)
Output for 5.4.16
string(32) "0000000051aa875500000000163ca892" string(32) "0000000051aa875600000000163ca892" bool(false)
Output for 5.4.15
string(32) "000000001db859c7000000003d707f37" string(32) "000000001db859c4000000003d707f37" bool(false)
Output for 5.4.14
string(32) "0000000070545706000000001567830d" string(32) "0000000070545705000000001567830d" bool(false)
Output for 5.4.13
string(32) "00000000265289aa0000000015bd74ef" string(32) "00000000265289a90000000015bd74ef" bool(false)
Output for 5.4.12
string(32) "0000000038127ced0000000009889c36" string(32) "0000000038127cee0000000009889c36" bool(false)
Output for 5.4.11
string(32) "00000000274444b9000000002a31c72e" string(32) "00000000274444ba000000002a31c72e" bool(false)
Output for 5.4.10
string(32) "0000000021cb45170000000051cdad73" string(32) "0000000021cb45140000000051cdad73" bool(false)
Output for 5.4.9
string(32) "00000000714424a6000000007f72d72c" string(32) "00000000714424a5000000007f72d72c" bool(false)
Output for 5.4.8
string(32) "00000000764479bc00000000443c6e06" string(32) "00000000764479bf00000000443c6e06" bool(false)
Output for 5.4.7
string(32) "00000000732e8f820000000068be3511" string(32) "00000000732e8f810000000068be3511" bool(false)
Output for 5.4.6
string(32) "00000000613a5a5f00000000595d5f77" string(32) "00000000613a5a5c00000000595d5f77" bool(false)
Output for 5.4.5
string(32) "000000004f882ed5000000005116910a" string(32) "000000004f882ed6000000005116910a" bool(false)
Output for 5.4.4
string(32) "000000007010df6e00000000104291b6" string(32) "000000007010df6d00000000104291b6" bool(false)
Output for 5.4.3
string(32) "000000002d6e3640000000006babb3d5" string(32) "000000002d6e3643000000006babb3d5" bool(false)
Output for 5.4.2
string(32) "0000000041702d3a000000001b75fc89" string(32) "0000000041702d39000000001b75fc89" bool(false)
Output for 5.4.1
string(32) "0000000073dc835c000000001e5ca4f9" string(32) "0000000073dc835f000000001e5ca4f9" bool(false)
Output for 5.3.29
string(32) "0000000069e16e2f000000000d2be378" string(32) "0000000069e16e2c000000000d2be378" bool(false)
Output for 5.3.28
string(32) "0000000045108b72000000001aea71bc" string(32) "0000000045108b71000000001aea71bc" bool(false)
Output for 5.3.27
string(32) "000000000b46a9ca000000004c85042e" string(32) "000000000b46a9c9000000004c85042e" bool(false)
Output for 5.3.26
string(32) "000000007f5f55f7000000004e45618e" string(32) "000000007f5f55f4000000004e45618e" bool(false)
Output for 5.3.25
string(32) "0000000050fe880e0000000038b0ff62" string(32) "0000000050fe880d0000000038b0ff62" bool(false)
Output for 5.3.24
string(32) "000000005e6b29b900000000309f443c" string(32) "000000005e6b29ba00000000309f443c" bool(false)
Output for 5.3.23
string(32) "0000000072a07588000000005110d8ab" string(32) "0000000072a0758b000000005110d8ab" bool(false)
Output for 5.3.22
string(32) "0000000064a427f600000000241fb8ec" string(32) "0000000064a427f500000000241fb8ec" bool(false)
Output for 5.3.21
string(32) "000000000a59be6a0000000028bd66c6" string(32) "000000000a59be690000000028bd66c6" bool(false)
Output for 5.3.20
string(32) "000000007bc7d1af000000001f89e636" string(32) "000000007bc7d1ac000000001f89e636" bool(false)
Output for 5.3.19
string(32) "0000000076fa20920000000003634652" string(32) "0000000076fa20910000000003634652" bool(false)
Output for 5.3.18
string(32) "000000002bd8c76a0000000009aa8899" string(32) "000000002bd8c7690000000009aa8899" bool(false)