#18354 [Asn->Csd]: Some functions return type resource, not int. Such as mssql_query().
| From: | vrana@php.net | Date: | Fri, 02 Sep 2005 12:12:06 +0000 |
| Subject: | #18354 [Asn->Csd]: Some functions return type resource, not int. Such as mssql_query(). | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969369832@lists.php.net to get a copy of this message | ||
ID: 18354
Updated by: vrana@php.net
Reported By: adamhooper at videotron dot ca
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
Assigned To: philip
New Comment:
Few days are over - everything is already fixed.
Previous Comments:
------------------------------------------------------------------------
[2002-07-15 13:44:31] philip@php.net
In PHP3 the type "resource" did not exist, it returned int. This
applies to other functions too, such as fopen(). I'll go through the
docs and change all applicable functions from int to resource. Give me
a few days :)
------------------------------------------------------------------------
[2002-07-15 11:10:25] adamhooper at videotron dot ca
In http://www.php.net/manual/en/function.mssql-query.php
the return
type is "int". It should be "resource".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18354&edit=1