diff options
author | Johannes Schlüter <johannes@php.net> | 2010-11-19 09:55:48 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2010-11-19 09:55:48 +0000 |
commit | 6c76f3606cddeb010cf1fc5ea28b47456ea9639e (patch) | |
tree | 73c1b306cd449f571f2b28793cfac1de673b7fad /ext/sqlite/tests/sqlitedatabase_arrayquery.phpt | |
parent | 4cc45507da8164847708c26bfdf0840419a166fc (diff) | |
download | php-git-6c76f3606cddeb010cf1fc5ea28b47456ea9639e.tar.gz |
- Move the old sqlite extension to PECL
# discussed in http://www.mail-archive.com/internals@lists.php.net/msg47463.html
Diffstat (limited to 'ext/sqlite/tests/sqlitedatabase_arrayquery.phpt')
-rw-r--r-- | ext/sqlite/tests/sqlitedatabase_arrayquery.phpt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/sqlite/tests/sqlitedatabase_arrayquery.phpt b/ext/sqlite/tests/sqlitedatabase_arrayquery.phpt deleted file mode 100644 index 1e3084cebe..0000000000 --- a/ext/sqlite/tests/sqlitedatabase_arrayquery.phpt +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Testing SQLiteDatabase::ArrayQuery with NULL-byte string ---SKIPIF-- -<?php -if (!extension_loaded("sqlite")) print "skip"; -?> ---FILE-- -<?php - -$method = new ReflectionMethod('sqlitedatabase::arrayquery'); - -$class = $method->getDeclaringClass()->newInstanceArgs(array(':memory:')); - -$p = "\0"; - -$method->invokeArgs($class, array_fill(0, 2, $p)); -$method->invokeArgs($class, array_fill(0, 1, $p)); - -?> ---EXPECTF-- -Warning: SQLiteDatabase::arrayQuery() expects parameter 2 to be long, string given in %s on line %d - -Warning: SQLiteDatabase::arrayQuery(): Cannot execute empty query. in %s on line %d |