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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Jun 13 10:01:33 2024 UTC