Home
last modified time | relevance | path

Searched refs:cdata (Results 1 – 25 of 29) sorted by relevance

12

/PHP-8.3/ext/dom/tests/
H A Dbug79968.phpt8 $cdata = new DOMText;
10 $cdata->before("string");
11 $cdata->after("string");
12 $cdata->replaceWith("string");
15 $dom->adoptNode($cdata);
16 var_dump($dom->saveXML($cdata));
H A DDOMParentNode_empty_argument.phpt50 $cdata = $dom->createCDATASection('foo');
51 $dom->appendChild($cdata);
53 $cdata->after(...$emptyFragment->childNodes);
54 $cdata->before(...$emptyFragment->childNodes);
55 $cdata->after();
56 $cdata->before();
58 $cdata->replaceWith(...$emptyFragment->childNodes);
61 $cdata = $dom->createCDATASection('foo');
62 $dom->appendChild($cdata);
63 $cdata->replaceWith(...$emptyFragment->childNodes);
H A DDOMCharacterData_appendData_basic.phpt15 $cdata = $document->createElement('cdata');
16 $root->appendChild($cdata);
19 $cdata->appendChild($cdatanode);
37 <root><cdata><![CDATA[data><&"]]></cdata></root>
H A DDOMCharacterData_deleteData_basic_001.phpt14 $cdata = $document->createCDATASection('test');
15 $root->appendChild($cdata);
16 $cdata->deleteData(1, 10);
17 var_dump($cdata->data);
H A DDOMCharacterData_replaceWith_self.phpt9 $cdata = $dom->documentElement->firstChild;
10 $cdata->replaceWith($cdata);
H A DDOMCharacterData_substringData_basic_001.phpt15 $cdata = $document->createCDATASection('testfest');
16 $root->appendChild($cdata);
17 print $cdata->substringData(1, 6);
H A DDOMCharacterData_deleteData_error_002.phpt14 $cdata = $document->createCDATASection('test');
15 $root->appendChild($cdata);
17 $cdata->deleteData(5, 1);
H A DDOMCharacterData_data_basic_002.phpt15 $cdata = $document->createCDATASection('t');
16 $root->appendChild($cdata);
19 $cdata->data = 100;
H A Ddomchardata.phpt32 $cdata = new DOMCDataSection('Chars: <>&"');
33 $charnode->appendChild($cdata);
35 echo "Substring: ".$cdata->substringData(7, 4)."\n";
36 $cdata->replaceData(10, 1, "'");
37 echo "New Substring: ".$cdata->substringData(7, 4)."\n";
/PHP-8.3/ext/ffi/tests/
H A D025.phpt12 $x->cdata = 5;
14 $x->cdata += 2;
20 $x->cdata = 'a';
22 $x->cdata++;
29 ["cdata"]=>
33 ["cdata"]=>
39 ["cdata"]=>
43 ["cdata"]=>
H A D047.phpt2 FFI 047: FFI::CData->cdata meaning
10 $x->cdata = 42;
15 $x->cdata = 42;
21 $x = FFI::cdef()->new("struct {int cdata;}");
23 $x->cdata = 42;
31 ["cdata"]=>
34 Attempt to assign field 'cdata' of non C struct/union
36 ["cdata"]=>
H A D004.phpt56 ["cdata"]=>
60 ["cdata"]=>
64 ["cdata"]=>
68 ["cdata"]=>
H A Dgh11934.phpt33 $source->cdata = $value;
50 $source->cdata = 2;
54 var_dump($struct->field === $source->cdata);
92 $int->cdata = 42;
103 $source->cdata = 123;
105 $target->cdata = $source;
107 var_dump($target->cdata);
114 $source->cdata = 123;
H A Dgh11934b.phpt23 $ffi->gh11934b_ffi_var_test_cdata->cdata = 2;
26 $source->cdata = 31;
H A D041.phpt63 ["cdata"]=>
73 ["cdata"]=>
91 ["cdata"]=>
101 ["cdata"]=>
H A D040.phpt18 $x->cdata = 5;
55 ["cdata"]=>
75 ["cdata"]=>
H A D037.phpt17 $int->cdata = 42;
H A D026.phpt14 $val->cdata += 5;
/PHP-8.3/ext/dom/tests/manually_call_constructor/
H A Dcdatasection.phpt8 $cdata = new DOMCdataSection("my value");
9 var_dump($cdata->nodeValue);
10 $cdata->__construct("my new value");
11 var_dump($cdata->nodeValue);
18 $doc->documentElement->appendChild($cdata);
21 $cdata->__construct("my even newer value");
22 $doc->documentElement->appendChild($cdata);
/PHP-8.3/ext/dom/tests/delayed_freeing/
H A Ddom_character_data.phpt12 $cdata = $doc->documentElement->firstChild;
13 var_dump($cdata->wholeText, $cdata->parentNode->tagName);
14 $cdata->parentNode->remove();
15 var_dump($cdata->wholeText, $cdata->parentNode->tagName);
/PHP-8.3/ext/tidy/tests/
H A Dbug77040.phpt8 $tidy->parseString("<p>text</p><p><![CDATA[cdata]]></p>");
15 $cdata = $tidy->body()->child[1]->child[0];
16 var_dump($cdata->type === TIDY_NODETYPE_CDATA);
17 var_dump($cdata->isHtml());
/PHP-8.3/ext/ffi/
H A Dffi.c513 cdata->ptr = (void*)&cdata->ptr_holder; in zend_ffi_cdata_to_zval_slow_ptr()
531 cdata->ptr = (void*)&cdata->ptr_holder; in zend_ffi_cdata_to_zval_slow_ret()
1842 cdata->ptr = &cdata->ptr_holder; in zend_ffi_add()
2393 if (cdata->ptr != (void*)&cdata->ptr_holder) { in zend_ffi_cdata_dtor()
2510 cdata->ptr = &cdata->ptr_holder; in zend_ffi_read_var()
3902 if (cdata->ptr != (void*)&cdata->ptr_holder) { in ZEND_METHOD()
4028 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4038 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4068 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4081 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
[all …]
/PHP-8.3/ext/xmlwriter/tests/
H A DOO_009.phpt22 $xw->startElement('cdata');
40 <cdata><![CDATA[<>&"]]></cdata>
H A D009.phpt21 xmlwriter_start_element($xw, 'cdata');
39 <cdata><![CDATA[<>&"]]></cdata>
/PHP-8.3/ext/xml/tests/
H A Dbug50576.phpt98 [type] => cdata
114 [type] => cdata

Completed in 57 milliseconds

12