Annotation of embedaddon/php/ext/mysqli/tests/bug30967.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #30967 (problems with properties declared in the class extending the class extending MySQLi)
3: --SKIPIF--
4: <?php
5: require_once('skipif.inc');
6: require_once('skipifconnectfailure.inc');
7: ?>
8: --FILE--
9: <?php
10: require_once("connect.inc");
11:
12: class mysql1 extends mysqli {
13: }
14:
15: class mysql2 extends mysql1 {
16: }
17:
18: $mysql = new mysql2($host, $user, $passwd, $db, $port, $socket);
19:
20: $mysql->query("THIS DOES NOT WORK");
21: printf("%d\n", $mysql->errno);
22:
23: $mysql->close();
24: ?>
25: --EXPECTF--
26: 1064
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>