dis-bench / src /php /php-src /ext /mysqli /tests /bug30967.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
506 Bytes
--TEST--
Bug #30967 (problems with properties declared in the class extending the class extending MySQLi)
--EXTENSIONS--
mysqli
--SKIPIF--
<?php
require_once 'skipifconnectfailure.inc';
?>
--FILE--
<?php
require_once 'connect.inc';
class mysql1 extends mysqli {
}
class mysql2 extends mysql1 {
}
$mysql = new mysql2($host, $user, $passwd, $db, $port, $socket);
$mysql->query("THIS DOES NOT WORK");
printf("%d\n", $mysql->errno);
$mysql->close();
?>
--EXPECT--
1064