The constant XML_PARSE_HUGE
can be passed as the third argument to simplexml_load_string()
. According to to php.net this flag:
relaxes any hardcoded limit from the parser.
What is the "default hardcoded limit from the parser"?
I think relaxes is a little bit ambiguous also. Does it eliminate or increase "the hardcoded limit"?
From http://bugs.php.net/49660:
So I imagine this flag is the way that PHP now has to specify this option.
time has moved: http://php.net/manual/en/libxml.constants.php