3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = (object)['a' => 1, 'b' => 2]; $b = (object)['a' => 1, 'b' => 2]; var_dump($a === $b); var_dump(spl_object_hash($a)); var_dump(spl_object_hash($b));
Output for 7.2.0
bool(false) string(32) "000000006bc4015a000000003d52335a" string(32) "000000006bc40159000000003d52335a"
Output for 7.1.10
bool(false) string(32) "0000000039a9e8b3000000004445ab42" string(32) "0000000039a9e8b0000000004445ab42"
Output for 7.1.7
bool(false) string(32) "0000000044341949000000003831bbc2" string(32) "000000004434194a000000003831bbc2"
Output for 7.1.6
bool(false) string(32) "000000007d2c542100000000268bbf6b" string(32) "000000007d2c542200000000268bbf6b"
Output for 7.1.5
bool(false) string(32) "000000001cba4a8c0000000032ac306d" string(32) "000000001cba4a8f0000000032ac306d"
Output for 7.1.0
bool(false) string(32) "0000000008d3f13b000000001c98a0c1" string(32) "0000000008d3f138000000001c98a0c1"
Output for 7.0.20
bool(false) string(32) "000000006ef6b1c800000000106f5327" string(32) "000000006ef6b1cb00000000106f5327"
Output for 7.0.6
bool(false) string(32) "00000000728f0caa000000003575022e" string(32) "00000000728f0ca9000000003575022e"
Output for 7.0.5
bool(false) string(32) "0000000026c54427000000004423ef5a" string(32) "0000000026c54424000000004423ef5a"
Output for 7.0.4
bool(false) string(32) "00000000244b5a560000000036f80d61" string(32) "00000000244b5a550000000036f80d61"
Output for 7.0.3
bool(false) string(32) "000000003ed70c3b000000000ccc4c81" string(32) "000000003ed70c38000000000ccc4c81"
Output for 7.0.2
bool(false) string(32) "00000000198c42ff000000002588a79d" string(32) "00000000198c42fc000000002588a79d"
Output for 7.0.1
bool(false) string(32) "000000001ac7a9290000000047477c3e" string(32) "000000001ac7a92a0000000047477c3e"
Output for 7.0.0
bool(false) string(32) "000000004ab437e5000000006cf08e62" string(32) "000000004ab437e6000000006cf08e62"
Output for 5.6.28
bool(false) string(32) "0000000053e7ec7b0000000020cfbf57" string(32) "0000000053e7ec780000000020cfbf57"
Output for 5.6.21
bool(false) string(32) "000000001dabd59200000000274a3f74" string(32) "000000001dabd59100000000274a3f74"
Output for 5.6.20
bool(false) string(32) "000000006cc6e744000000001cfa0d7c" string(32) "000000006cc6e747000000001cfa0d7c"
Output for 5.6.19
bool(false) string(32) "00000000474d3e2b000000007cf8bdb1" string(32) "00000000474d3e28000000007cf8bdb1"
Output for 5.6.18
bool(false) string(32) "000000000081636200000000496a1ecc" string(32) "000000000081636100000000496a1ecc"
Output for 5.6.17
bool(false) string(32) "0000000021789a07000000004d113ab0" string(32) "0000000021789a04000000004d113ab0"
Output for 5.6.16
bool(false) string(32) "000000006ec40a93000000003f455fce" string(32) "000000006ec40a90000000003f455fce"
Output for 5.6.15
bool(false) string(32) "00000000494f042f00000000245c2260" string(32) "00000000494f042c00000000245c2260"
Output for 5.6.14
bool(false) string(32) "00000000331b09f500000000247bb914" string(32) "00000000331b09f600000000247bb914"
Output for 5.6.13
bool(false) string(32) "000000007a38b466000000005a1ed8d5" string(32) "000000007a38b465000000005a1ed8d5"
Output for 5.6.12
bool(false) string(32) "000000002f12a332000000002ee8ba7d" string(32) "000000002f12a331000000002ee8ba7d"
Output for 5.6.11
bool(false) string(32) "000000007bd7056a0000000043393ad1" string(32) "000000007bd705690000000043393ad1"
Output for 5.6.10
bool(false) string(32) "000000003846caed000000003e4bd9bc" string(32) "000000003846caee000000003e4bd9bc"
Output for 5.6.9
bool(false) string(32) "00000000630a0a100000000014d3dfe0" string(32) "00000000630a0a130000000014d3dfe0"
Output for 5.6.8
bool(false) string(32) "000000003b2d2255000000007fe9fe5a" string(32) "000000003b2d2256000000007fe9fe5a"
Output for 5.5.35
bool(false) string(32) "0000000055fde1810000000006478447" string(32) "0000000055fde1820000000006478447"
Output for 5.5.34
bool(false) string(32) "000000003274928d0000000072c78f7b" string(32) "000000003274928e0000000072c78f7b"
Output for 5.5.33
bool(false) string(32) "000000001dc7767600000000306988bb" string(32) "000000001dc7767500000000306988bb"
Output for 5.5.32
bool(false) string(32) "000000004535bfbb000000004565f483" string(32) "000000004535bfb8000000004565f483"
Output for 5.5.31
bool(false) string(32) "000000003ac8e434000000007d991fcb" string(32) "000000003ac8e437000000007d991fcb"
Output for 5.5.30
bool(false) string(32) "00000000276038a3000000000ca33f67" string(32) "00000000276038a0000000000ca33f67"
Output for 5.5.29
bool(false) string(32) "0000000037da9f49000000005de171e4" string(32) "0000000037da9f4a000000005de171e4"
Output for 5.5.28
bool(false) string(32) "0000000053caf3a200000000796fd282" string(32) "0000000053caf3a100000000796fd282"
Output for 5.5.27
bool(false) string(32) "000000005d08cfe2000000005f189bcc" string(32) "000000005d08cfe1000000005f189bcc"
Output for 5.5.26
bool(false) string(32) "000000005ea97d13000000003c34cdfa" string(32) "000000005ea97d10000000003c34cdfa"
Output for 5.5.25
bool(false) string(32) "0000000075ba614f000000005ccd8695" string(32) "0000000075ba614c000000005ccd8695"
Output for 5.5.24
bool(false) string(32) "000000007f9726ea00000000779bc3c6" string(32) "000000007f9726e900000000779bc3c6"
Output for 5.4.45
bool(false) string(32) "0000000008d8b4d200000000463ca67d" string(32) "0000000008d8b4d100000000463ca67d"
Output for 5.4.44
bool(false) string(32) "000000007e8bbfbe000000005d0ffb80" string(32) "000000007e8bbfbd000000005d0ffb80"
Output for 5.4.43
bool(false) string(32) "0000000023c7722f00000000059200d9" string(32) "0000000023c7722c00000000059200d9"
Output for 5.4.42
bool(false) string(32) "0000000012427c4100000000449dcfa6" string(32) "0000000012427c4200000000449dcfa6"
Output for 5.4.41
bool(false) string(32) "00000000456c22a3000000001e5c53dd" string(32) "00000000456c22a0000000001e5c53dd"
Output for 5.4.40
bool(false) string(32) "0000000015ec6f13000000005fd8432e" string(32) "0000000015ec6f10000000005fd8432e"
Output for 5.4.39
bool(false) string(32) "0000000020ec31730000000019768709" string(32) "0000000020ec31700000000019768709"
Output for 5.4.38
bool(false) string(32) "0000000064fa751f00000000647ae908" string(32) "0000000064fa751c00000000647ae908"
Output for 5.4.37
bool(false) string(32) "0000000049caa58600000000217c5fc9" string(32) "0000000049caa58500000000217c5fc9"
Output for 5.4.36
bool(false) string(32) "000000001613fc4600000000249d8c28" string(32) "000000001613fc4500000000249d8c28"
Output for 5.4.35
bool(false) string(32) "0000000011ba1726000000001f1d85e0" string(32) "0000000011ba1725000000001f1d85e0"
Output for 5.4.34
bool(false) string(32) "000000000e2e4374000000007d829a5d" string(32) "000000000e2e4377000000007d829a5d"
Output for 5.4.32
bool(false) string(32) "000000003a00828a0000000027203cc0" string(32) "000000003a0082890000000027203cc0"
Output for 5.4.31
bool(false) string(32) "000000000bb220f20000000058d4e06e" string(32) "000000000bb220f10000000058d4e06e"
Output for 5.4.30
bool(false) string(32) "0000000059ae9982000000006451e236" string(32) "0000000059ae9981000000006451e236"
Output for 5.4.29
bool(false) string(32) "00000000302e2090000000004f2f10a4" string(32) "00000000302e2093000000004f2f10a4"
Output for 5.4.28
bool(false) string(32) "000000005000bffd000000003fde0f96" string(32) "000000005000bffe000000003fde0f96"
Output for 5.4.27
bool(false) string(32) "00000000654f1079000000002280985b" string(32) "00000000654f107a000000002280985b"
Output for 5.4.26
bool(false) string(32) "0000000047c74b030000000026ab087a" string(32) "0000000047c74b000000000026ab087a"
Output for 5.4.25
bool(false) string(32) "000000000bbc7c77000000003ae11ace" string(32) "000000000bbc7c74000000003ae11ace"
Output for 5.4.24
bool(false) string(32) "000000007f16d18f000000001c39d268" string(32) "000000007f16d18c000000001c39d268"
Output for 5.4.23
bool(false) string(32) "0000000024b068a000000000254301c6" string(32) "0000000024b068a300000000254301c6"
Output for 5.4.22
bool(false) string(32) "000000001deea1650000000009e95992" string(32) "000000001deea1660000000009e95992"
Output for 5.4.21
bool(false) string(32) "0000000066b810b30000000013ae0dc5" string(32) "0000000066b810b00000000013ae0dc5"
Output for 5.4.20
bool(false) string(32) "000000000bebe6c400000000114adf84" string(32) "000000000bebe6c700000000114adf84"
Output for 5.4.19
bool(false) string(32) "000000007ea9511700000000011a29ca" string(32) "000000007ea9511400000000011a29ca"
Output for 5.4.18
bool(false) string(32) "0000000047cf5557000000007aec2bbc" string(32) "0000000047cf5554000000007aec2bbc"
Output for 5.4.17
bool(false) string(32) "0000000046629e600000000006cf6ba8" string(32) "0000000046629e630000000006cf6ba8"
Output for 5.4.16
bool(false) string(32) "0000000005898e0c000000002b850a1c" string(32) "0000000005898e0f000000002b850a1c"
Output for 5.4.15
bool(false) string(32) "000000006e12105b00000000403b5964" string(32) "000000006e12105800000000403b5964"
Output for 5.4.14
bool(false) string(32) "00000000433aad59000000000d907d9e" string(32) "00000000433aad5a000000000d907d9e"
Output for 5.4.13
bool(false) string(32) "0000000075726e790000000035750796" string(32) "0000000075726e7a0000000035750796"
Output for 5.4.12
bool(false) string(32) "000000007ea1955a00000000132be8b7" string(32) "000000007ea1955900000000132be8b7"
Output for 5.4.11
bool(false) string(32) "000000006775774e000000005d91aadc" string(32) "000000006775774d000000005d91aadc"
Output for 5.4.10
bool(false) string(32) "000000005c06cdf8000000004ff91884" string(32) "000000005c06cdfb000000004ff91884"
Output for 5.4.9
bool(false) string(32) "0000000068b45e240000000029dfd832" string(32) "0000000068b45e270000000029dfd832"
Output for 5.4.8
bool(false) string(32) "00000000569b322a000000006bbf327f" string(32) "00000000569b3229000000006bbf327f"
Output for 5.4.7
bool(false) string(32) "000000001f90e1050000000028e5ac81" string(32) "000000001f90e1060000000028e5ac81"
Output for 5.4.6
bool(false) string(32) "0000000065e51d6b0000000053516a03" string(32) "0000000065e51d680000000053516a03"
Output for 5.4.5
bool(false) string(32) "000000007a0b723a0000000007ebabd3" string(32) "000000007a0b72390000000007ebabd3"
Output for 5.4.4
bool(false) string(32) "000000004a52851a000000005a542194" string(32) "000000004a528519000000005a542194"
Output for 5.4.3
bool(false) string(32) "000000005d9ade12000000002370b5f0" string(32) "000000005d9ade11000000002370b5f0"
Output for 5.4.2
bool(false) string(32) "000000002abecec2000000004175cf85" string(32) "000000002abecec1000000004175cf85"
Output for 5.4.1
bool(false) string(32) "00000000430aabe80000000055437b60" string(32) "00000000430aabeb0000000055437b60"
Output for 5.4.0
bool(false) string(32) "0000000077d166d8000000004763df62" string(32) "0000000077d166db000000004763df62"
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/amVjb on line 3
Process exited with code 255.