forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Before we dive into the XML library, we need to save the JIT state incase we need it later (for example, to raise a warning). Reviewed By: @alexmalyshev Differential Revision: D1321974
- Loading branch information
1 parent
c740ae1
commit 9512a32
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<?php | ||
$a = array(); | ||
$res = xml_parse_into_struct( | ||
xml_parser_create_ns(), | ||
str_repeat("<blah>", 100000), | ||
$a); | ||
var_dump(count(array_keys($a))); | ||
|
||
function main() { | ||
$a = array(); | ||
$res = xml_parse_into_struct( | ||
xml_parser_create_ns(), | ||
str_repeat("<blah>", 100000), | ||
$a); | ||
var_dump(count(array_keys($a))); | ||
} | ||
main(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Warning: Maximum depth exceeded - Results truncated in %s on line 6 | ||
Warning: Maximum depth exceeded - Results truncated in %s on line 8 | ||
int(255) |