gmp_sqrtrem

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
gmp_sqrtrem - Square root with remainder
Manual
Code Examples

Example #1 gmp_sqrtrem example

Result: 3, 0 2, 3 1024, 0
PHP Version: