PHP 4.0 Bug #5323 Updated: Accessing the array returned by sybase_fetch_array() crashes php.
| From: | Bug Database | Date: | Tue, 04 Jul 2000 20:04:30 +0000 |
| Subject: | PHP 4.0 Bug #5323 Updated: Accessing the array returned by sybase_fetch_array() crashes php. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23369@lists.php.net to get a copy of this message | ||
ID: 5323
Updated by: joey
Reported By: miguel222@mindless.com
Status: Open
Bug Type: Sybase (dblib) related
Assigned To:
Comments:
There have been some changes to the DB-Lib in recent CVS.
DB-Lib has been very unreliable since 4.0 beta 1, but Zeev
is trying to fix it. Can you try the CVS and see if it works?
Reason(s) to use CT-Lib instead of DB-Lib:
1) DB-Lib is no longer supported by Sybase and will eventually
go away.
2) DB-Lib does not have, for example, sybase_num_rows(). You
have to do a second query ("select count(*)") to get this information.
3) The error messages in CT-Lib are more configurable. You can turn
down the min_severity_level with sybase.min_message_severity and
friends in your php.ini. This will make the warnings go away, while still
letting you see the stuff that you need to.
Full Bug description available at: http://bugs.php.net/?id=5323