cvs: phpdoc /en/functions info.xml

From: Date: Wed, 22 Nov 2000 09:02:12 +0000
Subject: cvs: phpdoc /en/functions info.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333019@lists.php.net to get a copy of this message
hholzgra Wed Nov 22 01:02:12 2000 EDT Modified files: /phpdoc/en/functions info.xml Log: some corrections regarding phpinfo() and phpcredits() constants # and some indentation changes due to XEmacs running wild again

Index: phpdoc/en/functions/info.xml diff -u phpdoc/en/functions/info.xml:1.35 phpdoc/en/functions/info.xml:1.36 --- phpdoc/en/functions/info.xml:1.35 Mon Oct 9 07:59:45 2000 +++ phpdoc/en/functions/info.xml Wed Nov 22 01:02:12 2000 @@ -75,45 +75,45 @@ <tgroup cols="4"> <thead> <row> - <entry>option</entry> - <entry>ini-parameter</entry> - <entry>default</entry> - <entry>description</entry> + <entry>option</entry> + <entry>ini-parameter</entry> + <entry>default</entry> + <entry>description</entry> </row> </thead> <tbody> <row> - <entry>ASSERT_ACTIVE</entry> - <entry>assert.active</entry> - <entry>1</entry> - <entry>enable <function>assert</function> evaluation</entry> + <entry>ASSERT_ACTIVE</entry> + <entry>assert.active</entry> + <entry>1</entry> + <entry>enable <function>assert</function> evaluation</entry> </row> <row> - <entry>ASSERT_WARNING</entry> - <entry>assert.warning</entry> - <entry>1</entry> - <entry>issue a PHP warning for each failed assertion</entry> + <entry>ASSERT_WARNING</entry> + <entry>assert.warning</entry> + <entry>1</entry> + <entry>issue a PHP warning for each failed assertion</entry> </row> <row> - <entry>ASSERT_BAIL</entry> - <entry>assert.bail</entry> - <entry>0</entry> - <entry>terminate execution on failed assertions</entry> + <entry>ASSERT_BAIL</entry> + <entry>assert.bail</entry> + <entry>0</entry> + <entry>terminate execution on failed assertions</entry> </row> <row> - <entry>ASSERT_QUIET_EVAL</entry> - <entry>assert.quiet_eval</entry> - <entry>0</entry> - <entry> - disable error_reporting during assertion expression - evaluation - </entry> + <entry>ASSERT_QUIET_EVAL</entry> + <entry>assert.quiet_eval</entry> + <entry>0</entry> + <entry> + disable error_reporting during assertion expression + evaluation + </entry> </row> <row> - <entry>ASSERT_CALLBACK</entry> - <entry>assert_callback</entry> - <entry>(null)</entry> - <entry>user function to call on failed assertions</entry> + <entry>ASSERT_CALLBACK</entry> + <entry>assert_callback</entry> + <entry>(null)</entry> + <entry>user function to call on failed assertions</entry> </row> </tbody> </tgroup> @@ -170,7 +170,7 @@ <para> Loads the PHP extension defined in <parameter>library</parameter>. See also the <link - linkend="ini.extension-dir">extension_dir</link> configuration + linkend="ini.extension-dir">extension_dir</link> configuration directive. </para> </refsect1> @@ -203,9 +203,9 @@ You can see a list of all the environmental variables by using <function>phpinfo</function>. You can find out what many of them mean by taking a look at the <ulink url="&url.cgispecs;">CGI - specification</ulink>, specifically the <ulink - url="&url.cgispec;">page on - environmental variables</ulink>. + specification</ulink>, specifically the <ulink + url="&url.cgispec;">page on + environmental variables</ulink>. <note> <para> This function does not work in ISAPI mode. @@ -242,7 +242,7 @@ </simpara> <simpara> To check whether the system is using a <link - linkend="configuration.file">configuration file</link>, try + linkend="configuration.file">configuration file</link>, try retrieving the value of the cfg_file_path configuration setting. If this is available, a configuration file is being used. @@ -392,7 +392,7 @@ </para> <note> <simpara> - This function is not supported on Windows systems. + This function is not supported on Windows systems. </simpara> </note> </refsect1> @@ -628,7 +628,7 @@ <informalexample> <programlisting role="php"> &lt;?php - phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE); +phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE); ?&gt; </programlisting> </informalexample> @@ -637,16 +637,16 @@ <informalexample> <programlisting role="php"> &lt;html&gt; - &lt;head&gt; - &lt;title&gt;My credits page&lt;/title&gt; - &lt;/head&gt; - &lt;body&gt; + &lt;head&gt; + &lt;title&gt;My credits page&lt;/title&gt; + &lt;/head&gt; + &lt;body&gt; &lt;?php - // some code of your own - phpcredits(CREDITS_ALL + CREDITS_FULLPAGE); - // some more code - ?&gt; - &lt;/body&gt; + // some code of your own + phpcredits(CREDITS_ALL + CREDITS_FULLPAGE); + // some more code + ?&gt; + &lt;/body&gt; &lt;/html&gt; </programlisting> </informalexample> @@ -654,56 +654,56 @@ <para> </para> <para> - <table> + <table> <title>Pre-defined <function>phpcredits</function> flags</title> <tgroup cols="2"> <thead> - <row> - <entry>name</entry> - <entry>description</entry> - </row> + <row> + <entry>name</entry> + <entry>description</entry> + </row> </thead> <tbody> - <row> - <entry>CREDITS_ALL</entry> - <entry> - All the credits, equivalent to using: CREDITS_DOCS + CREDITS_GENERAL + - CREDITS_GROUP + CREDITS_MODULES + CREDITS_FULLPAGE. It generates a - complete stand-alone HTML page with the appropriate tags. - </entry> - </row> - <row> - <entry>CREDITS_DOCS</entry> - <entry>The credits for the documentation team</entry> - </row> - <row> - <entry>CREDITS_FULLPAGE</entry> - <entry> - Usually used in combination with the other flags. - Indicates that the a complete stand-alone HTML page - needs to be printed including the information indicated - by the other flags. - </entry> - </row> - <row> - <entry>CREDITS_GENERAL</entry> - <entry> - General credits: Language design and concept, PHP 4.0 authors - and SAPI module. - </entry> - </row> - <row> - <entry>CREDITS_GROUP</entry> - <entry>A list of the core developers</entry> - </row> - <row> - <entry>CREDITS_MODULES</entry> - <entry>A list of the extension modules for PHP, and their authors</entry> - </row> - <row> - <entry>CREDITS_SAPI</entry> - <entry>This flag is defined but, as of PHP 4.0.1pl2, it is not used</entry> - </row> + <row> + <entry>CREDITS_ALL</entry> + <entry> + All the credits, equivalent to using: CREDITS_DOCS + CREDITS_GENERAL + + CREDITS_GROUP + CREDITS_MODULES + CREDITS_FULLPAGE. It generates a + complete stand-alone HTML page with the appropriate tags. + </entry> + </row> + <row> + <entry>CREDITS_DOCS</entry> + <entry>The credits for the documentation team</entry> + </row> + <row> + <entry>CREDITS_FULLPAGE</entry> + <entry> + Usually used in combination with the other flags. + Indicates that the a complete stand-alone HTML page + needs to be printed including the information indicated + by the other flags. + </entry> + </row> + <row> + <entry>CREDITS_GENERAL</entry> + <entry> + General credits: Language design and concept, PHP 4.0 authors + and SAPI module. + </entry> + </row> + <row> + <entry>CREDITS_GROUP</entry> + <entry>A list of the core developers</entry> + </row> + <row> + <entry>CREDITS_MODULES</entry> + <entry>A list of the extension modules for PHP, and their authors</entry> + </row> + <row> + <entry>CREDITS_SAPI</entry> + <entry>A list of the server API modules for PHP, and their authors</entry> + </row> </tbody> </tgroup> </table> @@ -750,13 +750,6 @@ <listitem><simpara>INFO_VARIABLES</simpara></listitem> <listitem><simpara>INFO_LICENSE</simpara></listitem> <listitem><simpara>INFO_ALL</simpara></listitem> - <listitem><simpara>CREDITS_GROUP</simpara></listitem> - <listitem><simpara>CREDITS_GENERAL</simpara></listitem> - <listitem><simpara>CREDITS_SAPI</simpara></listitem> - <listitem><simpara>CREDITS_MODULES</simpara></listitem> - <listitem><simpara>CREDITS_DOCS</simpara></listitem> - <listitem><simpara>CREDITS_FULLPAGE</simpara></listitem> - <listitem><simpara>CREDITS_ALL</simpara></listitem> </itemizedlist> </para> <para> @@ -852,11 +845,11 @@ <example> <title><function>Php_sapi_name</function> Example</title> <programlisting role="php"> -$inter_type = php_sapi_name(); -if ($inter_type == "cgi") - print "You are using CGI PHP\n"; +$sapi_type = php_sapi_name(); +if ($sapi_type == "cgi") + print "You are using CGI PHP\n"; else - print "You are not using CGI PHP\n"; + print "You are not using CGI PHP\n"; </programlisting> </example> </para> @@ -887,9 +880,9 @@ <title><function>php_uname</function> Example</title> <programlisting role="php"> if (substr(php_uname(), 0, 7) == "Windows") { - die("Sorry, this script doesn't run on Windows.\n"); + die("Sorry, this script doesn't run on Windows.\n"); } -</programlisting> + </programlisting> </example> </para> </refsect1> @@ -942,7 +935,7 @@ </funcsynopsis> <simpara> Set the current active configuration setting of <link - linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>. + linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>. (0 for off, 1 for on) </simpara> <simpara> @@ -970,7 +963,7 @@ reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the <link linkend="configuration.file">configuration - file</link>. If seconds is set to zero, no time limit is + file</link>. If seconds is set to zero, no time limit is imposed. </simpara> <simpara> @@ -984,7 +977,7 @@ Note that <function>set_time_limit</function> has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the <link - linkend="configuration.file">configuration file</link>. + linkend="configuration.file">configuration file</link>. </simpara> </refsect1> </refentry> @@ -1047,15 +1040,15 @@ [0] =&gt; xml [1] =&gt; wddx [2] =&gt; standard - [3] =&gt; session - [4] =&gt; posix - [5] =&gt; pgsql - [6] =&gt; pcre - [7] =&gt; gd - [8] =&gt; ftp - [9] =&gt; db - [10] =&gt; Calendar - [11] =&gt; bcmath + [3] =&gt; session + [4] =&gt; posix + [5] =&gt; pgsql + [6] =&gt; pcre + [7] =&gt; gd + [8] =&gt; ftp + [9] =&gt; db + [10] =&gt; Calendar + [11] =&gt; bcmath ) </programlisting> </informalexample> @@ -1091,7 +1084,7 @@ <programlisting> print_r (get_extension_funcs (&quot;xml&quot;)); print_r (get_extension_funcs (&quot;gd&quot;)); - </programlisting> + </programlisting> </informalexample> will print a list of the functions in the modules <varname>xml</varname> and <varname>gd</varname> respectively. @@ -1136,13 +1129,13 @@ require_once (&quot;../inc/global.php&quot;); for ($i=1; $i&lt;5; $i++) - include &quot;util&quot;.$i.&quot;php&quot;; + include &quot;util&quot;.$i.&quot;php&quot;; -echo &quot;Required_once files\n&quot;; -print_r (get_required_files()); + echo &quot;Required_once files\n&quot;; + print_r (get_required_files()); -echo &quot;Included_once files\n&quot;; -print_r (get_included_files()); + echo &quot;Included_once files\n&quot;; + print_r (get_included_files()); ?&gt; </programlisting> </example> @@ -1152,8 +1145,8 @@ Required_once files Array ( - [local] =&gt; local.php - [../inc/global] =&gt; /full/path/to/inc/global.php + [local] =&gt; local.php + [../inc/global] =&gt; /full/path/to/inc/global.php ) Included_once files @@ -1224,21 +1217,21 @@ </refsect1> </refentry> -</reference> + </reference> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:"../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> + <!-- Keep this comment at the end of the file + Local variables: + mode: sgml + sgml-omittag:t + sgml-shorttag:t + sgml-minimize-attributes:nil + sgml-always-quote-attributes:t + sgml-indent-step:1 + sgml-indent-data:t + sgml-parent-document:nil + sgml-default-dtd-file:"../../manual.ced" + sgml-exposed-tags:nil + sgml-local-catalogs:nil + sgml-local-ecat-files:nil + End: + -->
« previous php.doc (#969333019) next »