mirror of
https://github.com/php/php-src.git
synced 2025-01-07 11:34:09 +08:00
24 lines
365 B
PHP
24 lines
365 B
PHP
--TEST--
|
|
Bug #30967 testcase (properties)
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
include "connect.inc";
|
|
|
|
class mysql1 extends mysqli {
|
|
}
|
|
|
|
class mysql2 extends mysql1 {
|
|
}
|
|
|
|
$mysql = new mysql2($host, $user, $passwd, "test");
|
|
|
|
$mysql->query("THIS DOES NOT WORK");
|
|
printf("%d\n", $mysql->errno);
|
|
|
|
$mysql->close();
|
|
?>
|
|
--EXPECTF--
|
|
1064
|