Skip to content

Commit

Permalink
Change default for parseHuge to false to avoid OOM on xml expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Aug 24, 2017
1 parent 91274dd commit e9fdee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Xml.php
Expand Up @@ -107,7 +107,7 @@ public static function build($input, array $options = [])
'return' => 'simplexml',
'loadEntities' => false,
'readFile' => true,
'parseHuge' => true,
'parseHuge' => false,
];
$options += $defaults;

Expand Down

0 comments on commit e9fdee3

Please sign in to comment.