Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 3268

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>Source Discussion</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Extending PHP 4.0"
HREF="zend.html"><LINK
REL="PREVIOUS"
TITLE="Troubleshooting"
HREF="zend.troubleshooting.html"><LINK
REL="NEXT"
TITLE="Header File Inclusions"
HREF="zend.structure.headers.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="chapter"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="zend.troubleshooting.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="zend.structure.headers.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="zend.structure"
>Chapter 31. Source Discussion</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="zend.structure.html#zend.structure.module"
>Module Structure</A
></DT
><DT
><A
HREF="zend.structure.headers.html"
>Header File Inclusions</A
></DT
><DT
><A
HREF="zend.structure.exporting-functions.html"
>Declaring Exported Functions</A
></DT
><DT
><A
HREF="zend.structure.function-block.html"
>Declaration of the Zend Function Block</A
></DT
><DT
><A
HREF="zend.structure.module-block.html"
>Declaration of the Zend Module Block</A
></DT
><DT
><A
HREF="zend.structure.get-module.html"
>Creation of <B
CLASS="function"
>get_module()</B
></A
></DT
><DT
><A
HREF="zend.structure.implementation.html"
>Implementation of All Exported Functions</A
></DT
><DT
><A
HREF="zend.structure.summary.html"
>Summary</A
></DT
></DL
></DIV
><P
>&#13;   Now that you've got a safe build environment and you're able to include
   the modules into PHP files, it's time to discuss how everything works.
  </P
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="zend.structure.module"
></A
>Module Structure</H1
><P
>&#13;    All PHP modules follow a common structure: 
    <P
></P
><UL
><LI
><P
>&#13;       Header file inclusions (to include all required macros, API
       definitions, etc.)
      </P
></LI
><LI
><P
>&#13;       C declaration of exported functions (required to declare the Zend
  function block)
      </P
></LI
><LI
><P
>Declaration of the Zend function block</P
></LI
><LI
><P
>Declaration of the Zend module block</P
></LI
><LI
><P
>Implementation of <B
CLASS="function"
>get_module()</B
></P
></LI
><LI
><P
>Implementation of all exported functions</P
></LI
></UL
></P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="zend.troubleshooting.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="zend.structure.headers.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Troubleshooting</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="zend.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Header File Inclusions</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>