介绍
These functions allow you to check the spelling of a word and offer
suggestions.
安装
If you have the libraries needed add the
--with-pspell[=dir] option
when compiling PHP.
Note to Win32 Users:
win32 support is available only in PHP 4.3.3 and later versions.
Also, you must have aspell 0.50 or newer installed.
In order to enable this module under Windows, you must copy
aspell-15.dll from the bin folder
of your aspell installation to a folder where PHP will be able to find it.
C:\PHP or the SYSTEM32 folder of
your windows machine (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) are good choices.
预定义常量
由于这些常量是由该扩展模块定义的,因此只有在该扩展模块被编译到 PHP 中,或者在运行时被动态加载后,这些常量才有效。