An example of a ctype_*
function uage in the Magento 2.0.x branch
But the official system requirements document for Magento 2.0.x does not methion it:
http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements-tech.html#required-php-extensions
An example of a ctype_*
function uage in the Magento 2.1.x branch
But the official system requirements document for Magento 2.1.x does not methion it:
http://devdocs.magento.com/guides/v2.1/install-gde/system-requirements-tech.html#required-php-extensions
Magento 2 does document its dependence on the ctype
PHP extension
The ctype
PHP extension is not ebabled by default in some Unix-like systems (e.g., FreeBSD)
http://php.net/manual/en/ctype.installation.php#119977
On FreeBSD, this library is NOT included automatically.
It must be manually installed.
This can be done with the following command:
pkg install php70-ctype