diff options
| author | Georg Richter <georg@php.net> | 2003-02-18 00:42:38 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2003-02-18 00:42:38 +0000 |
| commit | 19a9b4f310742bedc2dbf2b5c603b6b76640e256 (patch) | |
| tree | 89628b7294b7ad8a49fe21471121572234ea3dc3 | |
| parent | 2f604f67e8180a459f802d2ba07ac82c1c206549 (diff) | |
| download | php-git-19a9b4f310742bedc2dbf2b5c603b6b76640e256.tar.gz | |
new test (class which extends mysqli. currently this test fails :( )
| -rw-r--r-- | ext/mysqli/tests/056.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/mysqli/tests/056.phpt b/ext/mysqli/tests/056.phpt new file mode 100644 index 0000000000..cee7df1e5f --- /dev/null +++ b/ext/mysqli/tests/056.phpt @@ -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 |
