svn: /phpdoc/en/trunk/reference/math/functions/ intdiv.xml

From: Date: Wed, 07 Oct 2015 16:08:47 +0000
Subject: svn: /phpdoc/en/trunk/reference/math/functions/ intdiv.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13772@lists.php.net to get a copy of this message
salathe Wed, 07 Oct 2015 16:08:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337965 Log: rename numerator to dividend for consistency See also php-src PR 1551 [1] for changing this in the source. [1] https://github.com/php/php-src/pull/1551/ Changed paths: U phpdoc/en/trunk/reference/math/functions/intdiv.xml Modified: phpdoc/en/trunk/reference/math/functions/intdiv.xml =================================================================== --- phpdoc/en/trunk/reference/math/functions/intdiv.xml 2015-10-07 09:18:26 UTC (rev 337964) +++ phpdoc/en/trunk/reference/math/functions/intdiv.xml 2015-10-07 16:08:47 UTC (rev 337965) @@ -10,18 +10,18 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>intdiv</methodname> - <methodparam><type>int</type><parameter>numerator</parameter></methodparam> + <methodparam><type>int</type><parameter>dividend</parameter></methodparam> <methodparam><type>int</type><parameter>divisor</parameter></methodparam> </methodsynopsis> <para> - Returns the integer division of <parameter>numerator</parameter> by <parameter>divisor</parameter>. + Returns the integer division of <parameter>dividend</parameter> by <parameter>divisor</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <variablelist> <varlistentry> - <term><parameter>numerator</parameter></term> + <term><parameter>dividend</parameter></term> <listitem> <para> Number to be divided. @@ -32,7 +32,7 @@ <term><parameter>divisor</parameter></term> <listitem> <para> - Number which divides the <parameter>numerator</parameter>. + Number which divides the <parameter>dividend</parameter>. </para> </listitem> </varlistentry> @@ -41,14 +41,14 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - The integer division of <parameter>numerator</parameter> by <parameter>divisor</parameter>. + The integer division of <parameter>dividend</parameter> by <parameter>divisor</parameter>. </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> If <parameter>divisor</parameter> is <literal>0</literal>, a <classname>DivisionByZeroError</classname> - exception is thrown. If the <parameter>numerator</parameter> is <constant>PHP_INT_MIN</constant> + exception is thrown. If the <parameter>dividend</parameter> is <constant>PHP_INT_MIN</constant> and the <parameter>divisor</parameter> is <literal>-1</literal>, then an <classname>ArithmeticError</classname> exception is thrown. </para>

« previous php.doc.cvs (#13772) next »