Browse Source

fix test

migration/RELEASE_1_0_0
Antony Dovgal 21 years ago
parent
commit
04ad1d1462
  1. 4
      Zend/tests/bug32290.phpt
  2. 7
      ext/standard/tests/strings/bug22224.phpt

4
Zend/tests/bug32290.phpt

@ -98,7 +98,7 @@ var_dump($x->doSomethingStatic(1));
===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)
@ -110,7 +110,7 @@ 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)

7
ext/standard/tests/strings/bug22224.phpt

@ -4,9 +4,14 @@ Bug #22224 (implode changes object references in array)
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();

Loading…
Cancel
Save