Re: cvs: phpdoc /en/reference/gmp/functions gmp-clrbit.xml gmp-setbit.xml gmp-testbit.xml
| From: | Antony Dovgal | Date: | Tue, 22 May 2007 14:36:25 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/gmp/functions gmp-clrbit.xml gmp-setbit.xml gmp-testbit.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376380@lists.php.net to get a copy of this message | ||
Thanks a lot, Hannes.
I completely forgot about it..
On 22.05.2007 18:34, Hannes Magnusson wrote:
bjori Tue May 22 14:34:36 2007 UTC-- Wbr, Antony DovgalAdded files: /phpdoc/en/reference/gmp/functions gmp-testbit.xml Modified files: /phpdoc/en/reference/gmp/functions gmp-clrbit.xml gmp-setbit.xml Log:Add gmp_testbit() http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gmp/functions/gmp-clrbit.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/gmp/functions/gmp-clrbit.xml diff -u phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.6 phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.7 --- phpdoc/en/reference/gmp/functions/gmp-clrbit.xml:1.6 Wed Nov 10 08:30:30 2004 +++ phpdoc/en/reference/gmp/functions/gmp-clrbit.xml Tue May 22 14:34:36 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/gmp.xml, last change in rev 1.1 --> <refentry id="function.gmp-clrbit"><refnamediv>@@ -46,7 +46,8 @@</screen> </example> <para> - See also <function>gmp_setbit</function>. + See also <function>gmp_setbit</function> and + <function>gmp_testbit</functino>. </para> </refsect1></refentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gmp/functions/gmp-setbit.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/gmp/functions/gmp-setbit.xml diff -u phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.6 phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.7 --- phpdoc/en/reference/gmp/functions/gmp-setbit.xml:1.6 Wed Nov 10 08:30:30 2004 +++ phpdoc/en/reference/gmp/functions/gmp-setbit.xml Tue May 22 14:34:36 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/gmp.xml, last change in rev 1.1 --> <refentry id="function.gmp-setbit"><refnamediv>@@ -49,7 +49,8 @@</screen> </example> <para> - See also <function>gmp_clrbit</function>. + See also <function>gmp_clrbit</function> and + <function>gmp_testbit</function>. </para> </refsect1></refentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/gmp/functions/gmp-testbit.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/gmp/functions/gmp-testbit.xml +++ phpdoc/en/reference/gmp/functions/gmp-testbit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.gmp-testbit"> <refnamediv> <refname>gmp_testbit</refname> <refpurpose>Tests if a bit is set</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>gmp_testbit</methodname> <methodparam><type>resource</type><parameter>a</parameter></methodparam> <methodparam><type>int</type><parameter>index</parameter></methodparam> </methodsynopsis> <para> Tests if the specified bit is set. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist><varlistentry> <term><parameter>a</parameter></term> <listitem> <para> A GMP number resource </para> </listitem> </varlistentry> <varlistentry> <term><parameter>index</parameter></term> <listitem> <para> The bit to test </para> </listitem> </varlistentry></variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> E_WARNING is issued when <parameter>index<parameter> is less than zero. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example><title><function>gmp_testbit</function> example</title> <programlisting role="php"><![CDATA[ <?php $n = gmp_init("1000000"); var_dump(gmp_testbit($n, 1)); gmp_setbit($n, 1); var_dump(gmp_testbit($n, 1)); ?> ]]></programlisting> &example.outputs; <screen><![CDATA[ bool(false) bool(true) ]]></screen></example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist><member><function>gmp_setbit</function></member> <member><function>gmp_clrbit</function></member></simplelist> </para> </refsect1> </refentry> <!-- 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 indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->