helly Wed Jul 9 13:05:09 2003 EDT
Modified files:
/php-src/ext/sqlite/tests sqlite_spl_001.phpt
Log:
Don't use class_implements() for the moment
Index: php-src/ext/sqlite/tests/sqlite_spl_001.phpt
diff -u php-src/ext/sqlite/tests/sqlite_spl_001.phpt:1.1
php-src/ext/sqlite/tests/sqlite_spl_001.phpt:1.2
--- php-src/ext/sqlite/tests/sqlite_spl_001.phpt:1.1 Sun Jun 22 13:19:46 2003
+++ php-src/ext/sqlite/tests/sqlite_spl_001.phpt Wed Jul 9 13:05:09 2003
@@ -5,7 +5,7 @@
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded("sqlite")) print "skip";
-if (!extension_loaded("spl")) print "skip: SPL is not installed";
+if (!class_exists("spl_forward")) print "skip: class spl_forward is not installed";
?>
--FILE--
<?php
@@ -25,7 +25,7 @@
echo "====UNBUFFERED====\n";
$r = $db->unbuffered_query("SELECT a from strings", SQLITE_NUM);
-var_dump(class_implements($r));
+//var_dump(class_implements($r));
foreach($r as $row) {
var_dump($row);
}
@@ -39,7 +39,7 @@
}
echo "====BUFFERED====\n";
$r = $db->query("SELECT a from strings", SQLITE_NUM);
-var_dump(class_implements($r));
+//var_dump(class_implements($r));
foreach($r as $row) {
var_dump($row);
}
@@ -51,10 +51,6 @@
--EXPECT--
====UNBUFFERED====
array(1) {
- ["spl_forward"]=>
- string(11) "spl_forward"
-}
-array(1) {
[0]=>
string(3) "one"
}
@@ -81,12 +77,6 @@
string(5) "three"
}
====BUFFERED====
-array(2) {
- ["spl_forward"]=>
- string(11) "spl_forward"
- ["spl_sequence"]=>
- string(12) "spl_sequence"
-}
array(1) {
[0]=>
string(3) "one"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php