mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
[APIS-72][CR] [PHP]Unify the return value of some functions when they fail
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322116 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
196abbabb4
commit
d508aa1de0
5 changed files with 5 additions and 5 deletions
|
@ -40,7 +40,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>Returns an array of strings that corresponds to the fetched row, when process is successful.</para>
|
||||
<para>&false;, when process is unsuccessful.</para>
|
||||
<para>&false;, when there are no more rows; NULL, when process is unsuccessful.</para>
|
||||
<para>The type of returned array depends on how type is defined. By using CUBRID_BOTH (default), you'll get an array with both associative and number indices, and you can decide which data type to use by setting the <parameter>type</parameter> argument. The <parameter>type</parameter> variable can be set to one of the following values:</para>
|
||||
<simplelist>
|
||||
<member>CUBRID_NUM : Numerical array (0-based)</member>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
Associative array, when process is successful.
|
||||
</para>
|
||||
<para>
|
||||
&false; when the end is reached, or error.
|
||||
&false;, when there are no more rows; NULL, when process is unsuccessful.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
An object, when process is successful.
|
||||
</para>
|
||||
<para>
|
||||
&false; on failure.
|
||||
&false;, when there are no more rows; NULL, when process is unsuccessful.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
A numerical array, when process is successful.
|
||||
</para>
|
||||
<para>
|
||||
&false; on failure.
|
||||
&false;, when there are no more rows; NULL, when process is unsuccessful.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>Result array or object, when process is successful.</para>
|
||||
<para>&false;, when process is unsuccessful.</para>
|
||||
<para>&false;, when there are no more rows; NULL, when process is unsuccessful.</para>
|
||||
<para>The result can be received either as an array or as an object, and you can decide which data type to use by setting the <parameter>type</parameter> argument. The <parameter>type</parameter> variable can be set to one of the following values:</para>
|
||||
<simplelist>
|
||||
<member>CUBRID_NUM : Numerical array (0-based)</member>
|
||||
|
|
Loading…
Reference in a new issue