3v4l.org

run code in 150+ 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.1.0
0000000015ab45c40000000015041a9c<br />0000000015ab45c70000000015041a9c
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 hhvm-3.12.0
00000000000000006bdb84a4197767a7<br />00000000000000006bdb84a419776787
Output for hhvm-3.10.0
000000000000000077f899efce597e85<br />000000000000000077f899efce597ea5
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
00000000663eb2c8000000007ce9344b<br />00000000663eb2cb000000007ce9344b
Output for 5.4.24
000000001ae2e7af00000000540e7e8e<br />000000001ae2e7ac00000000540e7e8e
Output for 5.4.23
00000000561da22d0000000064271b55<br />00000000561da22e0000000064271b55
Output for 5.4.22
000000001949c419000000004fb240fd<br />000000001949c41a000000004fb240fd
Output for 5.4.21
00000000209b610f000000000c2e6e0f<br />00000000209b610c000000000c2e6e0f
Output for 5.4.20
00000000191c20ff0000000016957e11<br />00000000191c20fc0000000016957e11
Output for 5.4.19
000000002604f7f5000000003e11b884<br />000000002604f7f6000000003e11b884
Output for 5.4.18
000000000033a85c000000000a5c1037<br />000000000033a85f000000000a5c1037
Output for 5.4.17
000000007422380f0000000061f08924<br />000000007422380c0000000061f08924
Output for 5.4.16
0000000069e7a1fd000000002f0f5d70<br />0000000069e7a1fe000000002f0f5d70
Output for 5.4.15
000000004348116e000000007a7f272e<br />000000004348116d000000007a7f272e
Output for 5.4.14
00000000541151650000000058d4d15c<br />00000000541151660000000058d4d15c
Output for 5.4.13
0000000057e50b2b00000000453bf2f0<br />0000000057e50b2800000000453bf2f0
Output for 5.4.12
000000003500c16c00000000263f1500<br />000000003500c16f00000000263f1500
Output for 5.4.11
00000000043a664e000000001699f424<br />00000000043a664d000000001699f424
Output for 5.4.10
000000003fd15eb4000000001e5a64a2<br />000000003fd15eb7000000001e5a64a2
Output for 5.4.9
000000001554b056000000005b597265<br />000000001554b055000000005b597265
Output for 5.4.8
000000001730c9f90000000079ae30d3<br />000000001730c9fa0000000079ae30d3
Output for 5.4.7
0000000055363ebf0000000058463712<br />0000000055363ebc0000000058463712
Output for 5.4.6
00000000093944730000000043475290<br />00000000093944700000000043475290
Output for 5.4.5
0000000061fb788d00000000578913d2<br />0000000061fb788e00000000578913d2
Output for 5.4.4
0000000044a39294000000002ff8d12d<br />0000000044a39297000000002ff8d12d
Output for 5.4.3
0000000058de8dc0000000002de7fc07<br />0000000058de8dc3000000002de7fc07
Output for 5.4.2
00000000722e0fd2000000003a14a842<br />00000000722e0fd1000000003a14a842
Output for 5.4.1
000000000711f92b000000007a0fd354<br />000000000711f928000000007a0fd354
Output for 5.4.0
0000000004ff672a00000000032e9aed<br />0000000004ff672900000000032e9aed
Output for 5.3.29
000000000855fe410000000073c9b633<br />000000000855fe420000000073c9b633
Output for 5.3.28
000000006cf63a4800000000463d9227<br />000000006cf63a4b00000000463d9227
Output for 5.3.27
000000004aad702a000000005ed76fcd<br />000000004aad7029000000005ed76fcd
Output for 5.3.26
0000000021efee41000000003488a99e<br />0000000021efee42000000003488a99e
Output for 5.3.25
00000000104c3d62000000007a868aa8<br />00000000104c3d61000000007a868aa8
Output for 5.3.24
00000000410fa8a40000000067aec176<br />00000000410fa8a70000000067aec176
Output for 5.3.23
000000000824759e000000006316916e<br />000000000824759d000000006316916e
Output for 5.3.22
00000000696c47de0000000003a8c280<br />00000000696c47dd0000000003a8c280
Output for 5.3.21
000000004765da25000000003e64d07c<br />000000004765da26000000003e64d07c
Output for 5.3.20
000000000c3bd8130000000032285e5f<br />000000000c3bd8100000000032285e5f
Output for 5.3.19
000000003cbc9684000000000bd22c18<br />000000003cbc9687000000000bd22c18
Output for 5.3.18
000000002a067377000000003f7f1cfc<br />000000002a067374000000003f7f1cfc
Output for 5.3.17
00000000781781b5000000003c112450<br />00000000781781b6000000003c112450
Output for 5.3.16
00000000716898f40000000013efbd68<br />00000000716898f70000000013efbd68
Output for 5.3.15
00000000283ef4220000000033558ef6<br />00000000283ef4210000000033558ef6
Output for 5.3.14
00000000269bc572000000003dc0b352<br />00000000269bc571000000003dc0b352
Output for 5.3.13
00000000745c5770000000002dbc64b0<br />00000000745c5773000000002dbc64b0
Output for 5.3.12
00000000276ff7cd0000000053089ebb<br />00000000276ff7ce0000000053089ebb
Output for 5.3.11
0000000079e720080000000026b4b51a<br />0000000079e7200b0000000026b4b51a
Output for 5.3.10
0000000068394ae10000000044d0beea<br />0000000068394ae20000000044d0beea
Output for 5.3.9
00000000113247aa000000000cbff5f5<br />00000000113247a9000000000cbff5f5
Output for 5.3.8
0000000004ec468e000000005a36db41<br />0000000004ec468d000000005a36db41
Output for 5.3.7
0000000012a14cf9000000003201dfe0<br />0000000012a14cfa000000003201dfe0
Output for 5.3.6
00000000657d8ef7000000006643a3fb<br />00000000657d8ef4000000006643a3fb
Output for 5.3.5
000000005ba9b533000000002839531e<br />000000005ba9b530000000002839531e
Output for 5.3.4
000000002cc0e876000000007a92f0ac<br />000000002cc0e875000000007a92f0ac
Output for 5.3.3
000000004577b8820000000010556d1f<br />000000004577b8810000000010556d1f
Output for 5.3.2
000000000d2c46e5000000000bd50290<br />000000000d2c46e6000000000bd50290
Output for 5.3.1
0000000015fec8de000000002a39918f<br />0000000015fec8dd000000002a39918f
Output for 5.3.0
000000004a2e962700000000116be612<br />000000004a2e962400000000116be612
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