diff options
author | Marcus Boerger <helly@php.net> | 2005-05-24 14:26:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-05-24 14:26:22 +0000 |
commit | 2ac0540323e3f55517cf79cc7ba8828ff9cd9af1 (patch) | |
tree | cc501d231bd7105bb15fbdda67373329e57d5b4a /ext/sqlite/tests | |
parent | 88157ad28412a7993b28c698c13880cc305747ce (diff) | |
download | php-git-2ac0540323e3f55517cf79cc7ba8828ff9cd9af1.tar.gz |
- Add test for deriving PDO
Diffstat (limited to 'ext/sqlite/tests')
-rwxr-xr-x | ext/sqlite/tests/pdo/pdo_026.phpt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ext/sqlite/tests/pdo/pdo_026.phpt b/ext/sqlite/tests/pdo/pdo_026.phpt new file mode 100755 index 0000000000..d9bc504c57 --- /dev/null +++ b/ext/sqlite/tests/pdo/pdo_026.phpt @@ -0,0 +1,51 @@ +--TEST-- +PDO_SQLite2: Deriving PDO +--SKIPIF-- +<?php # vim:ft=php +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_026.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +PDODatabase::__construct() +string(11) "PDODatabase" +string(12) "PDOStatement" +PDODatabase::query() +PDOStatementX::__construct() +string(13) "PDOStatementX" +string(11) "PDODatabase" +array(3) { + ["id"]=> + string(2) "10" + ["val"]=> + string(3) "Abc" + ["val2"]=> + string(3) "zxy" +} +array(3) { + ["id"]=> + string(2) "20" + ["val"]=> + string(3) "Def" + ["val2"]=> + string(3) "wvu" +} +array(3) { + ["id"]=> + string(2) "30" + ["val"]=> + string(3) "Ghi" + ["val2"]=> + string(3) "tsr" +} +===DONE=== +PDODatabase::__destruct() +PDOStatementX::__destruct() |