3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f1 = function() { return 'a'; }; $f2 = function() { return 'b'; }; $f3 = $f1; var_dump(spl_object_hash($f1)); var_dump(spl_object_hash($f2)); var_dump(spl_object_hash($f3));
based on eu6hj
Output for 7.2.0
string(32) "0000000063036dd1000000000d25a7eb" string(32) "0000000063036dd2000000000d25a7eb" string(32) "0000000063036dd1000000000d25a7eb"
Output for 7.1.10
string(32) "000000006a9f364f00000000266566cf" string(32) "000000006a9f364c00000000266566cf" string(32) "000000006a9f364f00000000266566cf"
Output for 7.1.7
string(32) "000000003ade0a310000000074b30d32" string(32) "000000003ade0a320000000074b30d32" string(32) "000000003ade0a310000000074b30d32"
Output for 7.1.6
string(32) "00000000315800b100000000095aaa54" string(32) "00000000315800b200000000095aaa54" string(32) "00000000315800b100000000095aaa54"
Output for 7.1.5
string(32) "00000000457f3428000000002efbe1c2" string(32) "00000000457f342b000000002efbe1c2" string(32) "00000000457f3428000000002efbe1c2"
Output for 7.1.0
string(32) "000000004769066c000000005f1d3f06" string(32) "000000004769066f000000005f1d3f06" string(32) "000000004769066c000000005f1d3f06"
Output for 7.0.20
string(32) "000000000e68ad4000000000644cedb5" string(32) "000000000e68ad4300000000644cedb5" string(32) "000000000e68ad4000000000644cedb5"
Output for 7.0.6
string(32) "0000000059ca6178000000005845f0f4" string(32) "0000000059ca617b000000005845f0f4" string(32) "0000000059ca6178000000005845f0f4"
Output for 7.0.5
string(32) "0000000054be8ec5000000007ec1c651" string(32) "0000000054be8ec6000000007ec1c651" string(32) "0000000054be8ec5000000007ec1c651"
Output for 7.0.4
string(32) "0000000009dae86f000000004db4f9a6" string(32) "0000000009dae86c000000004db4f9a6" string(32) "0000000009dae86f000000004db4f9a6"
Output for 7.0.3
string(32) "0000000032896038000000001483b7d4" string(32) "000000003289603b000000001483b7d4" string(32) "0000000032896038000000001483b7d4"
Output for 7.0.2
string(32) "0000000019aabc6a000000004eeafeb0" string(32) "0000000019aabc69000000004eeafeb0" string(32) "0000000019aabc6a000000004eeafeb0"
Output for 7.0.1
string(32) "000000006c53e7c50000000049602a95" string(32) "000000006c53e7c60000000049602a95" string(32) "000000006c53e7c50000000049602a95"
Output for 7.0.0
string(32) "0000000026d874720000000067e8728d" string(32) "0000000026d874710000000067e8728d" string(32) "0000000026d874720000000067e8728d"
Output for 5.6.28
string(32) "00000000752223f1000000005b2b2e17" string(32) "00000000752223f2000000005b2b2e17" string(32) "00000000752223f1000000005b2b2e17"
Output for 5.6.21
string(32) "000000000187410d00000000708dbc47" string(32) "000000000187410e00000000708dbc47" string(32) "000000000187410d00000000708dbc47"
Output for 5.6.20
string(32) "000000001c62df770000000031eabf35" string(32) "000000001c62df740000000031eabf35" string(32) "000000001c62df770000000031eabf35"
Output for 5.6.19
string(32) "000000002948de6d0000000041547497" string(32) "000000002948de6e0000000041547497" string(32) "000000002948de6d0000000041547497"
Output for 5.6.18
string(32) "000000001a67770d000000004ab32f2e" string(32) "000000001a67770e000000004ab32f2e" string(32) "000000001a67770d000000004ab32f2e"
Output for 5.6.17
string(32) "00000000218aa7d6000000001754730d" string(32) "00000000218aa7d5000000001754730d" string(32) "00000000218aa7d6000000001754730d"
Output for 5.6.16
string(32) "00000000081b4c8c000000002c89f8f1" string(32) "00000000081b4c8f000000002c89f8f1" string(32) "00000000081b4c8c000000002c89f8f1"
Output for 5.6.15
string(32) "000000006f1e63430000000019a1c4ef" string(32) "000000006f1e63400000000019a1c4ef" string(32) "000000006f1e63430000000019a1c4ef"
Output for 5.6.14
string(32) "000000005c591148000000006af30978" string(32) "000000005c59114b000000006af30978" string(32) "000000005c591148000000006af30978"
Output for 5.6.13
string(32) "0000000037e79adf00000000621bc452" string(32) "0000000037e79adc00000000621bc452" string(32) "0000000037e79adf00000000621bc452"
Output for 5.6.12
string(32) "0000000032ca981c000000004258ac3c" string(32) "0000000032ca981f000000004258ac3c" string(32) "0000000032ca981c000000004258ac3c"
Output for 5.6.11
string(32) "000000003737ab62000000006ded746f" string(32) "000000003737ab61000000006ded746f" string(32) "000000003737ab62000000006ded746f"
Output for 5.6.10
string(32) "000000004998ab3a0000000011ba7005" string(32) "000000004998ab390000000011ba7005" string(32) "000000004998ab3a0000000011ba7005"
Output for 5.6.9
string(32) "000000006766d6e3000000003afc303c" string(32) "000000006766d6e0000000003afc303c" string(32) "000000006766d6e3000000003afc303c"
Output for 5.6.8
string(32) "000000006de0f18f000000003b047b55" string(32) "000000006de0f18c000000003b047b55" string(32) "000000006de0f18f000000003b047b55"
Output for 5.5.35
string(32) "000000000cfc0e9900000000772bbfb2" string(32) "000000000cfc0e9a00000000772bbfb2" string(32) "000000000cfc0e9900000000772bbfb2"
Output for 5.5.34
string(32) "000000001b707ffd0000000036c934fd" string(32) "000000001b707ffe0000000036c934fd" string(32) "000000001b707ffd0000000036c934fd"
Output for 5.5.33
string(32) "000000000b6be1b2000000003a686ecd" string(32) "000000000b6be1b1000000003a686ecd" string(32) "000000000b6be1b2000000003a686ecd"
Output for 5.5.32
string(32) "000000002876f45e0000000045c4a2ce" string(32) "000000002876f45d0000000045c4a2ce" string(32) "000000002876f45e0000000045c4a2ce"
Output for 5.5.31
string(32) "0000000029c4e2a8000000005f0bc0f2" string(32) "0000000029c4e2ab000000005f0bc0f2" string(32) "0000000029c4e2a8000000005f0bc0f2"
Output for 5.5.30
string(32) "000000005656ac3000000000038c4f6d" string(32) "000000005656ac3300000000038c4f6d" string(32) "000000005656ac3000000000038c4f6d"
Output for 5.5.29
string(32) "000000003404584a000000003236ecc5" string(32) "0000000034045849000000003236ecc5" string(32) "000000003404584a000000003236ecc5"
Output for 5.5.28
string(32) "000000003e9c9fc8000000005b2c4768" string(32) "000000003e9c9fcb000000005b2c4768" string(32) "000000003e9c9fc8000000005b2c4768"
Output for 5.5.27
string(32) "000000007e6cbe100000000000da4832" string(32) "000000007e6cbe130000000000da4832" string(32) "000000007e6cbe100000000000da4832"
Output for 5.5.26
string(32) "000000007fa03c2c000000007ab43c8f" string(32) "000000007fa03c2f000000007ab43c8f" string(32) "000000007fa03c2c000000007ab43c8f"
Output for 5.5.25
string(32) "000000000ffcf69200000000606f54a5" string(32) "000000000ffcf69100000000606f54a5" string(32) "000000000ffcf69200000000606f54a5"
Output for 5.5.24
string(32) "000000007f110b520000000064792171" string(32) "000000007f110b510000000064792171" string(32) "000000007f110b520000000064792171"
Output for 5.4.45
string(32) "0000000017e9223400000000384f83ad" string(32) "0000000017e9223700000000384f83ad" string(32) "0000000017e9223400000000384f83ad"
Output for 5.4.44
string(32) "000000007d3506f900000000408af2f3" string(32) "000000007d3506fa00000000408af2f3" string(32) "000000007d3506f900000000408af2f3"
Output for 5.4.43
string(32) "000000004e0cb303000000004b109c93" string(32) "000000004e0cb300000000004b109c93" string(32) "000000004e0cb303000000004b109c93"
Output for 5.4.42
string(32) "000000001cf2bb04000000000607a06e" string(32) "000000001cf2bb07000000000607a06e" string(32) "000000001cf2bb04000000000607a06e"
Output for 5.4.41
string(32) "00000000258a76430000000019e20607" string(32) "00000000258a76400000000019e20607" string(32) "00000000258a76430000000019e20607"
Output for 5.4.40
string(32) "0000000046b2e96a000000003f7c18ef" string(32) "0000000046b2e969000000003f7c18ef" string(32) "0000000046b2e96a000000003f7c18ef"
Output for 5.4.39
string(32) "0000000039e5627c000000001710e654" string(32) "0000000039e5627f000000001710e654" string(32) "0000000039e5627c000000001710e654"
Output for 5.4.38
string(32) "000000003493ed71000000006991e748" string(32) "000000003493ed72000000006991e748" string(32) "000000003493ed71000000006991e748"
Output for 5.4.37
string(32) "000000001ba59cc4000000006c0574de" string(32) "000000001ba59cc7000000006c0574de" string(32) "000000001ba59cc4000000006c0574de"
Output for 5.4.36
string(32) "0000000065db35cd000000002c1205db" string(32) "0000000065db35ce000000002c1205db" string(32) "0000000065db35cd000000002c1205db"
Output for 5.4.35
string(32) "000000001cb4299300000000762e8d36" string(32) "000000001cb4299000000000762e8d36" string(32) "000000001cb4299300000000762e8d36"
Output for 5.4.34
string(32) "000000007052d4bd000000006e40f11a" string(32) "000000007052d4be000000006e40f11a" string(32) "000000007052d4bd000000006e40f11a"
Output for 5.4.32
string(32) "0000000078fbb33700000000739cbd58" string(32) "0000000078fbb33400000000739cbd58" string(32) "0000000078fbb33700000000739cbd58"
Output for 5.4.31
string(32) "000000007a7f2ab1000000007f72bf6e" string(32) "000000007a7f2ab2000000007f72bf6e" string(32) "000000007a7f2ab1000000007f72bf6e"
Output for 5.4.30
string(32) "000000006a94042e00000000724d6548" string(32) "000000006a94042d00000000724d6548" string(32) "000000006a94042e00000000724d6548"
Output for 5.4.29
string(32) "000000003c52a16b000000006677a6f9" string(32) "000000003c52a168000000006677a6f9" string(32) "000000003c52a16b000000006677a6f9"
Output for 5.4.28
string(32) "00000000216b5bbf000000000db38201" string(32) "00000000216b5bbc000000000db38201" string(32) "00000000216b5bbf000000000db38201"
Output for 5.4.27
string(32) "00000000420b722300000000305bcde0" string(32) "00000000420b722000000000305bcde0" string(32) "00000000420b722300000000305bcde0"
Output for 5.4.26
string(32) "00000000586e60c80000000010fbbdf3" string(32) "00000000586e60cb0000000010fbbdf3" string(32) "00000000586e60c80000000010fbbdf3"
Output for 5.4.25
string(32) "000000005c63fc67000000006eb1a1a8" string(32) "000000005c63fc64000000006eb1a1a8" string(32) "000000005c63fc67000000006eb1a1a8"
Output for 5.4.24
string(32) "000000003df89fc2000000006bed78ef" string(32) "000000003df89fc1000000006bed78ef" string(32) "000000003df89fc2000000006bed78ef"
Output for 5.4.23
string(32) "000000005109f6bd000000004fc475cd" string(32) "000000005109f6be000000004fc475cd" string(32) "000000005109f6bd000000004fc475cd"
Output for 5.4.22
string(32) "0000000054669d2f000000007157e6e5" string(32) "0000000054669d2c000000007157e6e5" string(32) "0000000054669d2f000000007157e6e5"
Output for 5.4.21
string(32) "0000000002fa617a000000002c7238fd" string(32) "0000000002fa6179000000002c7238fd" string(32) "0000000002fa617a000000002c7238fd"
Output for 5.4.20
string(32) "0000000020dc3e64000000003f9f7281" string(32) "0000000020dc3e67000000003f9f7281" string(32) "0000000020dc3e64000000003f9f7281"
Output for 5.4.19
string(32) "0000000010783e900000000055da9b5f" string(32) "0000000010783e930000000055da9b5f" string(32) "0000000010783e900000000055da9b5f"
Output for 5.4.18
string(32) "00000000355c18cf000000002acbd738" string(32) "00000000355c18cc000000002acbd738" string(32) "00000000355c18cf000000002acbd738"
Output for 5.4.17
string(32) "0000000043c5ceaf0000000079a318e2" string(32) "0000000043c5ceac0000000079a318e2" string(32) "0000000043c5ceaf0000000079a318e2"
Output for 5.4.16
string(32) "000000005e67cd92000000002fd89af8" string(32) "000000005e67cd91000000002fd89af8" string(32) "000000005e67cd92000000002fd89af8"
Output for 5.4.15
string(32) "000000006e95f4990000000051b193f4" string(32) "000000006e95f49a0000000051b193f4" string(32) "000000006e95f4990000000051b193f4"
Output for 5.4.14
string(32) "000000006321669c0000000016d99241" string(32) "000000006321669f0000000016d99241" string(32) "000000006321669c0000000016d99241"
Output for 5.4.13
string(32) "00000000272a5890000000006f379d0b" string(32) "00000000272a5893000000006f379d0b" string(32) "00000000272a5890000000006f379d0b"
Output for 5.4.12
string(32) "0000000008df8a0500000000091ec1d9" string(32) "0000000008df8a0600000000091ec1d9" string(32) "0000000008df8a0500000000091ec1d9"
Output for 5.4.11
string(32) "000000004c43c8ec00000000149f6e88" string(32) "000000004c43c8ef00000000149f6e88" string(32) "000000004c43c8ec00000000149f6e88"
Output for 5.4.10
string(32) "0000000079e32e5d00000000516b06dc" string(32) "0000000079e32e5e00000000516b06dc" string(32) "0000000079e32e5d00000000516b06dc"
Output for 5.3.29
string(32) "000000001f5c5d63000000006e61ee2f" string(32) "000000001f5c5d60000000006e61ee2f" string(32) "000000001f5c5d63000000006e61ee2f"
Output for 5.3.28
string(32) "000000001e310049000000000b9a661e" string(32) "000000001e31004a000000000b9a661e" string(32) "000000001e310049000000000b9a661e"
Output for 5.3.27
string(32) "000000007b5f84fd000000003715a497" string(32) "000000007b5f84fe000000003715a497" string(32) "000000007b5f84fd000000003715a497"
Output for 5.3.26
string(32) "0000000003bfd9bd00000000496fd488" string(32) "0000000003bfd9be00000000496fd488" string(32) "0000000003bfd9bd00000000496fd488"
Output for 5.3.25
string(32) "000000003cb1e83d0000000048754e78" string(32) "000000003cb1e83e0000000048754e78" string(32) "000000003cb1e83d0000000048754e78"
Output for 5.3.24
string(32) "000000003ec2d3de0000000049bd44b4" string(32) "000000003ec2d3dd0000000049bd44b4" string(32) "000000003ec2d3de0000000049bd44b4"
Output for 5.3.23
string(32) "00000000141f9683000000005fa7d238" string(32) "00000000141f9680000000005fa7d238" string(32) "00000000141f9683000000005fa7d238"
Output for 5.3.22
string(32) "000000001e2c5bd1000000005d97c601" string(32) "000000001e2c5bd2000000005d97c601" string(32) "000000001e2c5bd1000000005d97c601"
Output for 5.3.21
string(32) "0000000035e9a36f0000000024fd5522" string(32) "0000000035e9a36c0000000024fd5522" string(32) "0000000035e9a36f0000000024fd5522"
Output for 5.3.20
string(32) "000000005f5af600000000006b2c32dc" string(32) "000000005f5af603000000006b2c32dc" string(32) "000000005f5af600000000006b2c32dc"