diff --git a/ext/xml/tests/xml_parser_set_option_variation4.phpt b/ext/xml/tests/xml_parser_set_option_variation4.phpt new file mode 100644 index 0000000000..f3abadebe2 --- /dev/null +++ b/ext/xml/tests/xml_parser_set_option_variation4.phpt @@ -0,0 +1,25 @@ +--TEST-- +xml_parser_free - Test setting skip whitespace and invalid encoding type +--CREDIT-- +Mark Niebergall +PHP TestFest 2017 - UPHPU +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) + +Warning: xml_parser_set_option(): Unsupported target encoding "Invalid Encoding" in %s on line %d +bool(false)