3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public $field; } $test1 = new Test; print spl_object_hash($test1) . PHP_EOL; $test1->field =' Some value'; print spl_object_hash($test1) . PHP_EOL;
based on dEvfq
Output for 7.2.0
000000002edd03000000000028498a6a 000000002edd03000000000028498a6a
Output for 7.1.10
000000006dafa78f000000003e0d1a16 000000006dafa78f000000003e0d1a16
Output for 7.1.7
00000000517f71490000000056a528f2 00000000517f71490000000056a528f2
Output for 7.1.6
000000003e447024000000000e9d8f64 000000003e447024000000000e9d8f64
Output for 7.1.5
000000001eb20b4e000000004e1b2e83 000000001eb20b4e000000004e1b2e83
Output for 7.1.0
00000000119c3201000000002d61356f 00000000119c3201000000002d61356f
Output for 7.0.20
0000000006886bd5000000001bc00927 0000000006886bd5000000001bc00927
Output for 7.0.6
0000000001920bfc00000000116ba38b 0000000001920bfc00000000116ba38b
Output for 7.0.5
000000002a098b5c000000006f16396d 000000002a098b5c000000006f16396d
Output for 7.0.4
0000000059566a840000000077d2d392 0000000059566a840000000077d2d392
Output for 7.0.3
000000004608e439000000003c62e1f5 000000004608e439000000003c62e1f5
Output for 7.0.2
0000000055a70ece000000006c235542 0000000055a70ece000000006c235542
Output for 7.0.1
0000000052a8ef50000000004161083c 0000000052a8ef50000000004161083c
Output for 7.0.0
0000000031a11c6a000000003a555f7a 0000000031a11c6a000000003a555f7a
Output for 5.6.28
000000001c71968a00000000118e555a 000000001c71968a00000000118e555a
Output for 5.6.21
0000000023db533b000000006e87eaf6 0000000023db533b000000006e87eaf6
Output for 5.6.20
000000005dda9bd7000000000b03cd99 000000005dda9bd7000000000b03cd99
Output for 5.6.19
00000000363a13cc00000000468e575c 00000000363a13cc00000000468e575c
Output for 5.6.18
0000000028e5cd98000000002677d7eb 0000000028e5cd98000000002677d7eb
Output for 5.6.17
0000000028dd04d3000000000ffd35eb 0000000028dd04d3000000000ffd35eb
Output for 5.6.16
00000000319802eb000000003044138a 00000000319802eb000000003044138a
Output for 5.6.15
00000000618e653d0000000016161438 00000000618e653d0000000016161438
Output for 5.6.14
000000003d7a6a3c0000000051cc9914 000000003d7a6a3c0000000051cc9914
Output for 5.6.13
0000000042f07b780000000025c8963a 0000000042f07b780000000025c8963a
Output for 5.6.12
0000000046bd0c5900000000408b1932 0000000046bd0c5900000000408b1932
Output for 5.6.11
000000004bff9483000000005c3c7c51 000000004bff9483000000005c3c7c51
Output for 5.6.10
000000006b1d3105000000001f27d15d 000000006b1d3105000000001f27d15d
Output for 5.6.9
0000000071f7cf8f0000000019ceada2 0000000071f7cf8f0000000019ceada2
Output for 5.6.8
000000000207361c000000003fc28b75 000000000207361c000000003fc28b75
Output for 5.5.35
00000000579a73550000000079394b0a 00000000579a73550000000079394b0a
Output for 5.5.34
000000006736cc2c000000003ced4f43 000000006736cc2c000000003ced4f43
Output for 5.5.33
000000004420a49d000000002a035c1a 000000004420a49d000000002a035c1a
Output for 5.5.32
0000000063e1f371000000004c3e7734 0000000063e1f371000000004c3e7734
Output for 5.5.31
00000000483bac3d000000000898216c 00000000483bac3d000000000898216c
Output for 5.5.30
00000000703d67ad000000005b369d74 00000000703d67ad000000005b369d74
Output for 5.5.29
0000000063b20fc700000000621cb812 0000000063b20fc700000000621cb812
Output for 5.5.28
00000000264c891a00000000123f41be 00000000264c891a00000000123f41be
Output for 5.5.27
00000000368a63a300000000672f4b81 00000000368a63a300000000672f4b81
Output for 5.5.26
00000000451ba64b0000000000d6846f 00000000451ba64b0000000000d6846f
Output for 5.5.25
0000000078c24e5a00000000294cde5f 0000000078c24e5a00000000294cde5f
Output for 5.5.24
000000002014fe1600000000521929a1 000000002014fe1600000000521929a1
Output for 5.4.45
000000003b15815d0000000039187f67 000000003b15815d0000000039187f67
Output for 5.4.44
0000000078cd2be0000000002f6fbe9c 0000000078cd2be0000000002f6fbe9c
Output for 5.4.43
0000000011d0e25d000000007dc994b3 0000000011d0e25d000000007dc994b3
Output for 5.4.42
00000000088bcf4f000000004d598b57 00000000088bcf4f000000004d598b57
Output for 5.4.41
0000000068da27c3000000001fa41c87 0000000068da27c3000000001fa41c87
Output for 5.4.40
000000005490b9f6000000001f85196f 000000005490b9f6000000001f85196f
Output for 5.4.39
00000000701be1e6000000007f77b738 00000000701be1e6000000007f77b738
Output for 5.4.38
000000006fb1a2ac000000005757ae4a 000000006fb1a2ac000000005757ae4a
Output for 5.4.37
000000005d6f491f000000007a716935 000000005d6f491f000000007a716935
Output for 5.4.36
000000002d2fda01000000003ab61f81 000000002d2fda01000000003ab61f81
Output for 5.4.35
000000004f8c66ae000000001e7210a8 000000004f8c66ae000000001e7210a8
Output for 5.4.34
000000006167e3870000000040b5f4ee 000000006167e3870000000040b5f4ee
Output for 5.4.32
000000007a4f9c260000000058bc2f44 000000007a4f9c260000000058bc2f44
Output for 5.4.31
00000000159ba32400000000068cda78 00000000159ba32400000000068cda78
Output for 5.4.30
0000000055c7aa41000000002196c97c 0000000055c7aa41000000002196c97c
Output for 5.4.29
00000000374d84e30000000071217f42 00000000374d84e30000000071217f42
Output for 5.4.28
00000000466d77d20000000033b6280f 00000000466d77d20000000033b6280f
Output for 5.4.27
000000003b5920460000000058f949b6 000000003b5920460000000058f949b6
Output for 5.4.26
000000004a5f19ff00000000638692ed 000000004a5f19ff00000000638692ed
Output for 5.4.25
000000003692fc27000000007cfa21dc 000000003692fc27000000007cfa21dc
Output for 5.4.24
000000003dfae30f000000002a17e408 000000003dfae30f000000002a17e408
Output for 5.4.23
000000001bce70a1000000007544e912 000000001bce70a1000000007544e912
Output for 5.4.22
000000002ea3910f0000000009645c52 000000002ea3910f0000000009645c52
Output for 5.4.21
000000005edd41480000000079c5f946 000000005edd41480000000079c5f946
Output for 5.4.20
000000004a99ea6a00000000325e8499 000000004a99ea6a00000000325e8499
Output for 5.4.19
0000000042a7365e000000001410b518 0000000042a7365e000000001410b518
Output for 5.4.18
000000004c5db65700000000272cd0ca 000000004c5db65700000000272cd0ca
Output for 5.4.17
0000000072013e460000000014660381 0000000072013e460000000014660381
Output for 5.4.16
0000000005e784970000000048e33e3f 0000000005e784970000000048e33e3f
Output for 5.4.15
0000000052a032e700000000652c96e6 0000000052a032e700000000652c96e6
Output for 5.4.14
000000006e179b300000000052b1d6fb 000000006e179b300000000052b1d6fb
Output for 5.4.13
00000000711b615000000000055f7538 00000000711b615000000000055f7538
Output for 5.4.12
0000000004cc7101000000002d978fc5 0000000004cc7101000000002d978fc5
Output for 5.4.11
0000000013f3a4e20000000061a0ce36 0000000013f3a4e20000000061a0ce36
Output for 5.4.10
0000000076239aec0000000065fed7c4 0000000076239aec0000000065fed7c4
Output for 5.4.9
00000000132ce26b000000003e7feb83 00000000132ce26b000000003e7feb83
Output for 5.4.8
000000002ce2905f000000003f1d5855 000000002ce2905f000000003f1d5855
Output for 5.4.7
000000007dc6e30d00000000538961e3 000000007dc6e30d00000000538961e3
Output for 5.4.6
000000003765446c0000000033a5cb14 000000003765446c0000000033a5cb14
Output for 5.4.5
0000000031614ff800000000179cbd32 0000000031614ff800000000179cbd32
Output for 5.4.4
000000000a20963a00000000602800c4 000000000a20963a00000000602800c4
Output for 5.4.3
000000003dbda54b000000004ad84212 000000003dbda54b000000004ad84212
Output for 5.4.2
000000004bfb84b70000000028daec3e 000000004bfb84b70000000028daec3e
Output for 5.4.1
000000006fe9e32800000000638dc288 000000006fe9e32800000000638dc288
Output for 5.3.29
000000001edb2f2700000000104268d4 000000001edb2f2700000000104268d4
Output for 5.3.28
00000000604c5a77000000001ac901a2 00000000604c5a77000000001ac901a2
Output for 5.3.27
0000000050ad95630000000056075d84 0000000050ad95630000000056075d84
Output for 5.3.26
000000007091d8a20000000001003bf5 000000007091d8a20000000001003bf5
Output for 5.3.25
000000006c23ed11000000001a6e56cc 000000006c23ed11000000001a6e56cc
Output for 5.3.24
000000000139bc29000000006a33fad5 000000000139bc29000000006a33fad5
Output for 5.3.23
0000000056ca7cb50000000006ded46e 0000000056ca7cb50000000006ded46e
Output for 5.3.22
0000000014c4563000000000731bb87d 0000000014c4563000000000731bb87d
Output for 5.3.21
000000001cc65298000000005bbe2248 000000001cc65298000000005bbe2248
Output for 5.3.20
0000000050c9fffe000000006ee7a469 0000000050c9fffe000000006ee7a469
Output for 5.3.19
000000006568a8370000000034b8020f 000000006568a8370000000034b8020f
Output for 5.3.18
000000006ddedebe000000002474591c 000000006ddedebe000000002474591c