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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shazlista at usa dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 15:01:35 2025 UTC