PHP Manual Function Reference Mathematical Extensions GMP Installing/Configuring Resource Types Runtime Configuration Predefined Constants Resource Types Prior to PHP 5.6, most GMP functions operate on or return GMP number resources. PHP 5.6 onwards uses GMP objects in place of GMP number resources.