cvs: php-src /ext/sybase_ct/tests test_connectionbased_msghandler.phpt

From: Date: Sun, 25 Jan 2004 20:04:25 +0000
Subject: cvs: php-src /ext/sybase_ct/tests test_connectionbased_msghandler.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25856@lists.php.net to get a copy of this message
thekid Sun Jan 25 15:04:25 2004 EDT Added files: /php-src/ext/sybase_ct/tests test_connectionbased_msghandler.phpt Log: - Initial release http://cvs.php.net/co.php/php-src/ext/sybase_ct/tests/test_connectionbased_msghandler.phpt?r=1.1&p=1 Index: php-src/ext/sybase_ct/tests/test_connectionbased_msghandler.phpt +++ php-src/ext/sybase_ct/tests/test_connectionbased_msghandler.phpt --TEST-- Sybase-CT connection-based server message handler --SKIPIF-- <?php require('skipif.inc'); ?> --FILE-- <?php /* This file is part of PHP test framework for ext/sybase_ct * * $Id: test_connectionbased_msghandler.phpt,v 1.1 2004/01/25 20:04:24 thekid Exp $ */ require('test.inc'); $db= sybase_connect_ex(); var_dump($db); var_dump(sybase_set_message_handler('sybase_msg_handler', $db)); var_dump(sybase_select_ex($db, 'select getdate(NULL)')); sybase_close($db); ?> --EXPECTF-- resource(%d) of type (sybase-ct link) bool(true) >>> Query: select getdate(NULL) *** Caught Sybase Server Message #%d [Severity %d, state %d] at line %d %s <<< Return: boolean bool(false)

« previous php.cvs (#25856) next »