mirror of
https://github.com/php/php-src.git
synced 2025-01-07 11:34:09 +08:00
MFH: fix test failures
This commit is contained in:
parent
709f73aea7
commit
d18cdaf6dd
@ -54,7 +54,7 @@ array(7) {
|
||||
[4]=>
|
||||
int(0)
|
||||
[5]=>
|
||||
int(0)
|
||||
string(13) "-333333333333"
|
||||
[6]=>
|
||||
int(100)
|
||||
}
|
||||
|
@ -15,8 +15,10 @@ class DB extends mysqli
|
||||
}
|
||||
}
|
||||
|
||||
require_once dirname(__FILE__)."/connect.inc";
|
||||
|
||||
// Segfault when using the DB class which extends mysqli
|
||||
$DB = new DB('localhost', 'root', '', '');
|
||||
$DB = new DB($host, $user, $passwd, '');
|
||||
$DB->query_single('SELECT DATE()');
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user