xref: /PHP-5.3/ext/mysqli/tests/bug30967.phpt (revision eb0e09f5)
1--TEST--
2Bug #30967 (problems with properties declared in the class extending the class extending MySQLi)
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6require_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--
261064
27