From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     *Database Functions
Bug description:  PEAR produces warnings with error_reporting = E_ALL

Set error_reporting to E_ALL and use the PEAR database functions.

Warning: Undefined property: prepare_maxstmt in
/usr/local/lib/php/DB/common.php on line 287

That line is

$stmt = (int)$this->prepare_maxstmt++;

It looks like the constructor should just set prepare_maxstmt to zero to
avoid the warning.  Another:

Warning: Undefined offset: 1103 in /usr/local/lib/php/DB/common.php on line

In looking at the code, I bet a lot of statements could use "if
isset($var)" type of conditions before accessing them.
Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to