]> granicus.if.org Git - php/commitdiff
- Fixed expected warning messages
authorTimm Friebe <thekid@php.net>
Sat, 8 Nov 2008 11:45:03 +0000 (11:45 +0000)
committerTimm Friebe <thekid@php.net>
Sat, 8 Nov 2008 11:45:03 +0000 (11:45 +0000)
# Changed during migration to parameter parsing API

ext/sybase_ct/tests/test_msghandler.phpt

index d97fe3f76c96367c2849c2fba2623c6d47114c59..afe97cbef359efc6f844bc248aadd64d58eb89f2 100644 (file)
@@ -26,15 +26,15 @@ Sybase-CT server message handler
 ?>
 --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