3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { } $obj1 = new Foo(); $obj2 = new Foo(); echo spl_object_hash($obj1) . '<br />'; echo spl_object_hash($obj2);
Output for 7.2.0
00000000464d66010000000026f79c6a<br />00000000464d66020000000026f79c6a
Output for 7.1.7
0000000024499aab00000000631f9e5b<br />0000000024499aa800000000631f9e5b
Output for 7.1.6
000000005d66e335000000002d9930df<br />000000005d66e336000000002d9930df
Output for 7.1.5
0000000005945245000000001041b2c8<br />0000000005945246000000001041b2c8
Output for 7.1.0
0000000015ab45c40000000015041a9c<br />0000000015ab45c70000000015041a9c
Output for 7.0.20
0000000063c12c06000000006d515ca4<br />0000000063c12c05000000006d515ca4
Output for 7.0.14
000000002422479f0000000039d98fdf<br />000000002422479c0000000039d98fdf
Output for 7.0.7
000000003634333c000000007dabd575<br />000000003634333f000000007dabd575
Output for 7.0.6
000000006a5300ba0000000011b297aa<br />000000006a5300b90000000011b297aa
Output for 7.0.5
00000000790b7d3e000000006c017fa1<br />00000000790b7d3d000000006c017fa1
Output for 7.0.4
000000007b02965f00000000753d0267<br />000000007b02965c00000000753d0267
Output for 7.0.3
00000000241de2d7000000000d7643d2<br />00000000241de2d4000000000d7643d2
Output for 7.0.2
000000002f55f78d0000000071caf0c5<br />000000002f55f78e0000000071caf0c5
Output for 7.0.1
000000000bf4f7b600000000336ffae9<br />000000000bf4f7b500000000336ffae9
Output for 7.0.0
000000003d0da30500000000054adfe9<br />000000003d0da30600000000054adfe9
Output for 5.6.28
0000000077621e2b00000000523a77a3<br />0000000077621e2800000000523a77a3
Output for 5.6.21
0000000057e1cabc000000003368a1ac<br />0000000057e1cabf000000003368a1ac
Output for 5.6.20
000000000dfea37d00000000669da1c1<br />000000000dfea37e00000000669da1c1
Output for 5.6.19
000000004479b81d00000000072cd239<br />000000004479b81e00000000072cd239
Output for 5.6.18
0000000028fe56b00000000045c570db<br />0000000028fe56b30000000045c570db
Output for 5.6.17
0000000064c4e6750000000049fc0d01<br />0000000064c4e6760000000049fc0d01
Output for 5.6.16
000000007d28a18d000000007d5d7439<br />000000007d28a18e000000007d5d7439
Output for 5.6.15
0000000041362fd30000000078b2b375<br />0000000041362fd00000000078b2b375
Output for 5.6.14
00000000536a840300000000311d551f<br />00000000536a840000000000311d551f
Output for 5.6.13
000000004860665b000000004f1a9e69<br />0000000048606658000000004f1a9e69
Output for 5.6.12
000000002fc8b13300000000558181d4<br />000000002fc8b13000000000558181d4
Output for 5.6.11
0000000042f4ff7e000000000b712080<br />0000000042f4ff7d000000000b712080
Output for 5.6.10
00000000128f44370000000032d18f90<br />00000000128f44340000000032d18f90
Output for 5.6.9
0000000046c3cda3000000003c500e72<br />0000000046c3cda0000000003c500e72
Output for 5.6.8
000000001bde12c800000000158a6da6<br />000000001bde12cb00000000158a6da6
Output for 5.6.7
0000000077b70fc70000000008c384b2<br />0000000077b70fc40000000008c384b2
Output for 5.5.35
000000007578fcc90000000063e13aef<br />000000007578fcca0000000063e13aef
Output for 5.5.34
000000002a80c42c00000000632337d9<br />000000002a80c42f00000000632337d9
Output for 5.5.33
0000000069e166950000000069191c5c<br />0000000069e166960000000069191c5c
Output for 5.5.32
0000000060660a2e0000000031eefb8c<br />0000000060660a2d0000000031eefb8c
Output for 5.5.31
000000001edfe67800000000735139f5<br />000000001edfe67b00000000735139f5
Output for 5.5.30
00000000383a251d0000000077927010<br />00000000383a251e0000000077927010
Output for 5.5.29
00000000466359a0000000001ea59751<br />00000000466359a3000000001ea59751
Output for 5.5.28
0000000071c0f0f20000000006b00f47<br />0000000071c0f0f10000000006b00f47
Output for 5.5.27
000000002cd39ea2000000006444c98b<br />000000002cd39ea1000000006444c98b
Output for 5.5.26
00000000504aea850000000046afa131<br />00000000504aea860000000046afa131
Output for 5.5.25
000000005ea39486000000007aa719fa<br />000000005ea39485000000007aa719fa
Output for 5.5.24
000000007169c052000000001fb2985d<br />000000007169c051000000001fb2985d
Output for 5.4.45
00000000512acae100000000243d3dd4<br />00000000512acae200000000243d3dd4
Output for 5.4.44
0000000070d1c009000000002c835517<br />0000000070d1c00a000000002c835517
Output for 5.4.43
000000000c3dc2bb000000002cca1593<br />000000000c3dc2b8000000002cca1593
Output for 5.4.42
000000006a5927020000000059d46e57<br />000000006a5927010000000059d46e57
Output for 5.4.41
000000000d1f44a30000000032cb82fd<br />000000000d1f44a00000000032cb82fd
Output for 5.4.40
000000001c127d450000000034cfd40d<br />000000001c127d460000000034cfd40d
Output for 5.4.39
000000000bb171430000000038840702<br />000000000bb171400000000038840702
Output for 5.4.38
000000002bbcbd31000000000f8da11d<br />000000002bbcbd32000000000f8da11d
Output for 5.4.37
000000002a72a2a200000000345c04f0<br />000000002a72a2a100000000345c04f0
Output for 5.4.36
000000003f366a19000000002a3419ec<br />000000003f366a1a000000002a3419ec
Output for 5.4.35
00000000459116580000000024ab80ee<br />000000004591165b0000000024ab80ee
Output for 5.4.34
0000000012869e380000000012460773<br />0000000012869e3b0000000012460773
Output for 5.4.32
00000000712725090000000042bea366<br />000000007127250a0000000042bea366
Output for 5.4.31
000000002dbb97af0000000021e1c924<br />000000002dbb97ac0000000021e1c924
Output for 5.4.30
00000000198ce1e80000000036956ee1<br />00000000198ce1eb0000000036956ee1
Output for 5.4.29
000000003c89a127000000004fcbcf85<br />000000003c89a124000000004fcbcf85
Output for 5.4.28
0000000066d1f07000000000462bb822<br />0000000066d1f07300000000462bb822
Output for 5.4.27
000000004afbb7c80000000051182cea<br />000000004afbb7cb0000000051182cea
Output for 5.4.26
000000006eb739af0000000044fcabad<br />000000006eb739ac0000000044fcabad
Output for 5.4.25
0000000042484082000000006cb3292d<br />0000000042484081000000006cb3292d
Output for 5.4.24
000000007f9d9347000000003252ca90<br />000000007f9d9344000000003252ca90
Output for 5.4.23
0000000011417ba0000000003765841f<br />0000000011417ba3000000003765841f
Output for 5.4.22
00000000785eb6fc000000001db9a9b3<br />00000000785eb6ff000000001db9a9b3
Output for 5.4.21
00000000270a3f4b0000000062b21c3c<br />00000000270a3f480000000062b21c3c
Output for 5.4.20
000000007eb39de9000000001e588636<br />000000007eb39dea000000001e588636
Output for 5.4.19
00000000443773e200000000007d2068<br />00000000443773e100000000007d2068
Output for 5.4.18
000000007a1262ae000000002c4fc86c<br />000000007a1262ad000000002c4fc86c
Output for 5.4.17
00000000566b438a000000005e53eb56<br />00000000566b4389000000005e53eb56
Output for 5.4.16
00000000547754830000000031e47cf7<br />00000000547754800000000031e47cf7
Output for 5.4.15
000000006f288f09000000004914ab18<br />000000006f288f0a000000004914ab18
Output for 5.4.14
000000007a539e2300000000550dae48<br />000000007a539e2000000000550dae48
Output for 5.4.13
000000004ec17306000000000c19e296<br />000000004ec17305000000000c19e296
Output for 5.4.12
000000001c23bf6a000000005d895844<br />000000001c23bf69000000005d895844
Output for 5.4.11
00000000463a7b950000000041d4d0ca<br />00000000463a7b960000000041d4d0ca
Output for 5.4.10
0000000078c4fb93000000002f2d3f6f<br />0000000078c4fb90000000002f2d3f6f
Output for 5.4.9
000000005a75a24a000000005816679c<br />000000005a75a249000000005816679c
Output for 5.4.8
0000000032637a8900000000697710c1<br />0000000032637a8a00000000697710c1
Output for 5.4.7
000000006d6aa46a000000001717b5ef<br />000000006d6aa469000000001717b5ef
Output for 5.4.6
00000000775e4c1f000000000cae7c9b<br />00000000775e4c1c000000000cae7c9b
Output for 5.4.5
0000000050040a1500000000475c092a<br />0000000050040a1600000000475c092a
Output for 5.4.4
000000001d5606b9000000000684b5c0<br />000000001d5606ba000000000684b5c0
Output for 5.4.3
000000004c23c11b000000001d2caef8<br />000000004c23c118000000001d2caef8
Output for 5.4.2
00000000008b6e830000000057f2e8f7<br />00000000008b6e800000000057f2e8f7
Output for 5.4.1
0000000037b121c9000000000d4b1f87<br />0000000037b121ca000000000d4b1f87
Output for 5.4.0
00000000380da9c90000000024c790a8<br />00000000380da9ca0000000024c790a8
Output for 5.3.29
000000000855fe410000000073c9b633<br />000000000855fe420000000073c9b633
Output for 5.3.28
000000005204f2f8000000002567eb66<br />000000005204f2fb000000002567eb66
Output for 5.3.27
000000001e69acb000000000316eb891<br />000000001e69acb300000000316eb891
Output for 5.3.26
0000000031525acd0000000074fdb4a5<br />0000000031525ace0000000074fdb4a5
Output for 5.3.25
0000000065e27c65000000005c77d324<br />0000000065e27c66000000005c77d324
Output for 5.3.24
000000003a150b30000000001d7939a9<br />000000003a150b33000000001d7939a9
Output for 5.3.23
00000000004ba92200000000100a2543<br />00000000004ba92100000000100a2543
Output for 5.3.22
000000002958a395000000005e50e060<br />000000002958a396000000005e50e060
Output for 5.3.21
000000007463a69e0000000024aea950<br />000000007463a69d0000000024aea950
Output for 5.3.20
000000001099f6780000000035b2d77f<br />000000001099f67b0000000035b2d77f
Output for 5.3.19
00000000375083d6000000000d8070ae<br />00000000375083d5000000000d8070ae
Output for 5.3.18
00000000351a1f4c000000001e056c54<br />00000000351a1f4f000000001e056c54
Output for 5.3.17
00000000528fbf1500000000569874e9<br />00000000528fbf1600000000569874e9
Output for 5.3.16
000000002dcfce8400000000635e58c5<br />000000002dcfce8700000000635e58c5
Output for 5.3.15
000000006d79f2180000000062998761<br />000000006d79f21b0000000062998761
Output for 5.3.14
00000000195b24c8000000000ac9f456<br />00000000195b24cb000000000ac9f456
Output for 5.3.13
000000007763db41000000003a0ef294<br />000000007763db42000000003a0ef294
Output for 5.3.12
00000000587196820000000048e6b7cc<br />00000000587196810000000048e6b7cc
Output for 5.3.11
000000007e7fe2810000000064735920<br />000000007e7fe2820000000064735920
Output for 5.3.10
000000007269e02a0000000056235748<br />000000007269e0290000000056235748
Output for 5.3.9
000000004ad7e8590000000019aad344<br />000000004ad7e85a0000000019aad344
Output for 5.3.8
0000000065ab2da0000000007a88cbae<br />0000000065ab2da3000000007a88cbae
Output for 5.3.7
000000000bb200820000000029822a87<br />000000000bb200810000000029822a87
Output for 5.3.6
0000000014be803c0000000058185bf2<br />0000000014be803f0000000058185bf2
Output for 5.3.5
0000000065981593000000006eead8af<br />0000000065981590000000006eead8af
Output for 5.3.4
000000005aa75e3d000000006cf1e5aa<br />000000005aa75e3e000000006cf1e5aa
Output for 5.3.3
00000000275abe6d00000000787605db<br />00000000275abe6e00000000787605db
Output for 5.3.2
000000001add6b7f00000000252ed772<br />000000001add6b7c00000000252ed772
Output for 5.3.1
0000000066f878810000000064cd3247<br />0000000066f878820000000064cd3247
Output for 5.3.0
0000000063eb65ac000000001e29f877<br />0000000063eb65af000000001e29f877
Output for 5.2.17
861a2f056a593edc2697eec710327754<br />1bc0c4441cc66a8d1bb41a8af7ae1e1c
Output for 5.2.15 - 5.2.16
bab3da487bfe51e3bada7ed6962c83d7<br />56907a50a8e9c975d074d7b1009d5a74
Output for 5.2.14
6827d7150a80a95428b05b2dbc0dcb10<br />6020ade232c05125fb3382e3b26ec44b
Output for 5.2.13
4d9da188dd696504eef8aed3fde97e02<br />332b22f9fcb62d8c8853f59a96cf0568
Output for 5.2.12
617357606fc417e758728410d8dad7f3<br />76f70bcddf428556b587cdd5bef0f40e
Output for 5.2.9, 5.2.11
52ee78937c6a89104904aed13987318e<br />7466004bf89a7ccbc9d57bbe23aee10f
Output for 5.2.10
efe88f76f26081279f31ba49d381104e<br />c9e7ad354f4391649e23480759c6653e
Output for 5.2.7 - 5.2.8
af89ab9ae8be1068e0d8dc48e55bfcd1<br />211922ba75154e1c078b478e27988a06
Output for 5.2.6
950969556ed71c6f363f434ecae32954<br />8d62d4db96875809e27de28a778efc7c
Output for 5.2.5
a7965ec2cba63ba225597f43def8a4b6<br />48d05d7abab6ca87f8a99c22534056d2
Output for 5.2.4
7ebbed9ad06ebcbd0c3782f6cdf89b51<br />905eb61e16b35c95f6ff5fbd1cac925b
Output for 5.2.3
dc90896f8dce368265954f0524e2a853<br />35ebaf980762764da73312a19fb36caf
Output for 5.2.2
d1877c094161b942518f0f010b1a5be5<br />55ba1e034ca9908ef2186f5ca57db953
Output for 5.2.1
5663e593b52467eb39485ab4532cfb71<br />c1357d69cdbf6a57522e24153241fcc4
Output for 5.2.0
73f03f2749114a53db076b2f4bc47285<br />37ce1a2271f4a9d32af6948919f26787
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function spl_object_hash() in /in/oVkg7 on line 11
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: spl_object_hash() in /in/oVkg7 on line 11
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: spl_object_hash() in /in/oVkg7 on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: spl_object_hash() in /in/oVkg7 on line 11