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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adamhooper at videotron dot ca
New email:
PHP Version: OS:

 

 [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 03:01:32 2024 UTC