3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = function(){}; $b = function(){}; var_dump(spl_object_hash($a), spl_object_hash($b));
Output for 7.3.0rc4
string(32) "000000002852a9b300000000458bad4a" string(32) "000000002852a9b000000000458bad4a"
Output for 7.3.0rc3
string(32) "00000000433abb78000000004944cf6d" string(32) "00000000433abb7b000000004944cf6d"
Output for 7.3.0beta1
string(32) "0000000008a542540000000059bdd7db" string(32) "0000000008a542570000000059bdd7db"
Output for 7.3.0alpha1
string(32) "0000000014a084920000000075d21543" string(32) "0000000014a084910000000075d21543"
Output for 7.2.6
string(32) "000000004dc69e780000000001f7fdee" string(32) "000000004dc69e7b0000000001f7fdee"
Output for 7.2.0
string(32) "000000000cfb43a9000000005ee10c4b" string(32) "000000000cfb43aa000000005ee10c4b"
Output for 7.1.20
string(32) "000000006c527cea000000002f977e3a" string(32) "000000006c527ce9000000002f977e3a"
Output for 7.1.10
string(32) "000000007335de9200000000216c8677" string(32) "000000007335de9100000000216c8677"
Output for 7.1.7
string(32) "000000005112f0730000000073eb8d85" string(32) "000000005112f0700000000073eb8d85"
Output for 7.1.6
string(32) "0000000056af07510000000044da0719" string(32) "0000000056af07520000000044da0719"
Output for 7.1.5
string(32) "0000000055f5d636000000003588f982" string(32) "0000000055f5d635000000003588f982"
Output for 7.1.0
string(32) "0000000077078e5f000000005dca6cbf" string(32) "0000000077078e5c000000005dca6cbf"
Output for 7.0.20
string(32) "000000001adadd870000000051472202" string(32) "000000001adadd840000000051472202"
Output for 7.0.14
string(32) "000000004be5d11400000000695c67fa" string(32) "000000004be5d11700000000695c67fa"
Output for 7.0.7
string(32) "00000000343c77530000000017d27ffd" string(32) "00000000343c77500000000017d27ffd"
Output for 7.0.6
string(32) "000000004c2bf9ec0000000015c1e760" string(32) "000000004c2bf9ef0000000015c1e760"
Output for 7.0.5
string(32) "0000000007af3f50000000003aff0648" string(32) "0000000007af3f53000000003aff0648"
Output for 7.0.4
string(32) "000000003fc879d800000000757a0572" string(32) "000000003fc879db00000000757a0572"
Output for 7.0.3
string(32) "0000000047c17994000000000f88ef4e" string(32) "0000000047c17997000000000f88ef4e"
Output for 7.0.2
string(32) "0000000058a98c7800000000753aafa2" string(32) "0000000058a98c7b00000000753aafa2"
Output for 7.0.1
string(32) "000000007126f59e0000000060dcb51e" string(32) "000000007126f59d0000000060dcb51e"
Output for 7.0.0
string(32) "00000000148a9ef40000000060705f20" string(32) "00000000148a9ef70000000060705f20"
Output for 5.6.28
string(32) "0000000024046d440000000068121982" string(32) "0000000024046d470000000068121982"
Output for 5.6.22
string(32) "0000000032320ce1000000004c34e2a5" string(32) "0000000032320ce2000000004c34e2a5"
Output for 5.6.21
string(32) "000000002db50d1c000000007929fb72" string(32) "000000002db50d1f000000007929fb72"
Output for 5.6.20
string(32) "000000004694758d000000004439e80b" string(32) "000000004694758e000000004439e80b"
Output for 5.6.19
string(32) "000000007486c58e000000003166fd9f" string(32) "000000007486c58d000000003166fd9f"
Output for 5.6.18
string(32) "0000000057ed2cff0000000013f42682" string(32) "0000000057ed2cfc0000000013f42682"
Output for 5.6.17
string(32) "0000000000608b8a000000007a2b9ad7" string(32) "0000000000608b89000000007a2b9ad7"
Output for 5.6.16
string(32) "00000000290159fa000000002c14b4e3" string(32) "00000000290159f9000000002c14b4e3"
Output for 5.6.15
string(32) "000000007cb8926e000000001abad6fa" string(32) "000000007cb8926d000000001abad6fa"
Output for 5.6.14
string(32) "0000000018a74c41000000005cecd239" string(32) "0000000018a74c42000000005cecd239"
Output for 5.6.13
string(32) "000000003385a476000000005f106edf" string(32) "000000003385a475000000005f106edf"
Output for 5.6.12
string(32) "000000006961ea0f0000000005ca6aeb" string(32) "000000006961ea0c0000000005ca6aeb"
Output for 5.6.11
string(32) "000000001666b330000000004d2b19d6" string(32) "000000001666b333000000004d2b19d6"
Output for 5.6.10
string(32) "0000000009707869000000001564372a" string(32) "000000000970786a000000001564372a"
Output for 5.6.9
string(32) "000000003099d27a0000000050c64828" string(32) "000000003099d2790000000050c64828"
Output for 5.6.8
string(32) "000000001af1c66d00000000097e1109" string(32) "000000001af1c66e00000000097e1109"
Output for 5.6.7
string(32) "000000006eabb76e0000000074bee632" string(32) "000000006eabb76d0000000074bee632"
Output for 5.6.6
string(32) "00000000587177670000000027389bc0" string(32) "00000000587177640000000027389bc0"
Output for 5.6.5
string(32) "0000000009d2bf15000000000174d908" string(32) "0000000009d2bf16000000000174d908"
Output for 5.6.4
string(32) "00000000103a61d5000000005021b95a" string(32) "00000000103a61d6000000005021b95a"
Output for 5.6.3
string(32) "000000006a57150e000000001c17df96" string(32) "000000006a57150d000000001c17df96"
Output for 5.6.2
string(32) "000000005fe5b9ce000000003970f3b1" string(32) "000000005fe5b9cd000000003970f3b1"
Output for 5.6.1
string(32) "0000000039092295000000000230b85a" string(32) "0000000039092296000000000230b85a"
Output for 5.6.0
string(32) "0000000024f41c0e0000000034ce8e16" string(32) "0000000024f41c0d0000000034ce8e16"
Output for 5.5.36
string(32) "0000000013028cb0000000005e982489" string(32) "0000000013028cb3000000005e982489"
Output for 5.5.35
string(32) "00000000682f9910000000000f36de1d" string(32) "00000000682f9913000000000f36de1d"
Output for 5.5.34
string(32) "00000000720e1014000000004a9465c4" string(32) "00000000720e1017000000004a9465c4"
Output for 5.5.33
string(32) "000000001c2b879b000000007efaf35e" string(32) "000000001c2b8798000000007efaf35e"
Output for 5.5.32
string(32) "0000000012edbfe90000000038540aef" string(32) "0000000012edbfea0000000038540aef"
Output for 5.5.31
string(32) "0000000047a54491000000002072c67a" string(32) "0000000047a54492000000002072c67a"
Output for 5.5.30
string(32) "0000000068558c7800000000117a00ba" string(32) "0000000068558c7b00000000117a00ba"
Output for 5.5.29
string(32) "000000000c195a9a0000000072360260" string(32) "000000000c195a990000000072360260"
Output for 5.5.28
string(32) "000000001cc86fe1000000000f062700" string(32) "000000001cc86fe2000000000f062700"
Output for 5.5.27
string(32) "00000000245da58a0000000048fd88f7" string(32) "00000000245da5890000000048fd88f7"
Output for 5.5.26
string(32) "000000004cc3e1740000000035077ef8" string(32) "000000004cc3e1770000000035077ef8"
Output for 5.5.25
string(32) "0000000078fa8bab00000000463459a2" string(32) "0000000078fa8ba800000000463459a2"
Output for 5.5.24
string(32) "00000000208fb1de000000005e3f7938" string(32) "00000000208fb1dd000000005e3f7938"
Output for 5.5.23
string(32) "000000005325b537000000002c1ab7f4" string(32) "000000005325b534000000002c1ab7f4"
Output for 5.5.22
string(32) "00000000334aa26d0000000036a37eb3" string(32) "00000000334aa26e0000000036a37eb3"
Output for 5.5.21
string(32) "0000000014093c7700000000051eebf2" string(32) "0000000014093c7400000000051eebf2"
Output for 5.5.20
string(32) "000000006286f7810000000057922652" string(32) "000000006286f7820000000057922652"
Output for 5.5.19
string(32) "000000003849278e0000000052694f27" string(32) "000000003849278d0000000052694f27"
Output for 5.5.18
string(32) "000000002f18892e0000000063cb7eb4" string(32) "000000002f18892d0000000063cb7eb4"
Output for 5.5.16
string(32) "0000000078d442110000000023fda600" string(32) "0000000078d442120000000023fda600"
Output for 5.5.15
string(32) "0000000001f89f430000000015a88b12" string(32) "0000000001f89f400000000015a88b12"
Output for 5.5.14
string(32) "0000000046095a51000000004a1b87fe" string(32) "0000000046095a52000000004a1b87fe"
Output for 5.5.13
string(32) "000000000890786c000000002f261f9f" string(32) "000000000890786f000000002f261f9f"
Output for 5.5.12
string(32) "00000000484c47e8000000003639d276" string(32) "00000000484c47eb000000003639d276"
Output for 5.5.11
string(32) "000000006fa10e97000000001545e29f" string(32) "000000006fa10e94000000001545e29f"
Output for 5.5.10
string(32) "000000000adc6863000000001fb0b5f6" string(32) "000000000adc6860000000001fb0b5f6"
Output for 5.5.9
string(32) "000000006b23c53e000000004bd2a846" string(32) "000000006b23c53d000000004bd2a846"
Output for 5.5.8
string(32) "00000000046f6a6f000000004d8b9cd2" string(32) "00000000046f6a6c000000004d8b9cd2"
Output for 5.5.7
string(32) "000000001131312d00000000472a41ab" string(32) "000000001131312e00000000472a41ab"
Output for 5.5.6
string(32) "0000000063497535000000006a068481" string(32) "0000000063497536000000006a068481"
Output for 5.5.5
string(32) "000000005a6f9fa10000000025a2bd46" string(32) "000000005a6f9fa20000000025a2bd46"
Output for 5.5.4
string(32) "0000000014ad4caa00000000525f7c7a" string(32) "0000000014ad4ca900000000525f7c7a"
Output for 5.5.3
string(32) "000000001137fc91000000004c249d52" string(32) "000000001137fc92000000004c249d52"
Output for 5.5.2
string(32) "00000000620aa8ee000000004e23bcf3" string(32) "00000000620aa8ed000000004e23bcf3"
Output for 5.5.1
string(32) "000000004c067b7d000000000a8f2a79" string(32) "000000004c067b7e000000000a8f2a79"
Output for 5.5.0
string(32) "000000003ce2eacd00000000341a029d" string(32) "000000003ce2eace00000000341a029d"
Output for 5.4.45
string(32) "000000001df505a0000000002c580318" string(32) "000000001df505a3000000002c580318"
Output for 5.4.44
string(32) "000000003e18e2d3000000004d0e1f32" string(32) "000000003e18e2d0000000004d0e1f32"
Output for 5.4.43
string(32) "000000001d24c1f5000000001b3d6d22" string(32) "000000001d24c1f6000000001b3d6d22"
Output for 5.4.42
string(32) "0000000025a76f3c000000002a233e78" string(32) "0000000025a76f3f000000002a233e78"
Output for 5.4.41
string(32) "0000000078537cf800000000062253e2" string(32) "0000000078537cfb00000000062253e2"
Output for 5.4.40
string(32) "0000000027dcc676000000006d0128d9" string(32) "0000000027dcc675000000006d0128d9"
Output for 5.4.39
string(32) "000000006056978b0000000073c8bdff" string(32) "00000000605697880000000073c8bdff"
Output for 5.4.38
string(32) "000000001987e380000000007098063b" string(32) "000000001987e383000000007098063b"
Output for 5.4.37
string(32) "0000000076822394000000001b7183b0" string(32) "0000000076822397000000001b7183b0"
Output for 5.4.36
string(32) "0000000007bc638f0000000078d41d1c" string(32) "0000000007bc638c0000000078d41d1c"
Output for 5.4.35
string(32) "00000000421673fa000000002854903d" string(32) "00000000421673f9000000002854903d"
Output for 5.4.34
string(32) "000000000d4d057c0000000036ba400b" string(32) "000000000d4d057f0000000036ba400b"
Output for 5.4.32
string(32) "00000000593b218a000000006afea4e1" string(32) "00000000593b2189000000006afea4e1"
Output for 5.4.31
string(32) "000000006ab6786c00000000003dd5f7" string(32) "000000006ab6786f00000000003dd5f7"
Output for 5.4.30
string(32) "0000000051002755000000000894fcc3" string(32) "0000000051002756000000000894fcc3"
Output for 5.4.29
string(32) "00000000779f9149000000007c5a1edb" string(32) "00000000779f914a000000007c5a1edb"
Output for 5.4.28
string(32) "000000002b0ba3fb0000000034a18614" string(32) "000000002b0ba3f80000000034a18614"
Output for 5.4.27
string(32) "000000004af074fa000000002c9a44e8" string(32) "000000004af074f9000000002c9a44e8"
Output for 5.4.26
string(32) "00000000108ac8eb000000003efa2784" string(32) "00000000108ac8e8000000003efa2784"
Output for 5.4.25
string(32) "000000004111cff60000000040350940" string(32) "000000004111cff50000000040350940"
Output for 5.4.24
string(32) "0000000031c9b7c7000000005d905281" string(32) "0000000031c9b7c4000000005d905281"
Output for 5.4.23
string(32) "000000001ae2a000000000002a3fba88" string(32) "000000001ae2a003000000002a3fba88"
Output for 5.4.22
string(32) "000000002a3b803700000000185fa6c7" string(32) "000000002a3b803400000000185fa6c7"
Output for 5.4.21
string(32) "0000000075040d170000000011db1a4f" string(32) "0000000075040d140000000011db1a4f"
Output for 5.4.20
string(32) "000000007f4619d70000000046c30d4f" string(32) "000000007f4619d40000000046c30d4f"
Output for 5.4.19
string(32) "000000007632489e00000000510b7cb7" string(32) "000000007632489d00000000510b7cb7"
Output for 5.4.18
string(32) "000000002919b4900000000012caca7e" string(32) "000000002919b4930000000012caca7e"
Output for 5.4.17
string(32) "0000000068f558d100000000769e24d2" string(32) "0000000068f558d200000000769e24d2"
Output for 5.4.16
string(32) "0000000050fa990700000000648cd229" string(32) "0000000050fa990400000000648cd229"
Output for 5.4.15
string(32) "0000000078006f850000000033900155" string(32) "0000000078006f860000000033900155"
Output for 5.4.14
string(32) "000000000bbde5d70000000024803975" string(32) "000000000bbde5d40000000024803975"
Output for 5.4.13
string(32) "000000004d0e54a9000000001a308d03" string(32) "000000004d0e54aa000000001a308d03"
Output for 5.4.12
string(32) "00000000361ddc43000000000e596bb9" string(32) "00000000361ddc40000000000e596bb9"
Output for 5.4.11
string(32) "000000007d961960000000007b6b66f8" string(32) "000000007d961963000000007b6b66f8"
Output for 5.4.10
string(32) "0000000060e1db4800000000700961e2" string(32) "0000000060e1db4b00000000700961e2"
Output for 5.4.9
string(32) "00000000323f2c49000000000ccd6fb2" string(32) "00000000323f2c4a000000000ccd6fb2"
Output for 5.4.8
string(32) "00000000528e57f100000000453f6e43" string(32) "00000000528e57f200000000453f6e43"
Output for 5.4.7
string(32) "000000004ea2551f0000000046ed6ef2" string(32) "000000004ea2551c0000000046ed6ef2"
Output for 5.4.6
string(32) "00000000289e78ab000000006060ea2f" string(32) "00000000289e78a8000000006060ea2f"
Output for 5.4.5
string(32) "000000001d3f45b90000000025a037fb" string(32) "000000001d3f45ba0000000025a037fb"
Output for 5.4.4
string(32) "000000004766a4490000000063e2d0d8" string(32) "000000004766a44a0000000063e2d0d8"
Output for 5.4.3
string(32) "000000000fc99ccc0000000024623e31" string(32) "000000000fc99ccf0000000024623e31"
Output for 5.4.2
string(32) "00000000577dd47200000000478bffa0" string(32) "00000000577dd47100000000478bffa0"
Output for 5.4.1
string(32) "0000000066132de400000000793fddcd" string(32) "0000000066132de700000000793fddcd"
Output for 5.4.0
string(32) "000000006f31a17000000000378075ac" string(32) "000000006f31a17300000000378075ac"
Output for 5.3.29
string(32) "0000000061e8eb68000000006248a8d7" string(32) "0000000061e8eb6b000000006248a8d7"
Output for 5.3.28
string(32) "000000003d0e35b2000000002e36180b" string(32) "000000003d0e35b1000000002e36180b"
Output for 5.3.27
string(32) "00000000157a08f900000000305c4337" string(32) "00000000157a08fa00000000305c4337"
Output for 5.3.26
string(32) "0000000078bbae980000000029252709" string(32) "0000000078bbae9b0000000029252709"
Output for 5.3.25
string(32) "000000006a0727cd000000001b110960" string(32) "000000006a0727ce000000001b110960"
Output for 5.3.24
string(32) "000000001167bb2f000000006e62a4a0" string(32) "000000001167bb2c000000006e62a4a0"
Output for 5.3.23
string(32) "000000005cf825aa000000007ba7ec58" string(32) "000000005cf825a9000000007ba7ec58"
Output for 5.3.22
string(32) "00000000548b9f8c00000000516d4ca4" string(32) "00000000548b9f8f00000000516d4ca4"
Output for 5.3.21
string(32) "0000000044277a7100000000078d9d31" string(32) "0000000044277a7200000000078d9d31"
Output for 5.3.20
string(32) "000000003738a10c000000002e1f528c" string(32) "000000003738a10f000000002e1f528c"
Output for 5.3.19
string(32) "000000000cdd357300000000576c541e" string(32) "000000000cdd357000000000576c541e"
Output for 5.3.18
string(32) "0000000018da845600000000285954ba" string(32) "0000000018da845500000000285954ba"
Output for 5.3.17
string(32) "000000000eadcdc20000000000ba7998" string(32) "000000000eadcdc10000000000ba7998"
Output for 5.3.16
string(32) "000000001c73c64300000000177da21c" string(32) "000000001c73c64000000000177da21c"
Output for 5.3.15
string(32) "00000000616fa99c0000000078d2dee5" string(32) "00000000616fa99f0000000078d2dee5"
Output for 5.3.14
string(32) "00000000012de59e000000000923b89f" string(32) "00000000012de59d000000000923b89f"
Output for 5.3.13
string(32) "000000004d0d09bc0000000070652289" string(32) "000000004d0d09bf0000000070652289"
Output for 5.3.12
string(32) "000000000e1c660900000000110cb758" string(32) "000000000e1c660a00000000110cb758"
Output for 5.3.11
string(32) "00000000745067980000000004a1afeb" string(32) "000000007450679b0000000004a1afeb"
Output for 5.3.10
string(32) "0000000014868776000000007fd915b1" string(32) "0000000014868775000000007fd915b1"
Output for 5.3.9
string(32) "000000006dce99260000000061616ba1" string(32) "000000006dce99250000000061616ba1"
Output for 5.3.8
string(32) "0000000058649fe6000000005881729a" string(32) "0000000058649fe5000000005881729a"
Output for 5.3.7
string(32) "00000000315ec43b00000000676db207" string(32) "00000000315ec43800000000676db207"
Output for 5.3.6
string(32) "000000001eb28f780000000067eb6a99" string(32) "000000001eb28f7b0000000067eb6a99"
Output for 5.3.5
string(32) "00000000492dc9250000000063876bcd" string(32) "00000000492dc9260000000063876bcd"
Output for 5.3.4
string(32) "000000007cfc22f90000000008d18a84" string(32) "000000007cfc22fa0000000008d18a84"
Output for 5.3.3
string(32) "0000000030456c4e0000000054eaf8b8" string(32) "0000000030456c4d0000000054eaf8b8"
Output for 5.3.2
string(32) "000000003991ca950000000063d84fae" string(32) "000000003991ca960000000063d84fae"
Output for 5.3.1
string(32) "0000000073c8d06a0000000053065c2f" string(32) "0000000073c8d0690000000053065c2f"
Output for 5.3.0
string(32) "0000000006ca6c06000000000d51a1d0" string(32) "0000000006ca6c05000000000d51a1d0"
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/qf5I2 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION in /in/qf5I2 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/qf5I2 on line 3
Process exited with code 255.