===A===
TestB::doSomething(1)
-Strict Standards: Non-static method TestA::doSomething() cannot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d
+Strict Standards: Non-static method TestA::doSomething() cannot be called statically in %s on line %d
TestA::doSomething(2)
int(1)
===C===
TestB::doSomethingParent(1)
-Strict Standards: Non-static method TestA::doSomethingParent() cannot be called statically, assuming $this from compatible context TestB in %sbug32290.php on line %d
+Strict Standards: Non-static method TestA::doSomethingParent() cannot be called statically in %s on line %d
TestA::doSomethingParent(2)
int(1)
error_reporting=0
--FILE--
<?php
-class foo {
+function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
+ //ignore all errors
}
+set_error_handler('test_error_handler');
+
+class foo {
+}
$a = new foo();