language/predefined/variables/argc.xml
a6d209f4ff71ccba3f1255902827f5df3e092ff9
...
...
@@ -1,7 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3

4
-
<phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.argc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.argc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$argc</refname>
7
7
<refpurpose>The number of arguments passed to script</refpurpose>
...
...
@@ -52,7 +52,26 @@ int(4)
52
52
</para>
53
53
</refsect1>
54
54

55
-
</phpdoc:varentry>
55
+
<refsect1 role="notes">
56
+
&reftitle.notes;
57
+
<note>
58
+
<para>
59
+
This is also available as <varname>$_SERVER['argc']</varname>.
60
+
</para>
61
+
</note>
62
+
</refsect1>
63
+

64
+
<refsect1 role="seealso">
65
+
&reftitle.seealso;
66
+
<para>
67
+
<simplelist>
68
+
<member><function>getopt</function></member>
69
+
<member><link linkend="reserved.variables.argv"><varname>$argv</varname></link></member>
70
+
</simplelist>
71
+
</para>
72
+
</refsect1>
73
+
74
+
</refentry>
56
75
57
76
<!-- Keep this comment at the end of the file
58
77
Local variables:
59
78