PHP Developer's Dictionary- P54:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary Chapter 8. Document-Related Extensions PHP enables you to take advantage of the many external libraries that have been developed to accomplish very specific document-related tasks. This chapter provides a quick reference to the functions available in each of the document-related extensions libraries. But for an in-depth understanding of the libraries you need to consult the library-specific documentation. To understand how the PHP function calls are translated into the specific library function calls you should examine the appropriate .c file in the extension directory for that library such as ext cpdf for the ClibPDF library. You will often find that not every available library function has been implemented in PHP and those that have been implemented might not have the same features and functionality as those in the library. Aspell The Aspell library provides you access to dictionary functions from PHP. You can verify the spelling of a word as well as get possible matching words based on a particular spelling. The library is not part of the standard source but can be obtained from http . However this is an outdated library and you will likely want to use the Pspell library functions instead. aspell_new Syntax int aspell_new string master string personal Description The aspell_new function which was added in PHP returns a handle to the dictionary for use with other aspell functions. aspell_check Syntax Boolean aspell_check int dictionary link string word Description IT-SC book 265 PHP Developer s Dictionary The aspeii_check function which was added in PHP checks the spelling of the word against the dictionary indicated by the dictionary_link parameter. If the word is spelled correctly TRUE is returned otherwise FALSE is returned. aspell_check_raw Syntax Boolean aspell_check_raw int dictionary link string word Description The aspeii_check_raw function which was added in PHP checks .