16 Miscellaneous topicsThis is NOT the latest copy of this book; click here for the latest version.
I have to admit that I hate the idea of a "miscellaneous" chapter as much as the next person - surely all parts of PHP fit nicely together into groups of associated functionality? Well, no - although the majority of this book is split up nicely into related sections, there are several parts that simply do not relate to anything else close by or deserve their own section to give them justice.
Chapter contents16.1. Process control
16.1.1. Taking control of PHP: pcntl_signal()
16.1.2. Timing your signals: pcntl_alarm()
16.1.3. Getting into multiprocessing: pcntl_fork(), pcntl_waitpid(), and pcntl_wexitstatus()
16.1.4. Duplication of resources when forking
16.1.5. The third parameter to pcntl_waitpid()
16.1.6. Event-driven child termination
16.1.7. Other ways to evaluate pcntl_waitpid()'s return value: pcntl_wifexited(), pcntl_wifsignaled(), pcntl_wifstopped(), pcntl_wtermsig(), and pcntl_wstopsig()
16.1.8. Running programs in the current process space: pcntl_exec()
16.1.9. Piping between processes: proc_open() and proc_close()
16.2. POSIX functions
16.2.1. Error handling: posix_get_last_error() and posix_strerror()
16.3. The Standard PHP Library
16.4. Reflection
16.5. Browser detection
16.6. Arbitrary-precision mathematics
16.7. Spellchecking and text matching
16.7.1. Calculating similarity of words: similar_text()
16.8. Templates
16.8.1. Templates ABC
16.8.2. How do they work?
16.8.3. When not to use templates
16.8.4. Writing your own
16.9. Summary
16.10. Exercises
16.11. Further reading
16.12. Next chapter
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|