1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
Files
archived-php-src/ext/mysqli/tests/056.phpt
T

20 lines
301 B
PHP

--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