php-src/ext
nielsdos b30be40b86 Fix bug #55294 and #47530 and #47847: namespace reconciliation issues
We'll use the DOM wrapper version of libxml2 instead of the regular one.
It's conforming to the behaviour we expect of DOM.
Most of this patch is tests.

I based and extended the tests on the code attached with the aforementioned
bug reports. Therefore the credits for the tests:
Co-authored-by: hilse at web dot de
Co-authored-by: robin2008 at altruists dot org
Co-authored-by: sgunderson at bigfoot dot com

We'll also change the searching point of the internal reconciliation to
start at the top of the added tree to avoid redundant work now that the
function is changed.

Closes GH-11454.
2023-06-15 21:50:00 +02:00
..
bcmath Generate optimizer func info from stubs for a few extensions - part 2 (#7401) 2021-08-25 15:29:46 +02:00
bz2 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-25 07:39:55 +01:00
calendar Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
com_dotnet Merge branch 'PHP-8.0' into PHP-8.1 2022-06-18 11:50:14 +02:00
ctype
curl Fix GH-11433: Unable to set CURLOPT_ACCEPT_ENCODING to NULL 2023-06-13 17:30:57 +02:00
date Fix GH-11281: DateTimeZone::getName() does not include seconds in offset 2023-05-23 18:52:07 +02:00
dba Merge branch 'PHP-8.0' into PHP-8.1 2022-07-27 12:13:32 +02:00
dl_test Fix unregistering ini entries of dynamically loaded extension (#8435) 2022-05-06 15:25:44 +02:00
dom Fix bug #55294 and #47530 and #47847: namespace reconciliation issues 2023-06-15 21:50:00 +02:00
enchant Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
exif Fix GH-10834: exif_read_data() cannot read smaller stream wrapper chunk sizes 2023-05-12 23:37:00 +02:00
ffi Reset EG(trampoline).op_array.last_var that FFI may modify 2023-03-27 22:59:00 +02:00
fileinfo fileinfo: tests: Disable times sensitive tests on debug build 2022-09-25 20:43:31 +02:00
filter Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
ftp Fix GH-10521: ftp_get/ftp_nb_get resumepos offset is maximum 10GB 2023-03-20 23:20:21 +01:00
gd Add Windows GitHub actions build 2023-03-01 23:02:03 +01:00
gettext Generate optimizer func info from stubs for a few extensions - part 2 (#7401) 2021-08-25 15:29:46 +02:00
gmp Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 11:33:09 +01:00
hash Fix GH-11180: hash_file() appears to be restricted to 3 arguments 2023-05-07 17:33:28 +02:00
iconv Merge branch 'PHP-8.0' into PHP-8.1 2022-04-25 14:29:44 +02:00
imap ext/imap/config.m4: -Werror=implicit-function-declaration compatibility. 2023-03-28 15:18:18 +01:00
intl Fix GH-11071: Revert "Fix [-Wundef] warning in INTL extension" 2023-04-18 11:04:28 +02:00
json Expose JSON internal function to escape string 2023-05-13 18:41:33 +01:00
ldap Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create() 2022-12-16 14:36:30 +01:00
libxml Fix GH-11160: Few tests failed building with new libxml 2.11.0 2023-05-06 23:10:07 +02:00
mbstring Fix mb_strlen is wrong length for CP932 when 0x80. 2023-05-30 13:44:30 -07:00
mysqli Fix mysql tests with non-standard server port 2023-04-20 08:45:14 +02:00
mysqlnd Fix GH-8979: Possible Memory Leak with SSL-enabled MySQL connections 2023-03-24 18:03:29 +01:00
oci8 Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
odbc Merge branch 'PHP-8.0' into PHP-8.1 2022-06-13 14:43:51 +02:00
opcache Fix test failure for init_fcall_003.phpt without opcache 2023-06-06 20:21:19 +02:00
openssl Fix CS and checking for IPv6 SAN verify 2023-06-09 16:49:09 +01:00
pcntl fix: support for timeouts with ZTS on Linux (#10141) 2023-03-03 11:35:06 +01:00
pcre Fix incorrect zval type_flags in preg_replace_callback_array() for immutable arrays 2023-03-31 14:41:41 +02:00
pdo Improve fix for bug #81740 2022-12-18 23:20:29 -07:00
pdo_dblib Merge branch 'PHP-8.0' into PHP-8.1 2022-08-26 14:59:08 +02:00
pdo_firebird Fix GH-10908: Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland 2023-03-27 21:01:06 +02:00
pdo_mysql ext/pdo_mysql: mysql_handle_closer nullify some freed data. 2023-03-25 17:41:21 +00:00
pdo_oci Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
pdo_odbc Fix missing and inconsistent error check on SQLAllocHandle 2023-03-15 21:36:50 +01:00
pdo_pgsql Merge branch 'PHP-8.0' into PHP-8.1 2022-09-05 17:26:13 +02:00
pdo_sqlite Force extension loading for new test 2022-12-19 16:14:00 +01:00
pgsql Fix ZPP of pg_lo_export() 2023-04-27 18:50:09 +02:00
phar Fix cross-compilation check in phar generation for FreeBSD 2023-06-13 19:09:58 +02:00
posix Fix GH-10202: posix_getgr(gid|nam)_basic.phpt fail 2023-01-02 16:54:47 +00:00
pspell Add more specific array return type hints for various extensions - part 4 (#7469) 2021-09-06 17:14:52 +02:00
readline [skip ci] Fix race condition in readline test 2023-05-26 11:39:22 +02:00
reflection remove assert raising strange behavior with GCC 10 2023-03-15 09:05:44 +01:00
session Propagate errors correctly in ps_files_cleanup_dir() 2023-02-21 16:09:22 +00:00
shmop Use --EXTENSIONS-- section for new test 2021-09-02 23:49:05 +02:00
simplexml Fix the value param of SimpleXMLElement::addAttribute() 2021-12-22 12:35:59 +01:00
skeleton Ignore generated files by tests in extension skeleton 2021-09-29 11:59:05 +02:00
snmp Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default 2021-12-05 21:03:27 +01:00
soap Merge branch 'PHP-8.0' into PHP-8.1 2023-06-06 18:01:56 -04:00
sockets Fix uninitialized variable accesses in sockets/conversions 2023-03-29 19:44:30 +02:00
sodium Remove extra space before return type 2021-10-18 14:28:46 +02:00
spl Fix GH-11338: SplFileInfo empty getBasename with more than one slash 2023-05-30 17:29:18 +02:00
sqlite3 Fix #81742: open_basedir bypass in SQLite3 by using file URI 2022-12-06 15:59:52 +01:00
standard Fix exception handling in array_multisort() 2023-05-24 13:55:25 +02:00
sysvmsg Merge branch 'PHP-8.0' 2021-08-18 16:39:36 +02:00
sysvsem
sysvshm Add Windows GitHub actions build 2023-03-01 23:02:03 +01:00
tidy Unparallelize IO heavy tests 2023-03-27 16:33:36 +02:00
tokenizer Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
xml Fix GH-11160: Few tests failed building with new libxml 2.11.0 2023-05-06 23:10:07 +02:00
xmlreader Merge branch 'PHP-8.0' into PHP-8.1 2023-02-12 21:33:39 -07:00
xmlwriter Fix missing check for xmlTextWriterEndElement 2023-01-15 15:34:43 +00:00
xsl
zend_test Add missing zend_test_crash message initialization 2023-04-16 10:54:39 +01:00
zip [skip ci] Fix tmp file clash in ext/zip/tests/oo_cancel.phpt 2023-05-01 15:28:59 +02:00
zlib Fix incorrect string length for output_handler in zlib ini code 2023-02-23 18:47:26 +00:00
ext_skel.php Fix path printing in ext_skel (#7387) 2021-08-19 09:43:32 +02:00