2001-08-19 11:55:42 +00:00
<!-- $Revision$ -->
2001-07-07 18:42:46 +00:00
2001-12-07 01:26:25 +00:00
<!ENTITY warn.experimental '<warning><simpara>This extension is
2002-09-15 04:45:31 +00:00
<emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension --
including the names of its functions and anything else documented
about this extension -- may change without notice in a future release of PHP.
Use this extension at your own risk.</simpara></warning>'>
2001-06-24 11:45:38 +00:00
2001-12-06 20:13:02 +00:00
<!ENTITY warn.experimental.func '<warning><simpara>This function is
2001-12-07 01:26:25 +00:00
<emphasis>EXPERIMENTAL</emphasis>. The behaviour of this function, the
name of this function, and anything else documented about this
2002-09-15 04:45:31 +00:00
function may change without notice in a future release of PHP.
Use this function at your own risk.</simpara></warning>'>
2001-12-06 20:13:02 +00:00
2001-12-15 16:28:14 +00:00
<!ENTITY warn.undocumented.func '<warning><simpara>This function is
2002-02-18 22:26:09 +00:00
currently not documented; only the argument list is
2001-12-15 16:28:14 +00:00
available.</simpara></warning>'>
2002-09-26 13:56:54 +00:00
<!ENTITY warn.no-win32-fopen-wrapper '<warning><para>Windows
2003-02-20 17:07:22 +00:00
versions of <literal>PHP</literal> prior to PHP 4.3.0 do not
2002-09-26 13:56:54 +00:00
support accessing remote files via this function, even if
2002-06-10 21:41:16 +00:00
<link linkend="ini.allow-url-fopen">allow_url_fopen</link> is enabled.
</para></warning>'>
2004-05-23 16:19:37 +00:00
<!ENTITY warn.ssl-non-standard '<warning><para>When using SSL, Microsoft IIS
2004-05-23 12:41:56 +00:00
will violate the protocol by closing the connection without sending a
close_notify indicator. PHP will report this as "SSL: Fatal Protocol Error"
when you reach the end of the data. To workaround this, you should lower your
<link linkend="ini.error-reporting">error_reporting</link> level not to include warnings.
PHP 4.3.7 and higher can detect buggy IIS server software when you open
the stream using the https:// wrapper and will suppress the warning for you.
If you are using <function>fsockopen</function> to create an ssl:// socket,
you are responsible for detecting and suppressing the warning yourself.
</para></warning>'>
2004-02-19 16:06:56 +00:00
2003-02-20 17:07:22 +00:00
<!ENTITY note.no-remote '<note><simpara>This function will not work on
<link linkend="features.remote-files">remote files</link> as the file to
be examined must be accessible via the servers filesystem.</simpara></note>'>
2001-12-06 20:13:02 +00:00
<!ENTITY tip.ob-capture '<tip><simpara>As with anything that outputs
its result directly to the browser, you can use the <link
linkend="ref.outcontrol">output-control functions</link> to capture
2002-09-15 04:45:31 +00:00
the output of this function, and save it in a
<type>string</type> (for example).</simpara></tip>'>
2001-06-24 11:45:38 +00:00
2001-12-08 22:12:24 +00:00
<!ENTITY tip.fopen-wrapper '<tip><simpara>You can use a URL as a
2002-09-26 13:56:54 +00:00
filename with this function if the <link linkend="ini.allow-url-fopen"
>fopen wrappers</link> have been enabled.
See <function>fopen</function> for more details on how to specify
the filename and <xref linkend="wrappers"/> for a list of supported
URL protocols.</simpara></tip>'>
2001-12-08 22:12:24 +00:00
2003-11-29 16:39:55 +00:00
<!ENTITY tip.fopen-wrapper.stat '<tip><simpara>As of
<literal>PHP 5.0.0</literal> this function can also be used with
2004-01-29 00:35:33 +00:00
<emphasis>some</emphasis> URL wrappers. Refer to
2003-11-29 16:39:55 +00:00
<xref linkend="wrappers"/> for a listing of which wrappers support
<function>stat</function> family of functionality.</simpara></tip>'>
2004-04-14 05:28:54 +00:00
<!ENTITY note.context-support '<note><simpara>Context support was added
with <literal>PHP 5.0.0</literal>.</simpara></note>'>
2002-09-15 04:45:31 +00:00
<!ENTITY return.success 'Returns &true; on success or &false; on failure.'>
2001-06-24 11:45:38 +00:00
2003-02-05 07:08:25 +00:00
<!ENTITY array.resetspointer '<note><simpara>This function will
<function>reset</function> the <type>array</type> pointer after
use.</simpara></note>'>
2003-02-20 22:45:16 +00:00
<!ENTITY note.clearstatcache '<note><simpara>The results of this
function are cached. See <function>clearstatcache</function> for
more details.</simpara></note>'>
2003-02-20 17:22:53 +00:00
2001-12-06 20:13:02 +00:00
<!ENTITY return.falseproblem '<warning><simpara>This function may
2002-02-18 22:26:09 +00:00
return Boolean &false;, but may also return a non-Boolean value which
evaluates to &false;, such as <literal>0</literal> or
"". Please read the section on <link
linkend="language.types.boolean">Booleans</link> for more
information. Use <link linkend="language.operators.comparison">the ===
operator</link> for testing the return value of this
function.</simpara></warning>'>
2001-11-11 11:53:49 +00:00
2003-01-20 20:18:55 +00:00
<!ENTITY warn.imaprecodeyaz '<warning><simpara>The <link
linkend="ref.imap">IMAP</link> extension cannot be used in conjuction with
the <link linkend="ref.recode">recode</link> or <link
linkend="ref.yaz">YAZ</link> extensions. This is due to the fact that they
both share the same internal symbol.</simpara></warning>'>
2003-01-20 20:01:32 +00:00
2003-02-22 13:56:27 +00:00
<!ENTITY note.registerglobals '<note><title>register_globals: important
note</title><para>Since PHP 4.2.0, the default value for the PHP directive
<link linkend="ini.register-globals">register_globals</link> is <emphasis>
off</emphasis>. The PHP community encourages all to not rely on this
directive but instead use other means, such as the &link.superglobals;.
</para></note>'>
<!ENTITY note.superglobals '<note><title>Superglobals: availability note
</title><para>Since PHP 4.1.0, superglobal arrays such as <varname>$_GET
</varname>, <varname>$_POST</varname>, and <varname>$_SERVER</varname>,
etc. have been available. For more information, read the manual section
on &link.superglobals;</para></note>'>
2003-06-06 05:33:09 +00:00
<!ENTITY avail.register-long-arrays 'As of PHP 5.0.0, the long PHP
<link linkend="language.variables.predefined">predefined variable</link>
arrays may be disabled with the
<link linkend="ini.register-long-arrays">register_long_arrays</link>
directive.'>
2003-03-16 23:44:23 +00:00
<!ENTITY note.magicquotes.gpc '<note><title>directive note: magic_quotes_gpc
</title><para>The PHP directive <link linkend="ini.magic-quotes-gpc">
magic_quotes_gpc</link> defaults to <literal>on</literal>. It essentially
runs <function>addslashes</function> on all your GET, POST, and COOKIE data.
You may use <function>stripslashes</function> to strip them.</para></note>'>
2004-04-12 22:42:03 +00:00
<!-- Image (GD) Notes -->
2003-11-07 18:14:40 +00:00
<!ENTITY note.config.t1lib '<note><simpara>This function is only available
if PHP is compiled using <option role="configure">--enable-t1lib</option>.
</simpara></note>'>
2004-04-12 22:55:33 +00:00
<!ENTITY note.bundled.gd '<note><simpara>This function is only available if
2004-04-12 22:42:03 +00:00
PHP is compiled with the bundled version of the GD library.</simpara></note>'>
2004-04-28 00:07:33 +00:00
<!-- DomXml Notes -->
<!ENTITY node.inserted 'This node will not show up in the document unless it
is inserted with e.g. <function>domnode_append_child</function>.'>
2004-05-10 12:12:00 +00:00
<!-- Dom Notes -->
<!ENTITY dom.node.inserted 'This node will not show up in the document unless
it is inserted with e.g. <link
linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>.'>
2004-05-17 19:42:15 +00:00
<!-- FileSystem entities -->
<!ENTITY fs.validfp.all '<para>The file pointer must be valid, and must point to
a file successfully opened by <function>fopen</function> or
<function>fsockopen</function>.</para>'>
2004-05-12 07:43:53 +00:00
<!-- PCNTL Notes -->
<!ENTITY pcntl.parameter.status '<para>The parameter
<parameter>status</parameter> is the status parameter supplied to a successfull
call to <function>pcntl_waitpid</function>.</para>'>
2004-05-19 18:46:47 +00:00
<!-- XSLT Notes -->
<!ENTITY note.xslt.windows '<note><para>Please note that <emphasis>file://</emphasis>
is needed in front of path if you use Windows.</para></note>'>
2001-07-11 22:09:40 +00:00
<!-- Various notes -->
2003-05-30 19:38:25 +00:00
<!ENTITY note.randomseed '<note><simpara>As of PHP 4.2.0, there is no need
to seed the random number generator with <function>srand</function> or
<function>mt_srand</function> as this is now done automatically.
</simpara></note>'>
2001-12-10 18:55:31 +00:00
<!ENTITY note.not-bin-safe '<warning><simpara>This function
is not (yet) binary safe!</simpara></warning>'>
<!ENTITY note.bin-safe '<note><simpara>This function is
2001-12-14 21:02:56 +00:00
binary-safe.</simpara></note>'>
2001-12-10 18:55:31 +00:00
2002-09-26 13:56:54 +00:00
<!ENTITY note.line-endings '<note><simpara>If you are having problems
with <literal>PHP</literal> not recognizing the line endings when
reading files either on or created by a Macintosh computer, you
might want to enable the <link linkend="ini.auto-detect-line-endings"
>auto_detect_line_endings</link> run-time configuration option.</simpara>
</note>'>
2001-12-10 18:55:31 +00:00
<!ENTITY note.no-windows '<note><simpara>This function is not
2001-12-14 21:02:56 +00:00
implemented on Windows platforms.</simpara></note>'>
2001-12-10 18:55:31 +00:00
2002-11-25 23:40:02 +00:00
<!ENTITY note.no-windows.extension '<note><simpara>This extension is not
available on Windows platforms.</simpara></note>'>
2001-12-07 01:39:51 +00:00
<!ENTITY note.func-callback '<note><simpara>Instead of a function name, an
array containing an object reference and a method name can also be
supplied.</simpara></note>'>
2001-06-24 11:45:38 +00:00
2004-02-18 02:51:09 +00:00
<!ENTITY warn.escapeshell '<warning><para>If you are going to allow data coming
from user input to be passed to this function, then you should be using
<function>escapeshellarg</function> or <function>escapeshellcmd</function>
to make sure that users cannot trick the system into executing arbitrary
commands.</para></warning>'>
<!ENTITY note.exec-bg '<note><para>If you start a program using this function
and want to leave it running in the background, you have to make sure that the
output of that program is redirected to a file or some other output stream or
else PHP will hang until the execution of the program ends.</para></note>'>
2001-07-11 22:09:40 +00:00
<!-- Notes for safe-mode limited functions: -->
<!ENTITY note.sm.disabled '<note><simpara>&sm.disabled;</simpara></note>'>
2001-12-10 18:55:31 +00:00
2001-07-11 22:09:40 +00:00
<!ENTITY note.sm.uidcheck '<note><simpara>When <link
2001-12-11 20:28:09 +00:00
linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether
2002-09-15 04:45:31 +00:00
the files or directories you are about to operate on have the same UID (owner) as the
2001-07-11 22:09:40 +00:00
script that is being executed.</simpara></note>'>
2001-12-10 18:55:31 +00:00
2001-07-11 22:09:40 +00:00
<!ENTITY note.sm.uidcheck.dir '<note><simpara>When <link
2001-12-11 20:28:09 +00:00
linkend="features.safe-mode">safe mode</link> is enabled, PHP checks whether
2002-09-15 04:45:31 +00:00
the directory in which you are about to operate has the same UID (owner) as the
2001-07-11 22:09:40 +00:00
script that is being executed.</simpara></note>'>
2003-05-04 17:13:07 +00:00
<!ENTITY note.language-construct '<note><simpara>Because this is a
language construct and not a function, it cannot be called using
2003-05-04 17:15:36 +00:00
<link linkend="functions.variable-functions">variable functions</link></simpara>
2003-05-04 17:13:07 +00:00
</note>'>
2001-07-11 22:09:40 +00:00
<!-- Common pieces in features/safe-mode.xml
Jade doesn't allow in-line entities, so I put them here... Though they
should have been inline in safe-mode.xml -->
2002-09-15 04:45:31 +00:00
<!ENTITY sm.uidcheck 'Checks whether the files or directories you are
about to operate on have the same UID (owner) as the script that is being
2001-07-11 22:09:40 +00:00
executed.'>
2001-12-10 18:55:31 +00:00
2004-02-17 18:49:39 +00:00
<!ENTITY warn.sm.exec '<warning><simpara>With <link linkend="features.safe-mode">safe mode</link> enabled,
all words following the initial command string are treated as a single argument. Thus,
<literal>echo y | echo x</literal> becomes <literal>echo "y | echo x"</literal>.</simpara></warning>'>
2004-02-18 02:51:09 +00:00
<!ENTITY note.exec-path '<note><simpara>When
<link linkend="features.safe-mode">safe mode</link> is enabled, you can only
execute executables within the <link linkend="ini.safe-mode-exec-dir">safe_mode_exec_dir</link>.
For practical reasons it is currently not allowed to have <literal>..</literal>
components in the path to the executable. </simpara></note>'>
2001-07-11 22:09:40 +00:00
<!ENTITY sm.uidcheck.dir 'Checks whether the directory in which
2002-09-15 04:45:31 +00:00
you are about to operate has the same UID (owner) as the script that is being
2001-07-11 22:09:40 +00:00
executed.'>
2001-12-10 18:55:31 +00:00
2001-08-07 23:47:47 +00:00
<!ENTITY sm.disabled 'This function is disabled in <link
2001-12-11 20:28:09 +00:00
linkend="features.safe-mode">safe mode</link>.'>
2002-03-25 20:52:45 +00:00
<!-- Common pieces in partintro-sections -->
2002-09-15 04:45:31 +00:00
<!ENTITY no.config '<para>This extension has no configuration directives defined in &php.ini;.</para>'>
<!ENTITY no.resource '<para>This extension has no resource types defined.</para>'>
<!ENTITY no.constants '<para>This extension has no constants defined.</para>'>
2002-09-17 09:28:59 +00:00
<!ENTITY no.requirement '<para>No external libraries are needed to build this extension.</para>'>
2002-04-19 13:48:20 +00:00
<!ENTITY no.install '<para>There is no installation needed to use these
2002-09-15 04:45:31 +00:00
functions; they are part of the PHP core.</para>'>
2002-04-19 13:48:20 +00:00
2003-05-01 21:52:58 +00:00
<!-- Used in every chapter that has directive descriptions -->
<!ENTITY ini.descriptions.title '<para>Here's a short explanation of
the configuration directives.</para>'>
2003-11-27 01:12:34 +00:00
<!-- Common pieces for reference part BEGIN-->
2002-09-10 13:33:16 +00:00
<!-- Used in reference/$extname/ini.xml -->
<!ENTITY extension.runtime '<simpara>
2002-09-15 04:45:31 +00:00
The behaviour of these functions is affected by settings in &php.ini;.
2002-09-10 13:33:16 +00:00
</simpara>'>
2002-04-19 13:48:20 +00:00
<!-- Used in reference/$extname/constants.xml -->
<!ENTITY extension.constants '<simpara>
2002-09-15 04:45:31 +00:00
The constants below are defined by this extension, and
2002-04-19 13:48:20 +00:00
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</simpara>'>
2002-07-22 13:20:06 +00:00
<!-- For STANDARD Constants used in reference/$extname/constants.xml -->
<!ENTITY extension.constants.core '<simpara>
2002-09-15 04:45:31 +00:00
The constants below are always available as part of the PHP core.
2002-07-22 13:20:06 +00:00
</simpara>'>
2002-07-27 17:00:02 +00:00
<!-- Used in reference/$extname/classes.xml -->
<!ENTITY extension.classes '<simpara>
2002-09-15 04:45:31 +00:00
The classes below are defined by this extension, and
2002-07-27 17:00:02 +00:00
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</simpara>'>
2003-11-27 01:12:34 +00:00
<!-- These are using in reference/$extname/reference.xml and other
supplemental files to mark section titles -->
2004-01-26 20:23:25 +00:00
<!ENTITY reftitle.intro '<title>Introduction</title>'>
<!ENTITY reftitle.required '<title>Requirements</title>'>
<!ENTITY reftitle.install '<title>Installation</title>'>
<!ENTITY reftitle.runtime '<title>Runtime Configuration</title>'>
<!ENTITY reftitle.resources '<title>Resource Types</title>'>
<!ENTITY reftitle.constants '<title>Predefined Constants</title>'>
<!ENTITY reftitle.classes '<title>Predefined Classes</title>'>
<!ENTITY reftitle.constructor '<title>Constructor</title>'>
<!ENTITY reftitle.methods '<title>Methods</title>'>
<!ENTITY reftitle.properties '<title>Properties</title>'>
<!ENTITY reftitle.returnvalues '<title>Return values</title>'>
<!ENTITY reftitle.examples '<title>Examples</title>'>
<!ENTITY reftitle.seealso '<title>See Also</title>'>
2003-11-27 01:12:34 +00:00
2004-05-24 21:40:20 +00:00
<!ENTITY note.extension.php5 '<note><simpara>
This extension requires PHP 5.</simpara></note>'>
2004-02-08 11:28:13 +00:00
<!ENTITY note.pecl-php5 '<note><simpara>
2004-02-08 11:35:19 +00:00
This extension has been removed as of PHP 5 and moved to the
2004-02-08 11:39:05 +00:00
<ulink url="&url.pecl;">PECL</ulink> repository.
2004-02-08 11:28:13 +00:00
</simpara></note>'>
2003-11-27 01:12:34 +00:00
<!-- Common pieces for reference part END -->
2002-11-25 23:40:02 +00:00
<!ENTITY windows.builtin '<simpara> The windows version of <literal>PHP</literal>
has built in support for this extension. You do not need to load any additional
extension in order to use these functions.</simpara>'>
2003-01-12 19:01:11 +00:00
<!-- These are here as helpers for manual consistency and brievety-->
<!ENTITY php '<literal>PHP</literal>'>
<!ENTITY safemode '<link linkend="ini.safe-mode">safe mode</link>'>
2004-03-22 15:16:22 +00:00
<!-- Notes for SAPI/Apache -->
<!ENTITY note.apache.nsapi-module '<note><para>From PHP 4.3.3 on you can use this function with the
<link linkend="ref.nsapi">NSAPI server module</link> in Netscape/iPlanet/SunONE
webservers, too.</para></note>'>
2004-02-07 15:17:12 +00:00
<!-- SimpleXML Notes -->
2004-02-07 21:22:18 +00:00
<!ENTITY simplexml.iteration '<note><simpara>SimpleXML has made a rule of adding iterative properties to most methods. They cannot be viewed using <function>var_dump</function> or anything else which can examine objects.</simpara></note>'>
2004-02-07 15:17:12 +00:00
2003-07-02 08:47:22 +00:00
<!-- Database Notes -->
<!ENTITY database.field-case '<note><simpara>Field names returned by this function
2003-07-12 18:10:58 +00:00
are <emphasis>case-sensitive</emphasis>.</simpara></note>'>
<!-- Sybase Notes -->
2003-07-13 09:32:28 +00:00
<!ENTITY sybase.ct.only '<note><simpara>This function is only available using the CT library interface to Sybase, and not the DB library.</simpara></note>'>
2004-05-25 01:27:50 +00:00
<!ENTITY sybase.db.only '<note><simpara>This function is only available using the DB library interface to Sybase, and not the CT library.</simpara></note>'>
2003-07-02 08:47:22 +00:00
2003-05-18 02:32:19 +00:00
<!-- Some MySQL Notes -->
<!ENTITY mysql.field-case '<note><simpara>Field names returned by this function
2003-05-18 02:36:17 +00:00
are <emphasis>case-sensitive</emphasis></simpara></note>'>
2003-05-18 02:32:19 +00:00
2003-08-15 00:11:05 +00:00
<!-- CPDF Unit length -->
<!ENTITY cpdf.ul '<para>The optional parameter <parameter>mode</parameter> determines the unit length. If it is 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit.</para>'>
2003-04-11 12:44:32 +00:00
<!-- Notes for IPv6 -->
<!ENTITY ipv6.brackets '<note><simpara>When specifying a numerical IPv6 address
(e.g. fe80::1) you must enclose the IP in square brackets. For example,
<literal>tcp://[fe80::1]:80</literal>.</simpara></note>'>
2003-04-17 21:48:30 +00:00
2003-06-22 19:55:51 +00:00
<!ENTITY ipv6.php5 '<note><simpara>IPv6 Support was added with <literal>PHP
5.0.0 </literal>.</simpara></note>'>
2003-12-07 21:59:52 +00:00
<!-- Notes for tidy -->
2003-12-08 07:57:25 +00:00
<!ENTITY note.tidy.ze2 '<note><simpara> This function is only available with Zend Engine 2, this means PHP
2003-12-07 21:59:52 +00:00
>= 5.0.0.</simpara></note>'>
2004-01-18 11:35:47 +00:00
<!ENTITY note.tidy.1only '<note><simpara>This function is only avaliable in
Tidy 1.0. It became obsolete in Tidy 2.0 and thus has been removed.</simpara></note>'>
2004-01-19 19:57:18 +00:00
<!ENTITY note.tidy.2only '<note><simpara>The optional parameters
2004-02-15 17:21:04 +00:00
<literal>config</literal> and <literal>encoding</literal> were
2004-01-19 19:57:18 +00:00
added in Tidy 2.0.</simpara></note>'>
2004-02-25 11:07:43 +00:00
<!ENTITY tidy.conf-enc '<para>The <parameter>config</parameter> parameter can be passed either as an array
or as a string. If you pass it as a string, it means the name of the configuration file, otherwise
it is interpreted as the options themselves. Check <ulink url="&url.tidy.conf;">&url.tidy.conf;</ulink>
for an explanation about each option.</para><para>The <parameter>encoding</parameter> parameter sets the
encoding for input/output documents. The possible values for <parameter>encoding</parameter> are:
2004-03-12 16:48:12 +00:00
ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 and shiftjis.</para>'>