Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login
(PHP 4 >= 4.0.4, PHP 5)
gmp_strval() convertit un nombre GMP en chaîne de caractères, dans la base base. La base par défaut est 10. Les valeurs possibles vont de 2 à 36.
Exemple 1. Conversion d'un nombre GMP en chaîne
<?php$a = gmp_init("0x41682179fbf5");printf("Décimal : %s, base 36: %s", gmp_strval($a), gmp_strval($a, 36));?>
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account
Document on this page is part of "Manuel PHP". See Index Page for more info about Authorship and Copyright.
1999-2009 Linuxinfor.com. No rights reserved.