summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2008-11-08 11:45:03 +0000
committerTimm Friebe <thekid@php.net>2008-11-08 11:45:03 +0000
commitd40014873f821a1e9d7e6f6e508e85ba6ed79d07 (patch)
tree9d67569880a2060fe2c6a098091489bafbe913bb /ext/sybase_ct
parentf26f2c09611c2ed189e7e777f1f90fafffb118e4 (diff)
downloadphp-git-d40014873f821a1e9d7e6f6e508e85ba6ed79d07.tar.gz
- Fixed expected warning messages
# Changed during migration to parameter parsing API
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/tests/test_msghandler.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sybase_ct/tests/test_msghandler.phpt b/ext/sybase_ct/tests/test_msghandler.phpt
index d97fe3f76c..afe97cbef3 100644
--- a/ext/sybase_ct/tests/test_msghandler.phpt
+++ b/ext/sybase_ct/tests/test_msghandler.phpt
@@ -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