I have a long xml string that I am getting the length of to do a comparison. On the Linux Environment, it gets a value of 2788, but on Windows Environment, it's getting 2860. I have diff'ed the output, and they appear to be the same string.
I have also tried htmlentities
for the debug and utf8_decode
on the string before doing the comparison, but no change in result. Why is this disparity here?
var_dump($xml);
print_r($xml);
print_r(htmlentities($architype_xml));
echo strlen(utf8_decode($xml));
echo strlen($xml);
Also, I don't believe I see a difference in new lines, but perhaps var_dump and print_r isn't giving me the full picture, I'm unsure how else to check.