Fix protos

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2011-02-11 13:16:13 +00:00
parent 93e5ea0902
commit d3c871ae1e
45 changed files with 54 additions and 44 deletions

View file

@ -12,7 +12,7 @@
<type>int</type><methodname>bccomp</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>ini_get("bcmath.scale")</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Compares the <parameter>left_operand</parameter> to the

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>bool</type><methodname>com_load_typelib</methodname>
<methodparam><type>string</type><parameter>typelib_name</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>case_insensitive</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>case_insensitive</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Loads a type-library and registers its constants in the engine, as though

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>com_message_pump</methodname>
<methodparam choice="opt"><type>int</type><parameter>timeoutms</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>timeoutms</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
This function will sleep for up to <parameter>timeoutms</parameter>

View file

@ -11,7 +11,7 @@
<type>bool</type><methodname>com_print_typeinfo</methodname>
<methodparam><type>object</type><parameter>comobject</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>dispinterface</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>wantsink</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>wantsink</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
The purpose of this function is to help generate a skeleton class for use

View file

@ -13,7 +13,7 @@
<type>mixed</type><methodname>DOMXPath::evaluate</methodname>
<methodparam><type>string</type><parameter>expression</parameter></methodparam>
<methodparam choice="opt"><type>DOMNode</type><parameter>contextnode</parameter></methodparam>
<methodparam choice="opt"><type>boolean</type><parameter>registerNodeNS</parameter><initializer>true</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>registerNodeNS</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Executes the given XPath <parameter>expression</parameter> and returns

View file

@ -13,7 +13,7 @@
<type>DOMNodeList</type><methodname>DOMXPath::query</methodname>
<methodparam><type>string</type><parameter>expression</parameter></methodparam>
<methodparam choice="opt"><type>DOMNode</type><parameter>contextnode</parameter></methodparam>
<methodparam choice="opt"><type>boolean</type><parameter>registerNodeNS</parameter><initializer>true</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>registerNodeNS</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Executes the given XPath <parameter>expression</parameter>.

View file

@ -12,7 +12,7 @@
<type>string</type><methodname>iconv_substr</methodname>
<methodparam><type>string</type><parameter>str</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>strlen($str)</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>iconv_strlen($str, $charset)</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>ini_get("iconv.internal_encoding")</initializer></methodparam>
</methodsynopsis>
<para>

View file

@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>imap_gc</methodname>
<type>bool</type><methodname>imap_gc</methodname>
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
<methodparam><type>int</type><parameter>caches</parameter></methodparam>
</methodsynopsis>
@ -39,7 +39,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true;.
&return.success;
</para>
</refsect1>
<refsect1 role="examples">

View file

@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>ReturnType</type><methodname>libxml_disable_entity_loader</methodname>
<methodparam choice="opt"><type>bool</type><parameter>disable</parameter> <initializer>TRUE</initializer></methodparam>
<type>bool</type><methodname>libxml_disable_entity_loader</methodname>
<methodparam choice="opt"><type>bool</type><parameter>disable</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Disable/enable the ability to load external entities.

View file

@ -13,7 +13,7 @@
<methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>new_link</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>new_link</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
<function>mssql_connect</function> establishes a connection to a

View file

@ -13,7 +13,7 @@
<methodparam choice="opt"><type>string</type><parameter>servername</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>new_link</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>new_link</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
<function>mssql_pconnect</function> acts very much like

View file

@ -14,7 +14,8 @@
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>method</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>raw_input</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>raw_input</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>iv</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Takes a raw or base64 encoded string and decrypts it using a given method and key.

View file

@ -15,6 +15,7 @@
<methodparam><type>string</type><parameter>method</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>iv</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Encrypts given data with given method and key, returns a raw

View file

@ -14,6 +14,7 @@
<methodparam><type>string</type><parameter role="reference">open_data</parameter></methodparam>
<methodparam><type>string</type><parameter>env_key</parameter></methodparam>
<methodparam><type>mixed</type><parameter>priv_key_id</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>method</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_open</function> opens (decrypts)

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>openssl_random_pseudo_bytes</methodname>
<methodparam><type>string</type><parameter>length</parameter></methodparam>
<methodparam><type>int</type><parameter>length</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter role="reference">crypto_strong</parameter></methodparam>
</methodsynopsis>
<para>

View file

@ -14,6 +14,7 @@
<methodparam><type>string</type><parameter role="reference">sealed_data</parameter></methodparam>
<methodparam><type>array</type><parameter role="reference">env_keys</parameter></methodparam>
<methodparam><type>array</type><parameter>pub_key_ids</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>method</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_seal</function> seals (encrypts)

View file

@ -197,6 +197,12 @@ echo $out[1][0] . ", " . $out[1][1] . "\n";
</row>
</thead>
<tbody>
<row>
<entry>5.4.0</entry>
<entry>
The <parameter>matches</parameter> parameter became optional.
</entry>
</row>
<row>
<entry>5.2.2</entry>
<entry>

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>Reflection::export</methodname>
<methodparam><type>Reflector</type><parameter>reflector</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>return</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
Exports a reflection.

View file

