language/predefined/arithmeticerror.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.arithmeticerror"
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.arithmeticerror" 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>ArithmeticError</title>
10
5
<titleabbrev>ArithmeticError</titleabbrev>
11
6
...
...
@@ -16,10 +11,10 @@
16
11
&reftitle.intro;
17
12
<para>
18
13
<ooclass><classname>ArithmeticError</classname></ooclass> is thrown when
19
-
an error occurs while performing mathematical operations. In PHP 7.0,
20
-
these errors include attempting to perform a bitshift by a negative
14
+
an error occurs while performing mathematical operations.
15
+
These errors include attempting to perform a bitshift by a negative
21
16
amount, and any call to <function>intdiv</function> that would result in a
22
-
value outside the possible bounds of an <type>integer</type>.
17
+
value outside the possible bounds of an <type>int</type>.
23
18
</para>
24
19
</section>
25
20
<!-- }}} -->
...
...
@@ -28,29 +23,28 @@
28
23
&reftitle.classsynopsis;
29
24
30
25
<!-- {{{ Synopsis -->
31
-
<classsynopsis>
32
-
<ooclass><classname>ArithmeticError</classname></ooclass>
33
-
34
-
<!-- {{{ Class synopsis -->
35
-
<classsynopsisinfo>
36
-
<ooclass>
37
-
<classname>ArithmeticError</classname>
38
-
</ooclass>
26
+
<classsynopsis class="class">
27
+
<ooexception>
28
+
<exceptionname>ArithmeticError</exceptionname>
29
+
</ooexception>
39
30

40
-
<ooclass>
41
-
<modifier>extends</modifier>
42
-
<classname>Error</classname>
43
-
</ooclass>
44
-
</classsynopsisinfo>
45
-
<!-- }}} -->
31
+
<ooclass>
32
+
<modifier>extends</modifier>
33
+
<classname>Error</classname>
34
+
</ooclass>
46
35

47
36
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
48
37
<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;']]))">
49
-
<xi:fallback />
38
+
<xi:fallback/>
50
39
</xi:include>
51
40

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