thekid Sat Nov 8 11:45:03 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/sybase_ct/tests test_msghandler.phpt Log: - Fixed expected warning messages # Changed during migration to parameter parsing API http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test_msghandler.phpt?r1=1.2.6.1&r2=1.2.6.1.2.1&diff_format=u Index: php-src/ext/sybase_ct/tests/test_msghandler.phpt diff -u php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.2.6.1 php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.2.6.1.2.1 --- php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.2.6.1 Tue May 22 11:33:36 2007 +++ php-src/ext/sybase_ct/tests/test_msghandler.phpt Sat Nov 8 11:45:03 2008 @@ -6,7 +6,7 @@ <?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test_msghandler.phpt,v 1.2.6.1 2007/05/22 11:33:36 thekid Exp $ + * $Id: test_msghandler.phpt,v 1.2.6.1.2.1 2008/11/08 11:45:03 thekid Exp $ */ require('test.inc'); @@ -26,15 +26,15 @@ ?> --EXPECTF-- Nonexistant: -Warning: sybase_set_message_handler(): First argumented is expected to be a valid callback, 'function_does_not_exist' was given in %stest.inc on line %d -bool(false) +Warning: sybase_set_message_handler() expects parameter 1 to be a valid callback, function 'function_does_not_exist' not found or invalid function name in %stest.inc on line %d +NULL Static method: bool(true) Instance method: bool(true) Lambda function: bool(true) Unset: bool(true) Incorrect type: -Warning: sybase_set_message_handler(): First argumented is expected to be either NULL, an array or string, integer given in %stest.inc on line %d -bool(false) +Warning: sybase_set_message_handler() expects parameter 1 to be a valid callback, no array or string given in %stest.inc on line %d +NULL Function: bool(true) >>> Query: select getdate(NULL) *** Caught Sybase Server Message #%d [Severity %d, state %d] at line %d
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php