@ -12,7 +12,7 @@
<type>array</type><methodname>split</methodname>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>limit</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>limit</parameter><initializer>-1</initializer></methodparam>
</methodsynopsis>
<para>
Splits a <parameter>string</parameter> into array by regular expression.

View file

@ -12,7 +12,7 @@
<type>array</type><methodname>spliti</methodname>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>limit</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>limit</parameter><initializer>-1</initializer></methodparam>
</methodsynopsis>
<para>
Splits a <parameter>string</parameter> into array by regular expression.

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>integer</type><methodname>SimpleXMLElement::count</methodname>
<modifier>public</modifier> <type>int</type><methodname>SimpleXMLElement::count</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>snmp_set_enum_print</methodname>
<type>bool</type><methodname>snmp_set_enum_print</methodname>
<methodparam><type>int</type><parameter>enum_print</parameter></methodparam>
</methodsynopsis>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>snmp_set_oid_output_format</methodname>
<type>bool</type><methodname>snmp_set_oid_output_format</methodname>
<methodparam><type>int</type><parameter>oid_format</parameter></methodparam>
</methodsynopsis>
<para>

View file

@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>snmp_set_quick_print</methodname>
<type>bool</type><methodname>snmp_set_quick_print</methodname>
<methodparam><type>bool</type><parameter>quick_print</parameter></methodparam>
</methodsynopsis>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>snmp_set_valueretrieval</methodname>
<type>bool</type><methodname>snmp_set_valueretrieval</methodname>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
</methodsynopsis>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>use_soap_error_handler</methodname>
<methodparam choice="opt"><type>bool</type><parameter>handler</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>handler</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
This function sets whether or not to use the SOAP error handler in the SOAP server.
@ -40,7 +40,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
Returns the original value.
</para>
</refsect1>

View file

@ -14,7 +14,7 @@
<methodparam><type>string</type><parameter>namespace</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>mustunderstand</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>mustunderstand</parameter><initializer>false</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>actor</parameter></methodparam>
</methodsynopsis>
<para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>SoapServer::setPersistence</methodname>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
This function allows saving data between requests in a PHP session. It works only

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<methodname>GlobIterator::__construct</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam choice="opt"><type>integer</type><parameter>flags</parameter><initializer>FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO</initializer></methodparam>
</methodsynopsis>
<para>
Constructs a new directory iterator from a glob expression.

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>integer</type><methodname>GlobIterator::count</methodname>
<modifier>public</modifier> <type>int</type><methodname>GlobIterator::count</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<methodname>MultipleIterator::__construct</methodname>
<methodparam><type>integer</type><parameter>flags</parameter></methodparam>
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
Construct a new MultipleIterator.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>MultipleIterator::setFlags</methodname>
<methodparam><type>integer</type><parameter>flags</parameter></methodparam>
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
Sets flags.

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>boolean</type><methodname>SplFileObject::eof</methodname>
<modifier>public</modifier> <type>bool</type><methodname>SplFileObject::eof</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>boolean</type><methodname>SplFileObject::fflush</methodname>
<modifier>public</modifier> <type>bool</type><methodname>SplFileObject::fflush</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>SplFixedArray</type><methodname>SplFixedArray::fromArray</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam choice="opt"><type>boolean</type><parameter>save_indexes</parameter><initializer>true</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>save_indexes</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Import the PHP array <parameter>array</parameter>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>boolean</type><methodname>SplObjectStorage::contains</methodname>
<modifier>public</modifier> <type>bool</type><methodname>SplObjectStorage::contains</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>boolean</type><methodname>SplObjectStorage::offsetExists</methodname>
<modifier>public</modifier> <type>bool</type><methodname>SplObjectStorage::offsetExists</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>boolean</type><methodname>SplObjectStorage::valid</methodname>
<modifier>public</modifier> <type>bool</type><methodname>SplObjectStorage::valid</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<methodname>SplTempFileObject::__construct</methodname>
<methodparam choice="opt"><type>integer</type><parameter>max_memory</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>max_memory</parameter></methodparam>
</methodsynopsis>
<para>
Construct a new temporary file object.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>SQLite3::busyTimeout</methodname>
<methodparam><type>integer</type><parameter>msecs</parameter></methodparam>
<methodparam><type>int</type><parameter>msecs</parameter></methodparam>
</methodsynopsis>
<para>
Sets a busy handler that will sleep until the database is not locked or the timeout is reached.

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>void</type><methodname>V8JsException::getJsFileName</methodname>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>V8JsException::getJsFileName</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>void</type><methodname>V8JsException::getJsLineNumber</methodname>
<modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>V8JsException::getJsLineNumber</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>void</type><methodname>V8JsException::getJsSourceLine</methodname>
<modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>V8JsException::getJsSourceLine</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>void</type><methodname>V8JsException::getJsTrace</methodname>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>V8JsException::getJsTrace</methodname>
<void />
</methodsynopsis>
<para>

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>DOMNode</type>
<methodname>XMLReader::expand</methodname>
<void/>
<methodparam choice="opt"><type>DOMNode</type><parameter>basenode</parameter></methodparam>
</methodsynopsis>
<para>
This method copies the current node and returns the appropriate DOM object.