Updating submodules
[hiphop-php.git] / hphp / test / slow / ext_xml / depth_limit.php
blob9fc2ff73aca7c7997131f4c24170c5a3468182a5
1 <?hh
3 function main() :mixed{
4 $a = vec[];
5 $b = vec[];
6 $res = xml_parse_into_struct(
7 xml_parser_create_ns(),
8 str_repeat("<blah>", 100000),
9 inout $a,
10 inout $b
12 var_dump(count(array_keys($a)));
15 <<__EntryPoint>>
16 function main_depth_limit() :mixed{
17 main();