diff options
Diffstat (limited to 'ext/mysqli/tests')
5 files changed, 4 insertions, 58 deletions
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt index e5ffc262ab..ebf9c7f2b7 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt @@ -93,9 +93,6 @@ reconnect report_mode Object variables: -client_info -client_version -driver_version reconnect report_mode diff --git a/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt index 48706fcf6e..d0d858b9de 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt @@ -92,7 +92,7 @@ require_once('skipifconnectfailure.inc'); printf("\nClass variables:\n"); - $expected_class_variables = $expected_object_variables = array( + $expected_class_variables = [ "affected_rows" => true, "client_info" => true, "client_version" => true, @@ -110,10 +110,10 @@ require_once('skipifconnectfailure.inc'); "sqlstate" => true, "thread_id" => true, "warning_count" => true, - ); + "error_list" => true, + ]; - $expected_class_variables["error_list"] = true; - $expected_object_variables["error_list"] = true; + $expected_object_variables = []; $variables = get_class_vars(get_class($mysqli)); foreach ($variables as $var => $v) { diff --git a/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt b/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt index d44b349557..b04fb93e9c 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt @@ -257,24 +257,6 @@ mysqli object is already closed mysqli object is already closed Object variables: -Property access is not allowed yet -client_info = '%s' -client_version = '%s' -connect_errno = '%s' -connect_error = ''%s' -mysqli object is already closed -mysqli object is already closed -Property access is not allowed yet -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed Magic, magic properties: mysqli object is already closed @@ -339,24 +321,6 @@ mysqli object is already closed mysqli object is already closed Object variables: -Property access is not allowed yet -client_info = '%s' -client_version = '%s' -connect_errno = '%s' -connect_error = '%s' -mysqli object is already closed -mysqli object is already closed -Property access is not allowed yet -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed -mysqli object is already closed Magic, magic properties: mysqli object is already closed diff --git a/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt index 4837a5f695..27656417e5 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt @@ -162,11 +162,6 @@ num_rows type Object variables: -current_field -field_count -lengths -num_rows -type Magic, magic properties: mysqli_result->current_field = '0'/integer ('0'/integer) diff --git a/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt index 393e06ebaa..b10877a285 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt @@ -153,16 +153,6 @@ param_count sqlstate Object variables: -affected_rows -insert_id -num_rows -param_count -field_count -errno -error -error_list -sqlstate -id Magic, magic properties: mysqli_stmt object is not fully initialized |
