]> granicus.if.org Git - php/commitdiff
Fixed test which was assuming that E_STRICT is not on by default.
authorStefan Marr <gron@php.net>
Sun, 31 Jul 2011 16:15:40 +0000 (16:15 +0000)
committerStefan Marr <gron@php.net>
Sun, 31 Jul 2011 16:15:40 +0000 (16:15 +0000)
Zend/tests/traits/property001.phpt

index 7efd02ecc704313a7589bfd46685e5a600482af6..d5e4ddc617e4abd6a42ce740a5a761264d41fc33 100644 (file)
@@ -13,6 +13,7 @@ trait THello2 {
 }
 
 echo "PRE-CLASS-GUARD-TraitsTest\n";
+error_reporting(E_ALL & ~E_STRICT); // ensuring that it is only for E_STRICT
 
 class TraitsTest {
        use THello1;