repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_xml
/
depth_limit.php
blob
9fc2ff73aca7c7997131f4c24170c5a3468182a5
1
<
?hh
2
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
11
);
12
var_dump
(
count
(
array_keys
(
$a
)));
13
}
14
15
<<
__EntryPoint
>>
16
function
main_depth_limit
() :
mixed
{
17
main
();
18
}