php-src/ext/xml/tests
Niels Dossche ae83d6ab07
Fix issues related to libxml2 2.12.0 (#12802)
* Avoid passing NULL to xmlSwitchToEncoding

This otherwise switches to UTF-8 on libxml2 2.12.0

* Split tests for different error reporting behaviour in libxml2 2.12.0

* Avoid deprecation warnings for libxml2 2.12.0

We can't fully get rid of the parser globals as there are still APIs
that implicitly use them.

* Temporarily disable part of test for libxml 2.12.0 regression

See https://gitlab.gnome.org/GNOME/libxml2/-/issues/634

* Review fixes

* [ci skip] Update test description
2023-11-29 20:46:35 +01:00
..
bug25666.phpt
bug26528.phpt
bug26614.phpt
bug26614_libxml_gte2_11.phpt Fix GH-11160: Few tests failed building with new libxml 2.11.0 2023-05-06 23:10:07 +02:00
bug26614_libxml_pre2_11.phpt Fix GH-11160: Few tests failed building with new libxml 2.11.0 2023-05-06 23:10:07 +02:00
bug27908.phpt
bug30266.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
bug30875.phpt
bug32001.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
bug32001b.phpt
bug35447.phpt
bug46699.phpt
bug50576.phpt
bug65236.phpt
bug70962.phpt Merge branch 'PHP-8.0' into PHP-8.1 2021-09-16 12:42:07 +02:00
bug71592.phpt
bug72099.phpt
bug72714.phpt Improve handling of XML options 2023-02-26 14:34:39 +00:00
bug72793.phpt
bug73135.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
bug76874.phpt
bug78563.phpt
bug78563_final.phpt
bug78563_serialize.phpt
bug81351.phpt Fix issues related to libxml2 2.12.0 (#12802) 2023-11-29 20:46:35 +01:00
gh12254.phpt Fix memory leak when calling xml_parse_into_struct() twice 2023-09-21 19:49:46 +02:00
inc.ent
set_element_handler_trampoline.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
set_element_handler_trampoline_errors.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
set_handler_errors.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
set_handler_trampoline.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
xml001.phpt
xml002.phpt
xml003.phpt
xml004.phpt
xml007.phpt
xml009.phpt
xml010.phpt
xml011.phpt
xml_closures_001.phpt
xml_error_string_basic.phpt Fix issues related to libxml2 2.12.0 (#12802) 2023-11-29 20:46:35 +01:00
XML_OPTION_PARSE_HUGE.phpt Implement request #68325: parse huge option for xml_parser_create (#12256) 2023-10-22 16:44:49 +02:00
XML_OPTION_PARSE_HUGE_during_parsing.phpt Implement request #68325: parse huge option for xml_parser_create (#12256) 2023-10-22 16:44:49 +02:00
xml_parse_into_struct_variation.phpt
xml_parser_get_option_variation3.phpt Improve handling of XML options 2023-02-26 14:34:39 +00:00
xml_parser_get_option_variation4.phpt The userland constants do not start with PHP_ 2023-02-26 14:18:12 +00:00
xml_parser_set_option_basic.phpt Improve handling of XML options 2023-02-26 14:34:39 +00:00
xml_parser_set_option_errors.phpt Improve handling of XML options 2023-02-26 14:34:39 +00:00
xml_parser_set_option_nonexistent_option.phpt Improve handling of XML options 2023-02-26 14:34:39 +00:00
xml_set_element_handler_errors.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
xml_set_notation_decl_handler_basic.phpt
xml_set_object_multiple_times.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
xml_set_object_multiple_times_errors.phpt ext/xml: Refactor extension to use FCC instead of zvals for handlers (#12340) 2023-10-20 13:14:55 +01:00
xml_set_processing_instruction_handler_basic.phpt
xml_set_start_namespace_decl_handler_basic.phpt
xmltest.xml