PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #7661

Unwanted notices under PHP5

Details

Submitted2006-05-18 15:12 UTC
Fromfrederes at free dot fr
StatusWont fix
PackageDB
PHP Version5.1.4
OSWindows XP
Roadmaps(Not assigned)

Comments

[2006-05-18 15:12 UTC] frederes at free dot fr

Description:
------------
Notice: Undefined variable: priority in
\PEAR\DB\mysql.php [300] : Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context

Notice: Undefined variable: priority in
\PEAR\DB\common.php [1163] : Non-static method DB::isError() should not be called statically, assuming $this from incompatible context

Notice: Undefined variable: priority in
\PEAR\DB.php [590] : is_a(): Deprecated. Please use the instanceof operator

Test script:
---------------
Just test a PEAR DB sample with php notices ON.

Expected result:
----------------
no notices !

Actual result:
--------------
Notice: Undefined variable: priority in
\PEAR\DB\mysql.php [300] : Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context

Notice: Undefined variable: priority in
\PEAR\DB\common.php [1163] : Non-static method DB::isError() should not be called statically, assuming $this from incompatible context

Notice: Undefined variable: priority in
\PEAR\DB.php [590] : is_a(): Deprecated. Please use the instanceof operator