php-src/ext/mysqli/tests/bug30967.phpt
Georg Richter 9751d9afaa Fixed bug #30890 (testsuite)
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00

22 lines
313 B
PHP

--TEST--
Bug #30967 testcase (properties)
--FILE--
<?php
include "connect.inc";
class mysql1 extends mysqli {
}
class mysql2 extends mysql1 {
}
$mysql = new mysql2($host, "root", "", "test");
$mysql->query("THIS DOES NOT WORK");
printf("%d\n", $mysql->errno);
$mysql->close();
?>
--EXPECTF--
1064