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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 41 = ?
Subscribe to this entry?

 
 [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 Jun 14 01:01:33 2024 UTC