language/predefined/argumentcounterror.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.argumentcounterror"
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.argumentcounterror" 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>ArgumentCountError</title>
10
5
<titleabbrev>ArgumentCountError</titleabbrev>
11
6
...
...
@@ -18,6 +13,10 @@
18
13
<ooclass><classname>ArgumentCountError</classname></ooclass> is thrown
19
14
when too few arguments are passed to a user-defined function or method.
20
15
</para>
16
+
<para>
17
+
This error is also thrown when too many arguments are passed to a
18
+
non-variadic built-in function.
19
+
</para>
21
20
</section>
22
21
<!-- }}} -->
23
22
...
...
@@ -25,29 +24,28 @@
25
24
&reftitle.classsynopsis;
26
25
27
26
<!-- {{{ Synopsis -->
28
-
<classsynopsis>
29
-
<ooclass><classname>ArgumentCountError</classname></ooclass>
30
-
31
-
<!-- {{{ Class synopsis -->
32
-
<classsynopsisinfo>
33
-
<ooclass>
34
-
<classname>ArgumentCountError</classname>
35
-
</ooclass>
27
+
<classsynopsis class="class">
28
+
<ooexception>
29
+
<exceptionname>ArgumentCountError</exceptionname>
30
+
</ooexception>
36
31

37
-
<ooclass>
38
-
<modifier>extends</modifier>
39
-
<classname>TypeError</classname>
40
-
</ooclass>
41
-
</classsynopsisinfo>
42
-
<!-- }}} -->
32
+
<ooclass>
33
+
<modifier>extends</modifier>
34
+
<classname>TypeError</classname>
35
+
</ooclass>
43
36

44
37
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
45
38
<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;']]))">
46
-
<xi:fallback />
39
+
<xi:fallback/>
47
40
</xi:include>
48
41

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