Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 /tests bug46196.phpt
| From: | Jani Taskinen | Date: | Mon, 03 Nov 2008 12:04:56 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 /tests bug46196.phpt | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-7183@lists.php.net to get a copy of this message | ||
Felix De Vliegher wrote:
felixdv Sun Nov 2 20:15:16 2008 UTCWTF? Credits for tests? Come on..these are already bloated with shit like XFAIL and such.. --JaniAdded files: /ZendEngine2/tests bug46196.phpt Log:XFAIL test for bug #46196 on restore_error_handler(). http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug46196.phpt?view=markup&rev=1.1 Index: ZendEngine2/tests/bug46196.phpt +++ ZendEngine2/tests/bug46196.phpt --TEST-- Test restore_error_handler() function : bug #46196 --CREDITS-- Olivier Doucet
--XFAIL-- This test will fail until bug #46196 is fixed --FILE-- <?php /* Prototype : void restore_error_handler(void) * Description: Restores the previously defined error handler function * Source code: Zend/zend_builtin_functions.c * Alias to functions: */ echo "*** Testing restore_error_handler() : error bug #46196 ***\n"; var_dump( set_error_handler( 'myErrorHandler' ) ); var_dump( restore_error_handler() ); var_dump( set_error_handler( 'myErrorHandler' ) ); function myErrorHandler($errno, $errstr, $errfile, $errline) {return true;} ?> ===DONE=== --EXPECTF-- *** Testing restore_error_handler() : error bug #46196 *** NULL bool(true) NULL ===DONE===