new test (class which extends mysqli. currently this test fails :( )

This commit is contained in:
Georg Richter 2003-02-18 00:42:38 +00:00
parent 2f604f67e8
commit 19a9b4f310

19
ext/mysqli/tests/056.phpt Normal file
View File

@ -0,0 +1,19 @@
--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