php-src/ext/sqlite/tests/pdo/pdo_019.phpt
Marcus Boerger 5985098b98 - Add tests
2005-03-12 00:51:39 +00:00

53 lines
649 B
PHP
Executable File

--TEST--
PDO_SQLite2: fetch() and while()
--SKIPIF--
<?php # vim:ft=php
require_once('skipif.inc');
?>
--FILE--
<?php
require_once('connection.inc');
require_once('prepare.inc');
require_once($PDO_TESTS . 'pdo_019.inc');
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
===INIT===
int(1)
int(1)
int(1)
int(1)
string(1) "4"
array(4) {
[0]=>
string(7) "String0"
[1]=>
string(7) "String1"
[2]=>
string(7) "String2"
[3]=>
string(7) "String3"
}
===WHILE===
array(1) {
[0]=>
string(7) "String0"
}
array(1) {
[1]=>
string(7) "String1"
}
array(1) {
[2]=>
string(7) "String2"
}
array(1) {
[3]=>
string(7) "String3"
}
===DONE===