language/predefined/parseerror.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,11 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
-
<phpdoc:exceptionref xml:id="class.parseerror"
5
-
xmlns="http://docbook.org/ns/docbook"
6
-
xmlns:xlink="http://www.w3.org/1999/xlink"
7
-
xmlns:xi="http://www.w3.org/2001/XInclude"
8
-
xmlns:phpdoc="http://php.net/ns/phpdoc">
3
+
<phpdoc:exceptionref xml:id="class.parseerror" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
9
4
<title>ParseError</title>
10
5
<titleabbrev>ParseError</titleabbrev>
11
6
...
...
@@ -19,6 +14,12 @@
19
14
error occurs while parsing PHP code, such as when
20
15
<function>eval</function> is called.
21
16
</para>
17
+
<note>
18
+
<simpara>
19
+
<classname>ParseError</classname> extends <classname>CompileError</classname>
20
+
as of PHP 7.3.0. Formerly, it extended <classname>Error</classname>.
21
+
</simpara>
22
+
</note>
22
23
</section>
23
24
<!-- }}} -->
24
25
...
...
@@ -26,24 +27,28 @@
26
27
&reftitle.classsynopsis;
27
28
28
29
<!-- {{{ Synopsis -->
29
-
<classsynopsis>
30
-
<ooclass><classname>ParseError</classname></ooclass>
30
+
<classsynopsis class="class">
31
+
<ooexception>
32
+
<exceptionname>ParseError</exceptionname>
33
+
</ooexception>
31
34

32
-
<!-- {{{ Class synopsis -->
33
-
<classsynopsisinfo>
34
-
<ooclass>
35
-
<classname>ParseError</classname>
36
-
</ooclass>
35
+
<ooclass>
36
+
<modifier>extends</modifier>
37
+
<classname>CompileError</classname>
38
+
</ooclass>
37
39

38
-
<ooclass>
39
-
<modifier>extends</modifier>
40
-
<classname>Error</classname>
41
-
</ooclass>
42
-
</classsynopsisinfo>
43
-
<!-- }}} -->
40
+
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
41
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
42
+
<xi:fallback/>
43
+
</xi:include>
44
44

45
45
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
46
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
46
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Error'])">
47
+
<xi:fallback/>
48
+
</xi:include>
49
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Error'])">
50
+
<xi:fallback/>
51
+
</xi:include>
47
52
</classsynopsis>
48
53
49
54
<!-- }}} -->
...
...
@@ -51,7 +56,6 @@
51
56
</section>
52
57
</partintro>
53
58
</phpdoc:exceptionref>
54
-
55
59
<!-- Keep this comment at the end of the file
56
60
Local variables:
57
61
mode: sgml
58
62