20.8 SummaryThis is NOT the latest copy of this book; click here for the latest version.
-
Writing extensions for PHP is not all that hard thanks to the myriad of tools and macros made available to you by the PHP developers. Custom extensions are a great way to add new functionality to the language, or even just to speed up certain operations that would otherwise have been too slow.
-
There is a trade-off between speed and usability that makes extensions the best place to put most code - while it is possible to edit the Zend Engine directly, it does limit your distribution options.
-
There are lots of helpful libraries that have yet to be converted into PHP extensions - pick one and give it your best shot!
|
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!
|