Home
last modified time | relevance | path

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

12

/PHP-7.0/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;
41 string(5) "elem1"
43 ["elem1"]=>
H A D000.phpt21 test('sxe->elem1');
22 test('sxe->elem1[0]');
27 test('sxe->elem1[1]');
28 test('sxe->elem1[2]');
51 ["elem1"]=>
76 ===sxe->elem1
111 ===sxe->elem1[0]
146 ===sxe->elem1[0]->elem2
182 ===sxe->elem1[0]->attr1
188 ===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>
28 string(5) "elem1"
30 ["elem1"]=>
H A D006.phpt11 <sxe id="elem1">
13 <elem1 attr1='first'>
25 </elem1>
57 foreach($sxe->elem1 as $name => $data) {
65 string(5) "elem1"
70 string(5) "elem1"
78 string(5) "elem1"
H A D002.phpt11 <sxe id="elem1">
12 <elem1 attr1='first'>
21 </elem1>
38 string(5) "elem1"
40 ["elem1"]=>
H A D010.phpt15 <sxe id="elem1">
16 <elem1 attr1='first'>
25 </elem1>
38 string(5) "elem1"
40 ["elem1"]=>
H A Dsxe_001.phpt14 <sxe id="elem1">
15 <elem1 attr1='first'>
24 </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) {
65 string(5) "elem1"
70 string(5) "elem1"
H A D003.phpt13 <sxe id="elem1">
15 <elem1 attr1='first'>
25 </elem1>
38 string(5) "elem1"
40 ["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>
39 string(5) "elem1"
H A Dsxe_002.phpt14 <sxe id="elem1">
16 <elem1 attr1='first'>
28 </elem1>
49 var_dump(trim($sxe->elem1));
54 string(5) "elem1"
H A Dsxe_003.phpt14 <sxe id="elem1">
16 <elem1 attr1='first'>
28 </elem1>
66 string(5) "elem1"
H A D001.phpt17 string(5) "elem1"
19 ["elem1"]=>
H A Dsxe_005.phpt14 <elem1/>
32 var_dump(count($sxe->elem1));
/PHP-7.0/ext/xmlwriter/tests/
H A DOO_008.phpt15 $xw->writeDtdElement('sxe', '(elem1+, elem11, elem22*)');
17 $xw->startDtdElement('elem1');
20 $xw->startDtdAttlist('elem1');
31 <!ELEMENT sxe (elem1+, elem11, elem22*)>
33 <!ELEMENT elem1 elem2*>
34 <!ATTLIST elem1 attr1 CDATA #required
H A D008.phpt18 xmlwriter_write_dtd_element($xw, 'sxe', '(elem1+, elem11, elem22*)');
20 xmlwriter_start_dtd_element($xw, 'elem1');
23 xmlwriter_start_dtd_attlist($xw, 'elem1');
36 <!ELEMENT sxe (elem1+, elem11, elem22*)>
38 <!ELEMENT elem1 elem2*>
39 <!ATTLIST elem1 attr1 CDATA #required
H A D009.phpt18 xmlwriter_write_attribute($xw, 'id', 'elem1');
19 xmlwriter_start_element($xw, 'elem1');
39 <root id="elem1">
40 <elem1 attr1="first">
44 </elem1>
H A DOO_009.phpt18 $xw->writeAttribute('id', 'elem1');
19 $xw->startElement('elem1');
39 <root id="elem1">
40 <elem1 attr1="first">
44 </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"/>
H A Dxmlwriter_write_attribute_ns_error_001.phpt12 xmlwriter_start_element($xw, 'elem1');
23 var_dump(xmlwriter_write_attribute_ns($xw, 'prefix', 'id', 'http://www.php.net/uri', 'elem1'));
33 <elem1 attr1="first"/>
/PHP-7.0/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 28 milliseconds

12