diff --git a/appendices/phpdevel.xml b/appendices/phpdevel.xml index 11d0420e4a..936f48bcad 100644 --- a/appendices/phpdevel.xml +++ b/appendices/phpdevel.xml @@ -1,12 +1,12 @@ - + - Extending PHP 3 + Extending PHP - Adding functions to PHP 3 + Adding functions to PHP Function Prototype @@ -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. - 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. @@ -219,7 +219,7 @@ convert_string_to_number(arg1); /* Converts string to either LONG or DOUBLE dep - 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); - 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. @@ -478,7 +478,7 @@ add_method( return_value, function_name, function_ptr ); Using the resource list - 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. @@ -558,7 +558,7 @@ php3_list_delete(resource_id->value.lval); Using the persistent resource table - 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); Adding runtime configuration directives - 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