didou Wed Jul 16 13:12:34 2003 EDT Modified files: /phpdoc/en/reference/gmp/functions gmp-gcdext.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/gmp/functions/gmp-gcdext.xml diff -u phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.3 phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.4 --- phpdoc/en/reference/gmp/functions/gmp-gcdext.xml:1.3 Tue Apr 1 01:39:54 2003 +++ phpdoc/en/reference/gmp/functions/gmp-gcdext.xml Wed Jul 16 13:12:33 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/gmp.xml, last change in rev 1.1 --> <refentry id="function.gmp-gcdext"> <refnamediv> @@ -33,6 +33,7 @@ <title>Solving a linear Diophantine equation</title> <programlisting role="php"> <![CDATA[ +<?php // Solve the equation a*s + b*t = g // where a = 12, b = 21, g = gcd(12, 21) = 3 $a = gmp_init(12); @@ -53,6 +54,7 @@ } // output: Solution: 12*2 + 21*-1 = 3 +?> ]]> </programlisting> </example>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php