[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:
Esen Sagynov 2012-01-12 05:10:36 +00:00
parent 196abbabb4
commit d508aa1de0
5 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>