Annotation of embedaddon/php/ext/sybase_ct/tests/test_close.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Sybase-CT close
        !             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:  *
        !             9:  * $Id: test_close.phpt 268631 2008-11-09 11:38:17Z thekid $ 
        !            10:  */
        !            11: 
        !            12:   require('test.inc');
        !            13: 
        !            14:   $db= sybase_connect_ex();
        !            15:   var_dump($db);
        !            16:   sybase_close($db);
        !            17:   var_dump($db);
        !            18:   var_dump(sybase_query('select getdate()', $db));
        !            19: ?>
        !            20: --EXPECTF--
        !            21: resource(%d) of type (sybase-ct link)
        !            22: resource(%d) of type (Unknown)
        !            23: 
        !            24: Warning: sybase_query(): %d is not a valid Sybase-Link resource in %s on line %d
        !            25: bool(false)

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