php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #18354 Some functions return type resource, not int. Such as mssql_query().
Submitted: 2002-07-15 11:10 UTC Modified: 2005-09-02 14:12 UTC
From: adamhooper at videotron dot ca Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2002-07-15 11:10 UTC] 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".

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-15 13:44 UTC] 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 :)
 [2005-09-02 14:12 UTC] vrana@php.net
Few days are over - everything is already fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 01:01:32 2024 UTC