make `Switch` constructor more precise
[hiphop-php.git] / hphp / test / slow / ext_xml / depth_limit.php
blob18ca094963bb528cf7ddeab0b2280f5347ac81c7
1 <?hh
3 function main() {
4 $a = varray[];
5 $b = varray[];
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() {
17 main();