#38783 [Opn->Bgs]: Call to non-static as static E_STRICT thrown when error reporting set to E_ALL

From: Date: Mon, 11 Sep 2006 21:21:56 +0000
Subject: #38783 [Opn->Bgs]: Call to non-static as static E_STRICT thrown when error reporting set to E_ALL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102012@lists.php.net to get a copy of this message
ID: 38783 Updated by: helly@php.net Reported By: dmb27 at cornell dot edu -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Redhat AS 4 PHP Version: 5.1.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2006-09-11 20:41:28] dmb27 at cornell dot edu Description: ------------ After upgrading from 5.1.2 to 5.1.6, Pear DB starting failing due to a static call to a non-static method, which should be an E_STRICT (according to the documentation). The error reporting level remains unchanged at E_ALL, which should not include E_STRICT errors. Reverting back to PHP 5.1.2 cause the problem to go away. This is reproducable on a few specific pages we have, but not all of our queries fail, though all of them should flow through the same codepath. Disabled APC, did not change anything. Actual result: -------------- generateErrorString("Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context", "/home/site/overpitch.com/release/current/lib/DB -1.7.6/DB/mysql.php", 300) /home/site/overpitch.com/release/current/lib/DB-1.7.6/DB/mysql.php:300 debug_php_error(2048, "Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context", "/home/site/overpitch.com/release/current/lib/ DB-1.7.6/DB/mysql.php", 300, Array(1)) /home/site/overpitch.com/release/current/lib/DB-1.7.6/DB/common.php:1203 DB_mysql->simpleQuery("SELECT ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38783&edit=1

« previous php.bugs (#102012) next »