3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { public $a = 1; } $a = new A(); var_dump(spl_object_hash($a)); $a->a = 2; var_dump(spl_object_hash($a));
Output for 7.2.0
string(32) "00000000661dba5800000000627000bb" string(32) "00000000661dba5800000000627000bb"
Output for 7.1.10
string(32) "000000003349cbeb00000000444dc27d" string(32) "000000003349cbeb00000000444dc27d"
Output for 7.1.7
string(32) "000000002d8b906900000000224eadf3" string(32) "000000002d8b906900000000224eadf3"
Output for 7.1.6
string(32) "00000000171bb7dc000000002032a411" string(32) "00000000171bb7dc000000002032a411"
Output for 7.1.5
string(32) "00000000158216cf000000001134faf6" string(32) "00000000158216cf000000001134faf6"
Output for 7.1.0
string(32) "0000000054cebc52000000006cd746d8" string(32) "0000000054cebc52000000006cd746d8"
Output for 7.0.20
string(32) "0000000019425378000000004f0f53ca" string(32) "0000000019425378000000004f0f53ca"
Output for 7.0.6
string(32) "0000000040d50de100000000029c8fd7" string(32) "0000000040d50de100000000029c8fd7"
Output for 7.0.5
string(32) "0000000058e851b8000000000f31d7ed" string(32) "0000000058e851b8000000000f31d7ed"
Output for 7.0.4
string(32) "000000001f31b7cb000000005e7c23f3" string(32) "000000001f31b7cb000000005e7c23f3"
Output for 7.0.3
string(32) "000000002a7d97550000000024df3eab" string(32) "000000002a7d97550000000024df3eab"
Output for 7.0.2
string(32) "0000000030b416c60000000041fb0f0a" string(32) "0000000030b416c60000000041fb0f0a"
Output for 7.0.1
string(32) "00000000324debfc0000000068167f8d" string(32) "00000000324debfc0000000068167f8d"
Output for 7.0.0
string(32) "000000006a7d60f200000000045922bb" string(32) "000000006a7d60f200000000045922bb"
Output for 5.6.28
string(32) "0000000012607ce5000000004419362a" string(32) "0000000012607ce5000000004419362a"
Output for 5.6.21
string(32) "00000000664b7472000000005f754981" string(32) "00000000664b7472000000005f754981"
Output for 5.6.20
string(32) "000000002afb870c000000000edd0173" string(32) "000000002afb870c000000000edd0173"
Output for 5.6.19
string(32) "00000000250e4f55000000001155afe7" string(32) "00000000250e4f55000000001155afe7"
Output for 5.6.18
string(32) "000000006d6e8ab50000000035b01187" string(32) "000000006d6e8ab50000000035b01187"
Output for 5.6.17
string(32) "00000000119420880000000076fb0c7b" string(32) "00000000119420880000000076fb0c7b"
Output for 5.6.16
string(32) "0000000018352c4400000000536883ef" string(32) "0000000018352c4400000000536883ef"
Output for 5.6.15
string(32) "000000007321308e00000000109fddf2" string(32) "000000007321308e00000000109fddf2"
Output for 5.6.14
string(32) "00000000269b2f8f0000000058ebaf24" string(32) "00000000269b2f8f0000000058ebaf24"
Output for 5.6.13
string(32) "000000003d5b452e0000000059ad22d4" string(32) "000000003d5b452e0000000059ad22d4"
Output for 5.6.12
string(32) "0000000070d9fae600000000717b070b" string(32) "0000000070d9fae600000000717b070b"
Output for 5.6.11
string(32) "000000001ad996a50000000016c7f2fa" string(32) "000000001ad996a50000000016c7f2fa"
Output for 5.6.10
string(32) "0000000051abf94400000000089a7523" string(32) "0000000051abf94400000000089a7523"
Output for 5.6.9
string(32) "0000000004254d0500000000184cefdd" string(32) "0000000004254d0500000000184cefdd"
Output for 5.6.8
string(32) "000000007af97a32000000003735964b" string(32) "000000007af97a32000000003735964b"
Output for 5.5.35
string(32) "0000000048e44c7d00000000339eb462" string(32) "0000000048e44c7d00000000339eb462"
Output for 5.5.34
string(32) "00000000241968f4000000004df4d5f6" string(32) "00000000241968f4000000004df4d5f6"
Output for 5.5.33
string(32) "00000000150d1a610000000066f2fa45" string(32) "00000000150d1a610000000066f2fa45"
Output for 5.5.32
string(32) "0000000028bed096000000001c22ddc7" string(32) "0000000028bed096000000001c22ddc7"
Output for 5.5.31
string(32) "00000000148a42ba0000000017d6b1ab" string(32) "00000000148a42ba0000000017d6b1ab"
Output for 5.5.30
string(32) "000000005bf13e29000000000292bd77" string(32) "000000005bf13e29000000000292bd77"
Output for 5.5.29
string(32) "0000000027d72cbc00000000571fbcea" string(32) "0000000027d72cbc00000000571fbcea"
Output for 5.5.28
string(32) "000000002e49114d000000003b8be186" string(32) "000000002e49114d000000003b8be186"
Output for 5.5.27
string(32) "0000000045b0e51000000000287dc8a7" string(32) "0000000045b0e51000000000287dc8a7"
Output for 5.5.26
string(32) "00000000636d85150000000015cd1868" string(32) "00000000636d85150000000015cd1868"
Output for 5.5.25
string(32) "000000002f8eb086000000001c3f26e4" string(32) "000000002f8eb086000000001c3f26e4"
Output for 5.5.24
string(32) "000000007ecd4d2f0000000073e42473" string(32) "000000007ecd4d2f0000000073e42473"
Output for 5.4.45
string(32) "000000003a0b9dac000000005026f0b7" string(32) "000000003a0b9dac000000005026f0b7"
Output for 5.4.44
string(32) "0000000005880049000000000f324ba1" string(32) "0000000005880049000000000f324ba1"
Output for 5.4.43
string(32) "000000002df1749100000000153699ae" string(32) "000000002df1749100000000153699ae"
Output for 5.4.42
string(32) "0000000011d618bc00000000348acd00" string(32) "0000000011d618bc00000000348acd00"
Output for 5.4.41
string(32) "000000005be36ead0000000000791c0a" string(32) "000000005be36ead0000000000791c0a"
Output for 5.4.40
string(32) "000000004cce36ec0000000053ea9bf0" string(32) "000000004cce36ec0000000053ea9bf0"
Output for 5.4.39
string(32) "0000000061caed590000000032218353" string(32) "0000000061caed590000000032218353"
Output for 5.4.38
string(32) "00000000467cbe0400000000261d5574" string(32) "00000000467cbe0400000000261d5574"
Output for 5.4.37
string(32) "000000001f78ab46000000006c4ad7b4" string(32) "000000001f78ab46000000006c4ad7b4"
Output for 5.4.36
string(32) "000000004a2a7d8a000000005a9a6c6e" string(32) "000000004a2a7d8a000000005a9a6c6e"
Output for 5.4.35
string(32) "000000007432ef7400000000152372f4" string(32) "000000007432ef7400000000152372f4"
Output for 5.4.34
string(32) "000000001d99f3bd0000000002e0a004" string(32) "000000001d99f3bd0000000002e0a004"
Output for 5.4.32
string(32) "0000000056fef724000000002a4bde18" string(32) "0000000056fef724000000002a4bde18"
Output for 5.4.31
string(32) "0000000073bdc9f10000000038f5672b" string(32) "0000000073bdc9f10000000038f5672b"
Output for 5.4.30
string(32) "0000000078d3b8ea000000004904465b" string(32) "0000000078d3b8ea000000004904465b"
Output for 5.4.29
string(32) "000000003b4141be000000005b7dcf6e" string(32) "000000003b4141be000000005b7dcf6e"
Output for 5.4.28
string(32) "000000001e827164000000007154d600" string(32) "000000001e827164000000007154d600"
Output for 5.4.27
string(32) "00000000307473b70000000008d93757" string(32) "00000000307473b70000000008d93757"
Output for 5.4.26
string(32) "000000001a47179d000000000d383a60" string(32) "000000001a47179d000000000d383a60"
Output for 5.4.25
string(32) "000000007fa06aa1000000000a5faf36" string(32) "000000007fa06aa1000000000a5faf36"
Output for 5.4.24
string(32) "0000000067436bf500000000284bedd1" string(32) "0000000067436bf500000000284bedd1"
Output for 5.4.23
string(32) "0000000045c185830000000043e52509" string(32) "0000000045c185830000000043e52509"
Output for 5.4.22
string(32) "000000005a35e674000000007c61bbb2" string(32) "000000005a35e674000000007c61bbb2"
Output for 5.4.21
string(32) "000000000245ff830000000004365373" string(32) "000000000245ff830000000004365373"
Output for 5.4.20
string(32) "000000006853a6410000000004da9596" string(32) "000000006853a6410000000004da9596"
Output for 5.4.19
string(32) "00000000145d1e66000000000a77e2d1" string(32) "00000000145d1e66000000000a77e2d1"
Output for 5.4.18
string(32) "000000004b062d9500000000527dcd57" string(32) "000000004b062d9500000000527dcd57"
Output for 5.4.17
string(32) "000000003bb36d820000000032df2459" string(32) "000000003bb36d820000000032df2459"
Output for 5.4.16
string(32) "0000000070e4040c0000000008fce744" string(32) "0000000070e4040c0000000008fce744"
Output for 5.4.15
string(32) "000000004af8073700000000259b1887" string(32) "000000004af8073700000000259b1887"
Output for 5.4.14
string(32) "000000005ac7e4a0000000001b53aed2" string(32) "000000005ac7e4a0000000001b53aed2"
Output for 5.4.13
string(32) "000000006cfc1f380000000070b45a6e" string(32) "000000006cfc1f380000000070b45a6e"
Output for 5.4.12
string(32) "00000000211713a0000000005da8f2f4" string(32) "00000000211713a0000000005da8f2f4"
Output for 5.4.11
string(32) "0000000015f0f6ca000000003ebfa2ca" string(32) "0000000015f0f6ca000000003ebfa2ca"
Output for 5.4.10
string(32) "0000000068a3d440000000005a10c7a7" string(32) "0000000068a3d440000000005a10c7a7"
Output for 5.4.9
string(32) "000000006f1d262f0000000016a01c46" string(32) "000000006f1d262f0000000016a01c46"
Output for 5.4.8
string(32) "000000005b37a64a000000001537c31b" string(32) "000000005b37a64a000000001537c31b"
Output for 5.3.29
string(32) "0000000009d9b042000000007efe5a4f" string(32) "0000000009d9b042000000007efe5a4f"
Output for 5.3.28
string(32) "000000007c78a87b0000000068c9a49f" string(32) "000000007c78a87b0000000068c9a49f"
Output for 5.3.27
string(32) "0000000051bf0d9f00000000305ee3da" string(32) "0000000051bf0d9f00000000305ee3da"
Output for 5.3.26
string(32) "000000007b83296b00000000218e7e18" string(32) "000000007b83296b00000000218e7e18"
Output for 5.3.25
string(32) "0000000068bd3987000000003baca60f" string(32) "0000000068bd3987000000003baca60f"
Output for 5.3.24
string(32) "000000002970e3780000000053183ee9" string(32) "000000002970e3780000000053183ee9"
Output for 5.3.23
string(32) "00000000686ce20f000000006272220c" string(32) "00000000686ce20f000000006272220c"
Output for 5.3.22
string(32) "000000007cd13aaf0000000024e9303c" string(32) "000000007cd13aaf0000000024e9303c"
Output for 5.3.21
string(32) "000000000d18132a000000004237c691" string(32) "000000000d18132a000000004237c691"
Output for 5.3.20
string(32) "00000000460b10f000000000368f15b2" string(32) "00000000460b10f000000000368f15b2"
Output for 5.3.19
string(32) "000000007837c07500000000614853e3" string(32) "000000007837c07500000000614853e3"
Output for 5.3.18
string(32) "000000007cc211eb000000005f7c539f" string(32) "000000007cc211eb000000005f7c539f"