Web Directory: php manual, api.php
Search:  
PHP API: Interfaces for extension writers

VII. PHP API: Interfaces for extension writers