CVS update: phpdoc/functions
| From: | jim | Date: | Sat, 19 Jun 1999 03:16:44 +0000 |
| Subject: | CVS update: phpdoc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7143@lists.php.net to get a copy of this message | ||
Date: Friday June 18, 1999 @ 23:16
Author: jim
Update of /repository/phpdoc/functions
In directory php:/tmp/cvs-serv13066
Modified Files:
info.sgml
Log Message:
Add docs for extension_loaded function.
Index: phpdoc/functions/info.sgml
diff -u phpdoc/functions/info.sgml:1.1.1.1 phpdoc/functions/info.sgml:1.2
--- phpdoc/functions/info.sgml:1.1.1.1 Sun Jun 6 14:50:48 1999
+++ phpdoc/functions/info.sgml Fri Jun 18 23:16:43 1999
@@ -473,6 +473,27 @@
</refsect1>
</refentry>
+ <refentry id="function.extension-loaded">
+ <refnamediv>
+ <refname>extension_loaded</refname>
+ <refpurpose>find out whether an extension is loaded</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>bool <function>extension_loaded</function></funcdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
+ </funcsynopsis>
+ <simpara>
+ Returns true if the extension identified by <parameter>name</parameter>
+ is loaded. You can see the names of various extensions by using
+ <function>phpinfo</function>.
+ <para>
+ See also <function>phpinfo</function>.
+
+ </refsect1>
+ </refentry>
+
<refentry id="function.putenv">
<refnamediv>
<refname>putenv</refname>
@@ -542,7 +563,7 @@
When called, <function>set_time_limit</function> restarts the timeout
counter from zero. In other words, if the timeout is the default 30
seconds, and 25 seconds into script execution a call such as
- set_time_limit( 20 ) is made, the script will run for a total of
+ set_time_limit(20) is made, the script will run for a total of
45 seconds before timing out.
</refsect1>