--TEST--
Interface of the class mysqli_driver
--SKIPIF--
-<?php
+<?php
require_once('skipif.inc');
require_once('skipifemb.inc');
require_once('skipifconnectfailure.inc');
$methods = get_class_methods($driver);
$expected_methods = array();
- if (!$IS_MYSQLND) {
- /* libmysql only */
+ if (!$IS_MYSQLND && (isset($methods['embedded_server_start']))) {
+ /* libmysql only - needs extra compile flag, no way to check properly in the
+ PHP user land if its compiled in or not */
$expected_methods = array_merge($expected_methods, array(
- 'embedded_server_start' => true,
- 'embedded_server_end' => true,
+ 'embedded_server_start' => true,
+ 'embedded_server_end' => true,
));
}