Home » Database » DB » Bug #7661
Unwanted notices under PHP5
Details
| Submitted | 2006-05-18 15:12 UTC |
|---|---|
| From | frederes at free dot fr |
| Status | Wont fix |
| Package | DB |
| PHP Version | 5.1.4 |
| OS | Windows 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