Re: Question on error reporting and tests

From: Date: Sat, 11 Apr 2009 23:31:13 +0000
Subject: Re: Question on error reporting and tests
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-64758@lists.php.net to get a copy of this message
Hello Travis, Passes for me on OSX 10.5.6. Im running latest CVS checkout though. $ ./sapi/cli/php run-tests.php tests/classes/type_hinting_005d.phpt ===================================================================== PHP : /PHP/php53/sapi/cli/php PHP_SAPI : cli PHP_VERSION : 5.3.0RC2-dev ZEND_VERSION: 2.3.0 PHP_OS : Darwin - Darwin geekery.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 INI actual : /Users/Shared/NoBackUp/PHP/php53 More .INIs : CWD : /Users/Shared/NoBackUp/PHP/php53 Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. PASS Check type hint compatibility in overrides with array hints. [tests/classes/type_hinting_005d.phpt] ===================================================================== Number of tests : 1 1 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 1 (100.0%) (100.0%) --------------------------------------------------------------------- Time taken : 0 seconds ===================================================================== $ ./sapi/cli/php -f tests/classes/type_hinting_005d.phpt -d error_reporting="E_STRICT|E_ALL" Strict Standards: Declaration of D::f() should be compatible with that of C::f() in /Users/Shared/NoBackUp/PHP/php53/tests/classes/type_hinting_005d.phpt on line 8 --TEST-- Check type hint compatibility in overrides with array hints. --FILE-- Array hint, should be nothing. ==DONE== --EXPECTF-- Strict Standards: Declaration of D::f() should be compatible with that of C::f() in %s on line 5 Array hint, should be nothing.

« previous php.qa (#64758) next »