. Fixed bug #52828 (curl_setopt does not accept persistent streams).
(Gustavo, Ilia)
+- DOM extension:
+ . Fixed bug #52656 (DOMCdataSection does not work with splitText). (Ilia)
+
- Hash extension:
. Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
(Mike, Ilia)
--- /dev/null
+--TEST--
+Bug #52656 (DOMCdataSection does not work with splitText).
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+$CData = new DOMCdataSection('splithere!');
+$CDataSplit = $CData->splitText(5);
+var_dump($CDataSplit, $CDataSplit->data);
+?>
+--EXPECT--
+object(DOMText)#2 (0) {
+}
+string(5) "here!"
}
DOM_GET_OBJ(node, id, xmlNodePtr, intern);
- if (node->type != XML_TEXT_NODE) {
+ if (node->type != XML_TEXT_NODE && node->type != XML_CDATA_SECTION_NODE) {
RETURN_FALSE;
}