mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
3.0 was years ago
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84210 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ebbbc0528a
commit
3fca563d85
1 changed files with 9 additions and 9 deletions
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<appendix id="phpdevel">
|
||||
<title>Extending PHP 3</title>
|
||||
<title>Extending PHP</title>
|
||||
|
||||
<simpara></simpara>
|
||||
|
||||
<sect1 id="phpdevel-addfunc">
|
||||
<title>Adding functions to PHP 3</title>
|
||||
<title>Adding functions to PHP</title>
|
||||
<sect2 id="phpdevel-addfunc-prototype">
|
||||
<title>Function Prototype</title>
|
||||
<para>
|
||||
|
@ -192,7 +192,7 @@ convert_string_to_number(arg1); /* Converts string to either LONG or DOUBLE dep
|
|||
fault. So please take care and free all of your wasted memory.</simpara>
|
||||
|
||||
<simpara>
|
||||
If you compile with "-DDEBUG", PHP 3 will print out a list of all
|
||||
If you compile with "-DDEBUG", PHP will print out a list of all
|
||||
memory that was allocated using emalloc() and estrdup() but never
|
||||
freed with efree() when it is done running the specified script.</simpara></sect2>
|
||||
|
||||
|
@ -219,7 +219,7 @@ convert_string_to_number(arg1); /* Converts string to either LONG or DOUBLE dep
|
|||
</warning>
|
||||
|
||||
<simpara>
|
||||
Symbol tables in PHP 3.0 are implemented as hash tables. At any
|
||||
Symbol tables in PHP are implemented as hash tables. At any
|
||||
given time, &symbol_table is a pointer to the 'main' symbol
|
||||
table, and active_symbol_table points to the currently active
|
||||
symbol table (these may be identical like in startup, or
|
||||
|
@ -252,7 +252,7 @@ check(pvalue.type);
|
|||
</programlisting>
|
||||
</example>
|
||||
|
||||
Arrays in PHP 3.0 are implemented using the same hashtables as
|
||||
Arrays in PHP are implemented using the same hashtables as
|
||||
symbol tables. This means the two above functions can also be
|
||||
used to check variables inside arrays.</para>
|
||||
|
||||
|
@ -478,7 +478,7 @@ add_method( return_value, function_name, function_ptr );
|
|||
<sect2 id="phpdevel-addfunc-reslist">
|
||||
<title>Using the resource list</title>
|
||||
<simpara>
|
||||
PHP 3.0 has a standard way of dealing with various types of
|
||||
PHP has a standard way of dealing with various types of
|
||||
resources. This replaces all of the local linked lists in PHP 2.0.</simpara>
|
||||
|
||||
<para>
|
||||
|
@ -558,7 +558,7 @@ php3_list_delete(resource_id->value.lval);
|
|||
<sect2 id="phpdevel-addfunc-prestable">
|
||||
<title>Using the persistent resource table</title>
|
||||
<para>
|
||||
PHP 3.0 has a standard way of storing persistent resources (i.e.,
|
||||
PHP has a standard way of storing persistent resources (i.e.,
|
||||
resources that are kept in between hits). The first module to use
|
||||
this feature was the MySQL module, and mSQL followed it, so one
|
||||
can get the general impression of how a persistent resource should
|
||||
|
@ -653,7 +653,7 @@ php3_list_delete(resource_id->value.lval);
|
|||
<sect2 id="phpdevel-addfunc-addcfg">
|
||||
<title>Adding runtime configuration directives</title>
|
||||
<para>
|
||||
Many of the features of PHP 3 can be configured at runtime. These
|
||||
Many of the features of PHP can be configured at runtime. These
|
||||
configuration directives can appear in either the designated
|
||||
php3.ini file, or in the case of the Apache module version in the
|
||||
Apache .conf files. The advantage of having them in the Apache
|
||||
|
|
Loading…
Reference in a new issue