Appendix B. PHPAPI

Table of contents:

B PHPAPI

THE PHP CORE AND EXTENSION LAYERS EXPORT A WIDE RANGE of functions meant to provide access to the SAPI, TSRM, and Engine layers as well as address common needs for the web-based environment common to most implementations of PHP. These API calls cover topics such as simple string manipulation, access to file and console I/O, and request resource management. In this appendix you'll see the extensive catalog of core API methods, its equally massive streams layer sibling, and the standard portion of the extension APIs.


The PHP Life Cycle

Variables from the Inside Out

Memory Management

Setting Up a Build Environment

Your First Extension

Returning Values

Accepting Parameters

Working with Arrays and HashTables

The Resource Data Type

PHP4 Objects

PHP5 Objects

Startup, Shutdown, and a Few Points in Between

INI Settings

Accessing Streams

Implementing Streams

Diverting the Stream

Configuration and Linking

Extension Generators

Setting Up a Host Environment

Advanced Embedding

Appendix A. A Zend API Reference

Appendix B. PHPAPI

Appendix C. Extending and Embedding Cookbook

Appendix D. Additional Resources



Extending and Embedding PHP
Extending and Embedding PHP
ISBN: 067232704X
EAN: 2147483647
Year: 2007
Pages: 175
Authors: Sara Golemon

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net