Replace exotic tags with more commonon tags/constructs. All these tags

were only used once...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69758 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2002-02-08 13:40:44 +00:00
parent 03865e8e40
commit a328586a54
5 changed files with 26 additions and 28 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.17 $ -->
<!-- $Revision: 1.18 $ -->
<appendix id="phpdevel">
<title>Extending PHP 3</title>
@ -203,18 +203,20 @@ convert_string_to_number(arg1); /* Converts string to either LONG or DOUBLE dep
variable in the symbol table:
<itemizedlist>
<listitem><simpara>SET_VAR_STRING(name,value) <footnoteref linkend="symtab-1"/></simpara></listitem>
<listitem><simpara>SET_VAR_STRING(name,value)</simpara></listitem>
<listitem><simpara>SET_VAR_DOUBLE(name,value)</simpara></listitem>
<listitem><simpara>SET_VAR_LONG(name,value)</simpara></listitem>
</itemizedlist></para>
</itemizedlist>
</para>
<para>
<footnote id="symtab-1">
<simpara>
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.</simpara>
</footnote></para>
<warning>
<para>
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.
</para>
</warning>
<simpara>
Symbol tables in PHP 3.0 are implemented as hash tables. At any

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.20 $ -->
<!-- $Revision: 1.21 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@ -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
<emphasis>WWW-Authenticate</emphasis> header before the
<errorcode>HTTP/1.0 401</errorcode> header seems to do the trick
<literal>HTTP/1.0 401</literal> header seems to do the trick
for now.</para>
<simpara>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.29 $ -->
<!-- $Revision: 1.30 $ -->
<reference id="ref.oracle">
<title>Oracle functions</title>
<titleabbrev>Oracle</titleabbrev>
@ -281,7 +281,7 @@ echo "Result: $result<BR>Out: $output<BR>In: $input";
On UNIX versions of Oracle, you can find details about an error
message like this:
<computeroutput>
<prompt>$</prompt> <userinput>oerr ora
$ <userinput>oerr ora
<replaceable>00001</replaceable></userinput> 00001, 00000,
"unique constraint (%s.%s) violated" // *Cause: An update or insert
statement attempted to insert a duplicate key // For Trusted

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<reference id="ref.pcntl">
<title>Process Control Functions</title>
<titleabbrev>PCNTL</titleabbrev>
@ -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 <citation>Advanced
Programming in the UNIX Environment by W. Richard Stevens
(Addison-Wesley)</citation>.
or a comprehensive reference such as Advanced Programming in the
UNIX Environment by W. Richard Stevens (Addison-Wesley).
</para>
<para>
Process Control support in PHP is not enabled by default. You

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.71 $ -->
<!-- $Revision: 1.72 $ -->
<chapter id="language.types">
<title>Types</title>
@ -1108,15 +1108,12 @@ echo "\$foo==$foo; type is " . gettype ($foo) . "<br>\n";
<para>
A value can be anything.
</para>
<formalpara id="language.types.array.omit-key">
<title>Omitting keys</title>
<para>
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 <literal>0</literal> (zero). If you specify a key
that already has a value assigned to it, that value will be overwritten.
</para>
</formalpara>
<para>
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 <literal>0</literal> (zero). If you specify a key
that already has a value assigned to it, that value will be overwritten.
</para>
<para>
<synopsis>