Annotation of embedaddon/php/ext/sybase_ct/tests/skipif.inc, revision 1.1.1.1

1.1       misho       1: <?php
                      2: /* This file is part of PHP test framework for ext/sybase_ct
                      3:  *
                      4:  * $Id: skipif.inc 268592 2008-11-08 15:39:01Z felipe $ 
                      5:  */
                      6: 
                      7:   require 'test.inc';
                      8: 
                      9:   if (!extension_loaded('sybase_ct')) die('skip Sybase-CT extension not loaded');
                     10:   
                     11:   sybase_min_server_severity(11);
                     12:   if (!@sybase_connect(HOST, USER, PASSWORD)) die('skip Unable to connect');
                     13: ?>

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