diff options
Diffstat (limited to 'ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt')
| -rw-r--r-- | ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt index 10edac8f0e..cd4206510e 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_result_interface.phpt @@ -67,13 +67,13 @@ require_once('skipifconnectfailure.inc'); printf("\nClass variables:\n"); - $variables = get_class_vars(get_class($mysqli_result)); + $variables = array_keys(get_class_vars(get_class($mysqli_result))); sort($variables); foreach ($variables as $k => $var) printf("%s\n", $var); printf("\nObject variables:\n"); - $variables = get_object_vars($mysqli_result); + $variables = array_keys(get_object_vars($mysqli_result)); foreach ($variables as $k => $var) printf("%s\n", $var); @@ -162,8 +162,18 @@ Methods: ok Class variables: +current_field +field_count +lengths +num_rows +type Object variables: +current_field +field_count +lengths +num_rows +type Magic, magic properties: mysqli_result->current_field = '0'/integer ('0'/integer) @@ -189,8 +199,18 @@ Methods: ok Class variables: +current_field +field_count +lengths +num_rows +type Object variables: +current_field +field_count +lengths +num_rows +type Magic, magic properties: mysqli_result->current_field = '0'/integer ('0'/integer) @@ -207,4 +227,4 @@ Constructor: Warning: mysqli_result::mysqli_result() expects parameter 2 to be long, Unicode string given in %s on line %d Warning: mysqli_result::mysqli_result() expects parameter 1 to be mysqli, Unicode string given in %s on line %d -done!
\ No newline at end of file +done! |
