PHP. Руководство по PHP. 2005
Zend APIПред. След. |
VII. Zend API
Hacking the Core of PHP
Sometimes, PHP "as is" simply isn't enough. Although these cases are rare for the average user, professional applications will soon lead PHP to the edge of its capabilities, in terms of either speed or functionality. New functionality cannot always be implemented natively due to language restrictions and inconveniences that arise when having to carry around a huge library of default code appended to every single script, so another method needs to be found for overcoming these eventual lacks in PHP.
As soon as this point is reached, it's time to touch the heart of PHP and take a look at its core, the C code that makes PHP go.
- Содержание
- 44. Overview
- 45. Extension Possibilities
- 46. Source Layout
- 47. PHP's Automatic Build System
- 48. Creating Extensions
- 49. Using Extensions
- 50. Troubleshooting
- 51. Source Discussion
- 52. Accepting Arguments
- 53. Creating Variables
- 54. Duplicating Variable Contents: The Copy Constructor
- 55. Returning Values
- 56. Printing Information
- 57. Startup and Shutdown Functions
- 58. Calling User Functions
- 59. Initialization File Support
- 60. Where to Go from Here
- 61. Reference: Some Configuration Macros
- 62. API Macros
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.
⇪