philip          Mon Nov 11 02:29:48 2002 EDT

  Modified files:              
    /phpdoc/en/reference/math/functions log.xml 
  Log:
  Documenting new optional base parameter; patch submitted by Pollita.
  
  
Index: phpdoc/en/reference/math/functions/log.xml
diff -u phpdoc/en/reference/math/functions/log.xml:1.3 
phpdoc/en/reference/math/functions/log.xml:1.4
--- phpdoc/en/reference/math/functions/log.xml:1.3      Thu Sep 12 03:01:44 2002
+++ phpdoc/en/reference/math/functions/log.xml  Mon Nov 11 02:29:48 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
   <refentry id="function.log">
    <refnamediv>
@@ -11,10 +11,20 @@
      <methodsynopsis>
       <type>float</type><methodname>log</methodname>
       <methodparam><type>float</type><parameter>arg</parameter></methodparam>
+      <methodparam 
+choice="opt"><type>float</type><parameter>base</parameter></methodparam>
      </methodsynopsis>
     <para>
-     Returns the natural logarithm of <parameter>arg</parameter>.
+     If the optional <parameter>base</parameter> parameter is specified, 
+     <function>log</function> returns log<subscript>base</subscript>
+     <parameter>arg</parameter>, otherwise <function>log</function> 
+     returns the natural logarithm of <parameter>arg</parameter>.
     </para>
+    <note>
+     <para>
+      The <parameter>base</parameter> parameter became available
+      with PHP verion 4.3.0
+     </para>
+    </note>
    </refsect1>
   </refentry>
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to