downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/internals2.structure.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/internals2.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'internals2.structure.php',
   
1 => 'Extension structure',
  ),
 
'up' =>
  array (
   
0 => 'internals2.php',
   
1 => 'PHP at the Core: A Hacker\'s Guide to the Zend Engine',
  ),
 
'prev' =>
  array (
   
0 => 'internals2.buildsys.configwin.php',
   
1 => 'Talking to the Windows build system: config.w32',
  ),
 
'next' =>
  array (
   
0 => 'internals2.structure.files.php',
   
1 => 'Files which make up an extension',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>

  <h1>Extension structure</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="internals2.structure.files.php">Files which make up an extension</a></li><li><a href="internals2.structure.basics.php">Basic constructs</a></li><li><a href="internals2.structure.modstruct.php">The zend_module structure</a></li><li><a href="internals2.structure.globals.php">Extension globals</a></li><li><a href="internals2.structure.lifecycle.php">Life cycle of an extension</a></li><li><a href="internals2.structure.tests.php">Testing an extension</a></li></ul>

  <p class="simpara">
   Many extension-writing guides focus on simple examples first and ignore the
   requirements of more complex implementations until later. Often such guides
   must repeat themselves over and over in order to describe these new
   features. This section describes extension structure from the perspective of
   a mature, practical implementation, in order to prepare users for needs and
   issues they will almost always encounter in the process of extension
   development.
  </p>
 
 

 



 

 



 

 



 

 



 

 



 

 



 
 </div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites