Annotation of embedaddon/php/ext/sybase_ct/tests/test_close_default.phpt, revision 1.1.1.2

1.1       misho       1: --TEST--
                      2: Sybase-CT close default connection
                      3: --SKIPIF--
                      4: <?php require('skipif.inc'); ?>
                      5: --FILE--
                      6: <?php
                      7: /* This file is part of PHP test framework for ext/sybase_ct
                      8:  *
1.1.1.2 ! misho       9:  * $Id$ 
1.1       misho      10:  */
                     11: 
                     12:   require('test.inc');
                     13: 
                     14:   sybase_connect_ex();
                     15:   sybase_close();
                     16:   var_dump(sybase_query('select getdate()'));
                     17: ?>
                     18: --EXPECTF--
                     19: 
                     20: Warning: sybase_query(): Sybase:  No connection in %s on line %d
                     21: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>