PHP 4.0 Bug #5637 Updated: sybase_fetch_array() returns multi-dimensional array
| From: | Bug Database | Date: | Tue, 05 Sep 2000 07:34:31 +0000 |
| Subject: | PHP 4.0 Bug #5637 Updated: sybase_fetch_array() returns multi-dimensional array | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32100@lists.php.net to get a copy of this message | ||
ID: 5637
User Update by: joschug@aol.com
Status: Feedback
Bug Type: Sybase (dblib) related
Description: sybase_fetch_array() returns multi-dimensional array
The machine with the problems is running SunOS 5.6 with ASE 11.9 installed, the Linux box has only
the libraries installed that are needed to access Sybase.
I don't know the exact version of the libraries (how can I get that?).
In the meanwhile we've switched from dblib to ctlib and the problems disappereared.
I didn't try PHP 4.0.2 yet.
~jo
Previous Comments:
[2000-09-04 20:39:20] sniper@php.net
Are those sybase libs the same version in both of your systems?
And is this still happening when using php4.0.2 ?
--Jani
---------------------------------------------------------------------------
[2000-07-17 07:56:07] joschug@aol.com
some queries (not all) return an array as result that contains other arrays and not plain key/value
entries. this does not happen always and isn't really reproducible.
if i put the same script on a linux box (with php4.0.1pl2) and let it run against the same database,
everything works fine.
configure:
'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-sysvshm' '--with-sybase=/usr/syb119' '--disable-debug'
'--with-config-file-path=/usr/local/apache/conf'
php.ini: default
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5637