2004-12-03 07:56:19 +00:00
|
|
|
--TEST--
|
2007-05-07 17:23:53 +00:00
|
|
|
Bug #30967 (problems with properties declared in the class extending the class extending MySQLi)
|
2004-12-04 08:50:33 +00:00
|
|
|
--SKIPIF--
|
2009-10-19 20:07:25 +00:00
|
|
|
<?php
|
|
|
|
require_once('skipif.inc');
|
2007-08-09 09:43:28 +00:00
|
|
|
require_once('skipifconnectfailure.inc');
|
|
|
|
?>
|
2004-12-03 07:56:19 +00:00
|
|
|
--FILE--
|
|
|
|
<?php
|
2009-10-19 20:07:25 +00:00
|
|
|
require_once("connect.inc");
|
|
|
|
|
2004-12-03 07:56:19 +00:00
|
|
|
class mysql1 extends mysqli {
|
|
|
|
}
|
|
|
|
|
|
|
|
class mysql2 extends mysql1 {
|
|
|
|
}
|
|
|
|
|
2007-08-09 09:43:28 +00:00
|
|
|
$mysql = new mysql2($host, $user, $passwd, $db, $port, $socket);
|
2004-12-03 07:56:19 +00:00
|
|
|
|
|
|
|
$mysql->query("THIS DOES NOT WORK");
|
|
|
|
printf("%d\n", $mysql->errno);
|
|
|
|
|
2007-08-09 09:43:28 +00:00
|
|
|
$mysql->close();
|
2004-12-03 07:56:19 +00:00
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
1064
|