summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt31
1 files changed, 29 insertions, 2 deletions
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt b/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt
index 738aa46ed0..cb690437ae 100644
--- a/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt
+++ b/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt
@@ -24,7 +24,7 @@ if ($MYSQLND_VERSION < 576)
require_once('reflection_tools.inc');
$class = new ReflectionClass('mysqli_warning');
inspectClass($class);
- print "done!";
+ print "done!\n";
?>
--EXPECTF--
Inspecting class 'mysqli_warning'
@@ -86,4 +86,31 @@ returnsReference: no
Modifiers: %d
Number of Parameters: 0
Number of Required Parameters: 0
-done! \ No newline at end of file
+
+Inspecting property 'errno'
+isPublic: yes
+isPrivate: no
+isProtected: no
+isStatic: no
+isDefault: yes
+Modifiers: 256
+
+Inspecting property 'message'
+isPublic: yes
+isPrivate: no
+isProtected: no
+isStatic: no
+isDefault: yes
+Modifiers: 256
+
+Inspecting property 'sqlstate'
+isPublic: yes
+isPrivate: no
+isProtected: no
+isStatic: no
+isDefault: yes
+Modifiers: 256
+Default property 'errno'
+Default property 'message'
+Default property 'sqlstate'
+done!