diff --git a/appendices/phpdevel.xml b/appendices/phpdevel.xml index 62c3447e48..3212d003ca 100644 --- a/appendices/phpdevel.xml +++ b/appendices/phpdevel.xml @@ -1,5 +1,5 @@ - + Extending PHP 3 @@ -203,18 +203,20 @@ convert_string_to_number(arg1); /* Converts string to either LONG or DOUBLE dep variable in the symbol table: - SET_VAR_STRING(name,value) + SET_VAR_STRING(name,value) SET_VAR_DOUBLE(name,value) SET_VAR_LONG(name,value) - + + - - - - Be careful here. The value part must be malloc'ed manually because - the memory management code will try to free this pointer later. Do - not pass statically allocated memory into a SET_VAR_STRING. - + + + Be careful with SET_VAR_STRING. The value part must be malloc'ed + manually because the memory management code will try to free this + pointer later. Do not pass statically allocated memory into a + SET_VAR_STRING. + + Symbol tables in PHP 3.0 are implemented as hash tables. At any diff --git a/features/http-auth.xml b/features/http-auth.xml index 0a95f79a48..f6904a2dfe 100644 --- a/features/http-auth.xml +++ b/features/http-auth.xml @@ -1,5 +1,5 @@ - + HTTP authentication with PHP @@ -59,7 +59,7 @@ Watch out for buggy Internet Explorer browsers out there. They seem very picky about the order of the headers. Sending the WWW-Authenticate header before the - HTTP/1.0 401 header seems to do the trick + HTTP/1.0 401 header seems to do the trick for now. diff --git a/functions/oracle.xml b/functions/oracle.xml index b98d7fc7eb..b551a1fbad 100644 --- a/functions/oracle.xml +++ b/functions/oracle.xml @@ -1,5 +1,5 @@ - + Oracle functions Oracle @@ -281,7 +281,7 @@ echo "Result: $result
Out: $output
In: $input"; On UNIX versions of Oracle, you can find details about an error message like this: -$ oerr ora +$ oerr ora 00001 00001, 00000, "unique constraint (%s.%s) violated" // *Cause: An update or insert statement attempted to insert a duplicate key // For Trusted diff --git a/functions/pcntl.xml b/functions/pcntl.xml index 3bc61821d3..e67c434a8a 100644 --- a/functions/pcntl.xml +++ b/functions/pcntl.xml @@ -1,5 +1,5 @@ - + Process Control Functions PCNTL @@ -16,9 +16,8 @@ each of the Process Control functions. For detailed information about Unix process control you are encouraged to consult your systems documentation including fork(2), waitpid(2) and signal(2) - or a comprehensive reference such as Advanced - Programming in the UNIX Environment by W. Richard Stevens - (Addison-Wesley). + or a comprehensive reference such as Advanced Programming in the + UNIX Environment by W. Richard Stevens (Addison-Wesley). Process Control support in PHP is not enabled by default. You diff --git a/language/types.xml b/language/types.xml index 83adf80ead..1ed6aa87f4 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1108,15 +1108,12 @@ echo "\$foo==$foo; type is " . gettype ($foo) . "
\n"; A value can be anything. - - Omitting keys - - If you omit a key, the maximum of the integer-indices is taken, and - the new key will be that maximum + 1. If no integer-indices exist - yet, the key will be 0 (zero). If you specify a key - that already has a value assigned to it, that value will be overwritten. - - + + If you omit a key, the maximum of the integer-indices is taken, and + the new key will be that maximum + 1. If no integer-indices exist + yet, the key will be 0 (zero). If you specify a key + that already has a value assigned to it, that value will be overwritten. +