Re: PHP 4.0 Bug #2230 Updated: latest CVS breaks Informix driver "connection id"

From: Date: Fri, 03 Sep 1999 13:42:26 +0000
Subject: Re: PHP 4.0 Bug #2230 Updated: latest CVS breaks Informix driver "connection id"
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10501@lists.php.net to get a copy of this message
Bug Database wrote: > > ID: 2230 > Updated by: danny > Reported By: danny.heijl@cevi.be > Status: Open > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > ... is a copy of mysql.c ... > > except that persistent links in ixf.ec are type IS_LONG > and other links are type IS_RESOURCE, while both are > IS_RESOURCE in mysql.c. > > I must have missed that IS_LONG when converting to PHP4. > > But it is the type IS_RESOURCE that stopped working. hi, these's a new problem with IS_RESOURCE in libzend. $conn = somedblogin(...); // $conn is a RESOURCE if ($conn == false) {} // this line "kills" the resource somedbcall($conn,...); // will fail 'cause the "if (..)" has messed up the resource. i'vew reported that to zeev. tc PS: i'm sure we'll see a fix for that soon > > Danny. > --- > > Full Bug description available at: > http://bugs.php.net/version4/?id=2230 > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#10501) next »