extract: minor revision

others:  use <void/>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153220 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-03-09 10:38:14 +00:00
parent 0d7cbc3f51
commit 66d402ae4e
14 changed files with 37 additions and 34 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.extract">
<refnamediv>
@ -33,7 +33,7 @@
</note>
<note>
<para>
<constant>EXTR_IF_EXISTS</constant> and <constant>EXTR_PREFIX_IF_EXISTS</constant> was introduced in version 4.2.0.
<constant>EXTR_IF_EXISTS</constant> and <constant>EXTR_PREFIX_IF_EXISTS</constant> were introduced in version 4.2.0.
</para>
</note>
<note>
@ -149,14 +149,17 @@
</para>
<warning>
<para>
Do not use extract on untrusted data, like user-input ($_GET, ...).
If you do it, for example if you want to run old code that relies on
Do not use <function>extract</function> on untrusted data, like
user-input ($_GET, ...). If you do, for example, if you want to run old
code that relies on
<link linkend="security.registerglobals">register_globals</link>
temporarily, make sure you use one of the non-overwriting
<parameter>extract_type</parameter> values like EXTR_SKIP, and be aware
that you should now extract <varname>$_SERVER</varname>,
<varname>$_SESSION</varname>, <varname>$_COOKIE</varname>,
<varname>$_POST</varname> and <varname>$_GET</varname> in that order.
<parameter>extract_type</parameter> values like <constant>EXTR_SKIP</constant>
and be aware that you should extract <varname>$_GET</varname>,
<varname>$_POST</varname>, <varname>$_COOKIE</varname>,
<varname>$_SESSION</varname> and <varname>$_SERVER</varname> in that order
when using an overwriting <parameter>extract_type</parameter> or in
reverse order when using a non-overwriting type.
</para>
</warning>
<para>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-attribute-key">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>key</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the name of the attribute.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-attribute-value">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>value</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the value of the attribute.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-attribute-values">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>values</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns all values of the attribute as an array of strings.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-content-mimetype">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>mimetype</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the mimetype of the content.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-error-count">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>count</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the number of error reasons.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-error-reason">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>reason</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the first error reason.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-reason-description">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>description</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the description of a reason

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-reason-type">
<refnamediv>
@ -10,7 +10,7 @@
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>type</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
Returns the type of a reason.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.SoapClient-getFunctions">
<refnamediv>
<refname>SoapClient::__getFunctions</refname>
@ -11,7 +11,7 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>SoapClient::__getFunctions</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
This function works only in WSDL mode.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.SoapClient-getLastRequest">
<refnamediv>
<refname>SoapClient::__getLastRequest</refname>
@ -11,7 +11,7 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>SoapClient::__getLastRequest</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
This function works only with SoapClient which was created with

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.SoapClient-getLastResponse">
<refnamediv>
<refname>SoapClient::__getLastResponse</refname>
@ -11,7 +11,7 @@
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>SoapClient::__getLastResponse</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
This function works only with SoapClient which was created with

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.SoapClient-getTypes">
<refnamediv>
<refname>SoapClient::__getTypes</refname>
@ -11,7 +11,7 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>SoapClient::__getTypes</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
This function works only in WSDL mode.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.SoapServer-getFunctions">
<refnamediv>
<refname>SoapServer::getFunctions</refname>
@ -11,7 +11,7 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>SoapServer::getFunctions</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
<void/>
</methodsynopsis>
<para>
This functions returns the list of all functions which was added by