]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_5_0'.
authorSVN Migration <svn@php.net>
Fri, 3 Dec 2004 07:56:20 +0000 (07:56 +0000)
committerSVN Migration <svn@php.net>
Fri, 3 Dec 2004 07:56:20 +0000 (07:56 +0000)
ext/mysqli/tests/bug30967.phpt [new file with mode: 0644]

diff --git a/ext/mysqli/tests/bug30967.phpt b/ext/mysqli/tests/bug30967.phpt
new file mode 100644 (file)
index 0000000..f441cf0
--- /dev/null
@@ -0,0 +1,21 @@
+--TEST--
+Bug #30967 testcase (properties)
+--FILE--
+<?php
+       include "connect.inc";
+       
+       class mysql1 extends mysqli {
+       }
+
+       class mysql2 extends mysql1 {
+       }
+
+       $mysql = new mysql2("localhost", "root", "", "test");
+
+       $mysql->query("THIS DOES NOT WORK");
+       printf("%d\n", $mysql->errno);
+
+       $mysql->close();        
+?>
+--EXPECTF--
+1064