diff options
author | Stanley Sufficool <ssufficool@php.net> | 2010-07-24 14:05:44 +0000 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2010-07-24 14:05:44 +0000 |
commit | e00060b3b0aeab8fcd782acd4d1d5db95f65e891 (patch) | |
tree | 1cb7996d6c8315633d947ac9685fb6d846661885 /ext/pdo_dblib | |
parent | f20f5161294d482ecbf579623e650885c143d8c9 (diff) | |
download | php-git-e00060b3b0aeab8fcd782acd4d1d5db95f65e891.tar.gz |
Remove obsolete non phpt test script.
Diffstat (limited to 'ext/pdo_dblib')
-rw-r--r-- | ext/pdo_dblib/db.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/ext/pdo_dblib/db.php b/ext/pdo_dblib/db.php deleted file mode 100644 index f9bac04d29..0000000000 --- a/ext/pdo_dblib/db.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php - -/* assumes that you have the freetds db.lib on windows */ - -dl('php_pdo.dll'); -dl('php_pdo_sybase.dll'); - -try { - -$db = new PDO('sybase:', 'pdo', 'pdo'); -$db->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_EXCEPTION); -debug_zval_dump($db); - -$stmt = $db->prepare('select 10'); -debug_zval_dump($stmt); - -$x = $stmt->execute(); -debug_zval_dump($x); - -while (($r = $stmt->fetch())) { - print_r($r); -} - -} catch (Exception $e) { - print $e; -} - -$stmt = null; -$db = null; -echo "All done\n"; -?> |