Bug #18354 Updated: Some functions return type resource, not int. Such as mssql_query().

From: Date: Mon, 15 Jul 2002 17:44:31 +0000
Subject: Bug #18354 Updated: Some functions return type resource, not int. Such as mssql_query().
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-14236@lists.php.net to get a copy of this message
ID: 18354 Updated by: philip@php.net -Summary: Wrong return type on mssql_query() in online documentation Reported By: adamhooper@videotron.ca -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: Windows 2000 -PHP Version: 4.2.1 +PHP Version: CVS -Assigned To: +Assigned To: philip New Comment: 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 :) Previous Comments: ------------------------------------------------------------------------ [2002-07-15 11:10:25] adamhooper@videotron.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

« previous php.bugs (#14236) next »