cvs: php4 /ext/mysqli/tests 056.phpt
| From: | Georg Richter | Date: | Tue, 18 Feb 2003 00:42:38 +0000 |
| Subject: | cvs: php4 /ext/mysqli/tests 056.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18924@lists.php.net to get a copy of this message | ||
georg Mon Feb 17 19:42:38 2003 EDT
Added files:
/php4/ext/mysqli/tests 056.phpt
Log:
new test (class which extends mysqli. currently this test fails :( )
Index: php4/ext/mysqli/tests/056.phpt
+++ php4/ext/mysqli/tests/056.phpt
--TEST--
extend mysqli
--FILE--
<?php
include "connect.inc";
class foobar extends mysqli {
function test () {
return ("I like MySQL 4.1");
}
}
$foo = new foobar();
$foo->connect("localhost", $user, $passwd);
$foo->close();
printf("%s\n", $foo->test());
?>
--EXPECT--
I like MySQL 4.1