File tree Expand file tree Collapse file tree 6 files changed +27
-16
lines changed
reference/simplexml/simplexmlelement Expand file tree Collapse file tree 6 files changed +27
-16
lines changed Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::current</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::current</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
3232 <refsect1 role =" returnvalues" >
3333 &reftitle.returnvalues;
3434 <para >
35- Returns the current element as a <classname >SimpleXMLElement</classname > object, or an <classname >Error</classname >
36- is thrown on failure.
35+ Returns the current element as a <classname >SimpleXMLElement</classname > object.
3736 </para >
3837 </refsect1 >
3938
39+ <refsect1 role =" errors" >
40+ &reftitle.errors;
41+ <para >
42+ Throws an <classname >Error</classname > on failure.
43+ </para >
44+ </refsect1 >
4045
4146 <refsect1 role =" changelog" >
4247 &reftitle.changelog;
Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::getChildren</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::getChildren</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::key</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::key</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
3333 <refsect1 role =" returnvalues" >
3434 &reftitle.returnvalues;
3535 <para >
36- Returns the XML tag name of the element referenced by the current <classname >SimpleXMLElement</classname > object or
37- an <classname >Error</classname > is thrown on failure.
36+ Returns the XML tag name of the element referenced by the current <classname >SimpleXMLElement</classname > object.
37+ </para >
38+ </refsect1 >
39+
40+ <refsect1 role =" errors" >
41+ &reftitle.errors;
42+ <para >
43+ Throws an <classname >Error</classname > on failure.
3844 </para >
3945 </refsect1 >
4046
Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::next</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::next</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::rewind</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::rewind</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
Original file line number Diff line number Diff line change 1414
1515 <warning >
1616 <simpara >
17- Before PHP 8.0, <methodname >SimpleXMLElement::valid</methodname > was declared on
18- <classname >SimpleXMLIterator</classname >, available as of PHP 5 .
17+ Prior to PHP 8.0, <methodname >SimpleXMLElement::valid</methodname > was only
18+ declared on the subclass <classname >SimpleXMLIterator</classname >.
1919 </simpara >
2020 </warning >
2121
You can’t perform that action at this time.
0 commit comments