php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6323 MSSQL function do not work in classes
Submitted: 2000-08-23 19:45 UTC Modified: 2001-02-20 07:59 UTC
From: shazlista at usa dot net Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.1pl2 OS: windowsNT
Private report: No CVE-ID: None
 [2000-08-23 19:45 UTC] shazlista at usa dot net
ODBC functions generate GPE whenver executed within a function (not in the main body)

function connect($d,$u,$p)
 {
 return odbc_connect($d,$u,$p);
 }

function exec($c,$q)
 {
 return odbc_do($c,$q);
 }

$c=connect("aa","bb","cc");
exec($c,"select * from trash");

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-08 15:36 UTC] cynic@php.net
does 4.0.4 exhibit this behavior?
 [2001-02-20 07:59 UTC] sniper@php.net
No feedback, considered fixed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC