Current Path : /usr/opt/php56/share/pear/test/MDB2/tests/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/php56/share/pear/test/MDB2/tests/basic.phpt |
--TEST-- MDB2: Basic connectivity --FILE-- <?php require_once 'MDB2_Connect_Test.php'; require_once 'config.php'; if (! ($dbc =& new MDB2_Connect_Test(true))) { die("Unable to instantiate MDB2 object\n"); } $e = $dbc->connect(); if (PEAR::isError($e)) { print $e->getMessage() . "\n"; } die(); ?> echo 'Success!'; --EXPECT-- Success!