Arg Info and Type-hinting

Table of contents:

Summary

By now you've gotten your hands a little dirty with real, functional code that can communicate with userspace through simple input/output functions. You've explored the zval reference counting system a little more deeply and learned ways to control how and when variables will be passed to your internal function.

In the next chapter you'll explore the array data type and see how its userspace representation maps to its underlying HashTable. You'll also take a look at the wide selection of Zend and PHP API functions available for manipulating these complex structures.


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

Similar book on Amazon

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