php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38783 Call to non-static as static E_STRICT thrown when error reporting set to E_ALL
Submitted: 2006-09-11 20:41 UTC Modified: 2006-09-11 21:21 UTC
From: dmb27 at cornell dot edu Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 5.1.6 OS: Redhat AS 4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dmb27 at cornell dot edu
New email:
PHP Version: OS:

 

 [2006-09-11 20:41 UTC] 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

...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-11 21:21 UTC] helly@php.net
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

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC