by Example
-- Choose a function --
gmp_sign
Display the text box
gmp_sign()
«
gmp_setbit
|
gmp_sqrt
»
<?php
$int
=
gmp_sign
(
"500"
// resource $a
);
?>
Result
$int
=
1
Examples
#1
gmp_sign
(
"500"
)
#2
gmp_sign
(
"-500"
)
#3
gmp_sign
(
"0"
)
See also
abs
,
gmp_abs
Deutsch
English
Español
Français
Italiano
Português
Română
Türkçe
Русский
中文
日本語
Help
Misc
Config
Test
Unit test
PHP Manual
php.net
No Manual
Powered by
PHP
7.1.33 (0.004 s)
2014-2017 Michel Corne