Home
last modified time | relevance | path

Searched refs:elem1 (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.2/ext/simplexml/tests/
H A D007.phpt11 <sxe id="elem1">
12 <elem1 attr1='first'>
21 </elem1>
28 var_dump($sxe->elem1);
31 var_dump($sxe->elem1['attr1']);
35 $sxe->elem1['attr1'] = 12;
36 var_dump($sxe->elem1['attr1']);
40 unset($sxe->elem1['attr1']);
41 var_dump($sxe->elem1['attr1']);
45 $dummy = $sxe->elem1[$a];
[all …]
H A D004.phpt11 <sxe id="elem1">
13 <elem1 attr1='first'>
23 </elem1>
30 $elem1 = $sxe->elem1;
31 $elem2 = $elem1->elem2;
40 string(5) "elem1"
42 ["elem1"]=>
H A D000.phpt21 test('sxe->elem1');
22 test('sxe->elem1[0]');
27 test('sxe->elem1[1]');
28 test('sxe->elem1[2]');
49 ["elem1"]=>
74 ===sxe->elem1
109 ===sxe->elem1[0]
144 ===sxe->elem1[0]->elem2
179 ===sxe->elem1[0]->attr1
184 ===sxe->elem1[1]
[all …]
H A D005.phpt11 <sxe id="elem1">
13 <elem1 attr1='first'>
24 </elem1>
29 var_dump(trim($sxe->elem1->elem2));
30 var_dump(trim($sxe->elem1->elem2->elem3));
31 var_dump(trim($sxe->elem1->elem2->elem3->elem4));
H A D009b.phpt10 <sxe id="elem1">
12 <elem1 attr1='first'>Bla bla 1.<!-- comment --><elem2>
14 </elem2></elem1>
26 string(5) "elem1"
28 ["elem1"]=>
H A D006.phpt11 <sxe id="elem1">
13 <elem1 attr1='first'>
25 </elem1>
57 foreach($sxe->elem1 as $name => $data) {
64 string(5) "elem1"
69 string(5) "elem1"
77 string(5) "elem1"
H A Dsxe_001.phpt12 <sxe id="elem1">
13 <elem1 attr1='first'>
22 </elem1>
34 string(5) "elem1"
36 ["elem1"]=>
H A D010.phpt15 <sxe id="elem1">
16 <elem1 attr1='first'>
25 </elem1>
37 string(5) "elem1"
39 ["elem1"]=>
H A D002.phpt11 <sxe id="elem1">
12 <elem1 attr1='first'>
21 </elem1>
37 string(5) "elem1"
39 ["elem1"]=>
H A D003.phpt13 <sxe id="elem1">
15 <elem1 attr1='first'>
25 </elem1>
37 string(5) "elem1"
39 ["elem1"]=>
H A D019.phpt11 <sxe id="elem1">
13 <elem1 attr1='first'>
25 </elem1>
57 foreach($sxe->elem1->children() as $name => $data) {
64 string(5) "elem1"
69 string(5) "elem1"
H A D008.phpt11 <sxe id="elem1">
12 <elem1 attr1='first'>
21 </elem1>
27 var_dump($sxe->xpath("elem1/elem2/elem3/elem4"));
H A D009.phpt10 <sxe id="elem1">
12 <elem1 attr1='first'>
24 </elem1>
38 string(5) "elem1"
H A Dsxe_002.phpt12 <sxe id="elem1">
14 <elem1 attr1='first'>
26 </elem1>
47 var_dump(trim($sxe->elem1));
51 string(5) "elem1"
H A Dsxe_003.phpt12 <sxe id="elem1">
14 <elem1 attr1='first'>
26 </elem1>
62 string(5) "elem1"
H A D001-mb.phpt16 string(5) "elem1"
18 ["elem1"]=>
H A D001.phpt16 string(5) "elem1"
18 ["elem1"]=>
H A Dsxe_005.phpt12 <elem1/>
30 var_dump(count($sxe->elem1));
/PHP-8.2/ext/xmlwriter/tests/
H A DOO_008.phpt12 $xw->writeDtdElement('sxe', '(elem1+, elem11, elem22*)');
14 $xw->startDtdElement('elem1');
17 $xw->startDtdAttlist('elem1');
28 <!ELEMENT sxe (elem1+, elem11, elem22*)>
30 <!ELEMENT elem1 elem2*>
31 <!ATTLIST elem1 attr1 CDATA #required
H A D008.phpt15 xmlwriter_write_dtd_element($xw, 'sxe', '(elem1+, elem11, elem22*)');
17 xmlwriter_start_dtd_element($xw, 'elem1');
20 xmlwriter_start_dtd_attlist($xw, 'elem1');
33 <!ELEMENT sxe (elem1+, elem11, elem22*)>
35 <!ELEMENT elem1 elem2*>
36 <!ATTLIST elem1 attr1 CDATA #required
H A D009.phpt14 xmlwriter_write_attribute($xw, 'id', 'elem1');
15 xmlwriter_start_element($xw, 'elem1');
35 <root id="elem1">
36 <elem1 attr1="first">
40 </elem1>
H A DOO_009.phpt15 $xw->writeAttribute('id', 'elem1');
16 $xw->startElement('elem1');
36 <root id="elem1">
37 <elem1 attr1="first">
41 </elem1>
H A Dxmlwriter_write_attribute_ns_basic_001.phpt11 xmlwriter_write_attribute_ns($xw, 'prefix', 'id', 'http://www.php.net/uri', 'elem1');
12 xmlwriter_start_element($xw, 'elem1');
25 <root prefix:id="elem1" xmlns:prefix="http://www.php.net/uri">
26 <elem1 attr1="first"/>
/PHP-8.2/ext/xml/tests/
H A Dxml004.phpt43 <root id="elem1">
44 <elem1>
51 </elem1>
53 <ROOT ID="elem1">
H A Dxml_closures_001.phpt36 <root id="elem1">
37 <elem1>
44 </elem1>

Completed in 30 milliseconds

12