PHP 4.0 Bug #6323 Updated: MSSQL function do not work in classes

From: Date: Tue, 20 Feb 2001 12:59:13 +0000
Subject: PHP 4.0 Bug #6323 Updated: MSSQL function do not work in classes
Groups: php.dev 
Request: Send a blank email to php-dev+get-47049@lists.php.net to get a copy of this message
ID: 6323 Updated by: sniper Reported By: shazlista@usa.net Old-Status: Feedback Status: Closed Bug Type: ODBC related Assigned To: Comments: No feedback, considered fixed. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-08 15:36:35] cynic@php.net does 4.0.4 exhibit this behavior? --------------------------------------------------------------------------- [2000-08-23 19:45:01] shazlista@usa.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"); --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6323&edit=2

« previous php.dev (#47049) next »