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
Beginning with PHP 4.2.0 these functions are enabled by default. For older versions you have to configure and compile PHP with --enable-ctype . You can disable ctype support with --disable-ctype .
PHP 的 Windows 版本已經內置該擴充功能的支援。無需載入任何附加擴充功能即可使用這些函式。
Note: Builtin support for ctype is available with PHP 4.3.0.
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