php-src/ext/mysqli/tests/056.phpt

22 lines
343 B
Plaintext
Raw Normal View History

--TEST--
extend mysqli
2004-12-04 08:50:33 +00:00
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
include "connect.inc";
class foobar extends mysqli {
function test () {
return ("I like MySQL 4.1");
}
}
$foo = new foobar();
$foo->connect($host, $user, $passwd);
$foo->close();
printf("%s\n", $foo->test());
?>
--EXPECT--
I like MySQL 4.1