1--TEST-- 2Bug #30967 (problems with properties declared in the class extending the class extending MySQLi) 3--EXTENSIONS-- 4mysqli 5--SKIPIF-- 6<?php 7require_once 'skipifconnectfailure.inc'; 8?> 9--FILE-- 10<?php 11 require_once 'connect.inc'; 12 13 class mysql1 extends mysqli { 14 } 15 16 class mysql2 extends mysql1 { 17 } 18 19 $mysql = new mysql2($host, $user, $passwd, $db, $port, $socket); 20 21 $mysql->query("THIS DOES NOT WORK"); 22 printf("%d\n", $mysql->errno); 23 24 $mysql->close(); 25?> 26--EXPECT-- 271064 28