]> granicus.if.org Git - php/commitdiff
Remove mysqli reflection tests
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 18 Feb 2020 09:08:03 +0000 (10:08 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 18 Feb 2020 09:08:03 +0000 (10:08 +0100)
ext/mysqli/tests/mysqli_class_mysqli_driver_reflection.phpt [deleted file]
ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt [deleted file]
ext/mysqli/tests/mysqli_class_mysqli_result_reflection.phpt [deleted file]
ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt [deleted file]
ext/mysqli/tests/reflection_tools.inc [deleted file]

diff --git a/ext/mysqli/tests/mysqli_class_mysqli_driver_reflection.phpt b/ext/mysqli/tests/mysqli_class_mysqli_driver_reflection.phpt
deleted file mode 100644 (file)
index 5d125dd..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
---TEST--
-Interface of the class mysqli_driver - Reflection
---SKIPIF--
-<?php
-require_once('skipif.inc');
-require_once('skipifemb.inc');
-require_once('connect.inc');
-
-/*
-Let's not deal with cross-version issues in the EXPECTF/UEXPECTF.
-Most of the things which we test are covered by mysqli_class_*_interface.phpt.
-Those tests go into the details and are aimed to be a development tool, no more.
-*/
-if (!$IS_MYSQLND)
-       die("skip Test has been written for the latest version of mysqlnd only");
-?>
---FILE--
-<?php
-    require_once('reflection_tools.inc');
-    $class = new ReflectionClass('mysqli_driver');
-    inspectClass($class);
-    print "done!";
-?>
---EXPECTF--
-Inspecting class 'mysqli_driver'
-isInternal: yes
-isUserDefined: no
-isInstantiable: yes
-isInterface: no
-isAbstract: no
-isFinal: yes
-isIteratable: no
-Modifiers: '%d'
-Parent Class: ''
-Extension: 'mysqli'
-
-Inspecting property 'client_info'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'client_version'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'driver_version'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'embedded'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'reconnect'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'report_mode'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-Default property 'client_info'
-Default property 'client_version'
-Default property 'driver_version'
-Default property 'embedded'
-Default property 'reconnect'
-Default property 'report_mode'
-done!
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt b/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt
deleted file mode 100644 (file)
index 9b181d3..0000000
+++ /dev/null
@@ -1,1351 +0,0 @@
---TEST--
-Interface of the class mysqli - Reflection
---SKIPIF--
-<?php
-require_once('skipif.inc');
-require_once('skipifemb.inc');
-require_once('connect.inc');
-
-/*
-Let's not deal with cross-version issues in the EXPECTF section.
-Most of the things which we test are covered by mysqli_class_*_interface.phpt.
-Those tests go into the details and are aimed to be a development tool, no more.
-*/
-if (!$IS_MYSQLND)
-       die("skip Test has been written for mysqlnd only");
-
-?>
---FILE--
-<?php
-    require_once('reflection_tools.inc');
-    $class = new ReflectionClass('mysqli');
-    inspectClass($class);
-    print "done!\n";
-?>
---EXPECT--
-Inspecting class 'mysqli'
-isInternal: yes
-isUserDefined: no
-isInstantiable: yes
-isInterface: no
-isAbstract: no
-isFinal: no
-isIteratable: no
-Modifiers: '0'
-Parent Class: ''
-Extension: 'mysqli'
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 6
-Number of Required Parameters: 0
-
-Inspecting parameter 'host' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'user' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'password' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'database' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'port' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'socket' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 6
-Number of Required Parameters: 0
-
-Inspecting parameter 'host' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'user' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'password' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'database' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'port' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'socket' of method '__construct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'autocommit'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'mode' of method 'autocommit'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'begin_transaction'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 0
-
-Inspecting parameter 'flags' of method 'begin_transaction'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'name' of method 'begin_transaction'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'change_user'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 3
-Number of Required Parameters: 3
-
-Inspecting parameter 'user' of method 'change_user'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'password' of method 'change_user'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'database' of method 'change_user'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'character_set_name'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'close'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'commit'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 0
-
-Inspecting parameter 'flags' of method 'commit'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'name' of method 'commit'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'connect'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 6
-Number of Required Parameters: 0
-
-Inspecting parameter 'host' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'user' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'password' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'database' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'port' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'socket' of method 'connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'debug'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'debug_options' of method 'debug'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'dump_debug_info'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'escape_string'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'string_to_escape' of method 'escape_string'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'get_charset'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'get_client_info'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'get_connection_stats'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'get_server_info'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'get_warnings'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'init'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'kill'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'connection_id' of method 'kill'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'more_results'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'multi_query'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'query' of method 'multi_query'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'next_result'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'options'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 2
-
-Inspecting parameter 'option' of method 'options'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'value' of method 'options'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'ping'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'poll'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: yes
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 17
-Number of Parameters: 5
-Number of Required Parameters: 4
-
-Inspecting parameter 'read' of method 'poll'
-isArray: yes
-allowsNull: yes
-isPassedByReference: yes
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'write' of method 'poll'
-isArray: yes
-allowsNull: yes
-isPassedByReference: yes
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'error' of method 'poll'
-isArray: yes
-allowsNull: yes
-isPassedByReference: yes
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'sec' of method 'poll'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'usec' of method 'poll'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'prepare'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'query' of method 'prepare'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'query'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 1
-
-Inspecting parameter 'query' of method 'query'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'resultmode' of method 'query'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'real_connect'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 7
-Number of Required Parameters: 0
-
-Inspecting parameter 'host' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'user' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'password' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'database' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'port' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'socket' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'flags' of method 'real_connect'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'real_escape_string'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'string_to_escape' of method 'real_escape_string'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'real_query'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'query' of method 'real_query'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'reap_async_query'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'refresh'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'options' of method 'refresh'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'release_savepoint'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'name' of method 'release_savepoint'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'rollback'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 0
-
-Inspecting parameter 'flags' of method 'rollback'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'name' of method 'rollback'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'savepoint'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'name' of method 'savepoint'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'select_db'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'database' of method 'select_db'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'set_charset'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'charset' of method 'set_charset'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'set_opt'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 2
-
-Inspecting parameter 'option' of method 'set_opt'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'value' of method 'set_opt'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'ssl_set'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 5
-Number of Required Parameters: 5
-
-Inspecting parameter 'key' of method 'ssl_set'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'cert' of method 'ssl_set'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'certificate_authority' of method 'ssl_set'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'certificate_authority_path' of method 'ssl_set'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting parameter 'cipher' of method 'ssl_set'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'stat'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'stmt_init'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'store_result'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 0
-
-Inspecting parameter 'flags' of method 'store_result'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'thread_safe'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'use_result'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting property 'affected_rows'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'client_info'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'client_version'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'connect_errno'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'connect_error'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'errno'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'error'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'error_list'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'field_count'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'host_info'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'info'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'insert_id'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'protocol_version'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'server_info'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'server_version'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'sqlstate'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'thread_id'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'warning_count'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-Default property 'affected_rows'
-Default property 'client_info'
-Default property 'client_version'
-Default property 'connect_errno'
-Default property 'connect_error'
-Default property 'errno'
-Default property 'error'
-Default property 'error_list'
-Default property 'field_count'
-Default property 'host_info'
-Default property 'info'
-Default property 'insert_id'
-Default property 'protocol_version'
-Default property 'server_info'
-Default property 'server_version'
-Default property 'sqlstate'
-Default property 'thread_id'
-Default property 'warning_count'
-done!
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_result_reflection.phpt b/ext/mysqli/tests/mysqli_class_mysqli_result_reflection.phpt
deleted file mode 100644 (file)
index 83b4fbb..0000000
+++ /dev/null
@@ -1,371 +0,0 @@
---TEST--
-Interface of the class mysqli_result - Reflection
---SKIPIF--
-<?php
-require_once('skipif.inc');
-require_once('skipifemb.inc');
-require_once('skipifconnectfailure.inc');
-require_once('connect.inc');
-
-/*
-Let's not deal with cross-version issues in the EXPECTF section.
-Most of the things which we test are covered by mysqli_class_*_interface.phpt.
-Those tests go into the details and are aimed to be a development tool, no more.
-*/
-if (!$IS_MYSQLND)
-       die("skip Test has been written for mysqlnd only");
-?>
---FILE--
-<?php
-    require_once('reflection_tools.inc');
-    $class = new ReflectionClass('mysqli_result');
-    inspectClass($class);
-    print "done!";
-?>
---EXPECT--
-Inspecting class 'mysqli_result'
-isInternal: yes
-isUserDefined: no
-isInstantiable: yes
-isInterface: no
-isAbstract: no
-isFinal: no
-isIteratable: yes
-Modifiers: '0'
-Parent Class: ''
-Extension: 'mysqli'
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'close'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'data_seek'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'offset' of method 'data_seek'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'fetch_all'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 0
-
-Inspecting parameter 'result_type' of method 'fetch_all'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'fetch_array'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 0
-
-Inspecting parameter 'result_type' of method 'fetch_array'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'fetch_assoc'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'fetch_field'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'fetch_field_direct'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'field_nr' of method 'fetch_field_direct'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'fetch_fields'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'fetch_object'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 2
-Number of Required Parameters: 0
-
-Inspecting parameter 'class_name' of method 'fetch_object'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting parameter 'params' of method 'fetch_object'
-isArray: yes
-allowsNull: no
-isPassedByReference: no
-isOptional: yes
-isDefaultValueAvailable: no
-
-Inspecting method 'fetch_row'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'field_seek'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 1
-Number of Required Parameters: 1
-
-Inspecting parameter 'field_nr' of method 'field_seek'
-isArray: no
-allowsNull: yes
-isPassedByReference: no
-isOptional: no
-isDefaultValueAvailable: no
-
-Inspecting method 'free'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'free_result'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: 1
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting property 'current_field'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'field_count'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'lengths'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'num_rows'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'type'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-Default property 'current_field'
-Default property 'field_count'
-Default property 'lengths'
-Default property 'num_rows'
-Default property 'type'
-done!
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt b/ext/mysqli/tests/mysqli_class_mysqli_warning_reflection.phpt
deleted file mode 100644 (file)
index e8aef44..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
---TEST--
-Interface of the class mysqli_stmt - Reflection
---SKIPIF--
-<?php
-require_once('skipif.inc');
-require_once('skipifemb.inc');
-require_once('connect.inc');
-
-/*
-Let's not deal with cross-version issues in the EXPECTF section.
-Most of the things which we test are covered by mysqli_class_*_interface.phpt.
-Those tests go into the details and are aimed to be a development tool, no more.
-*/
-if (!$IS_MYSQLND)
-       die("skip Test has been written for mysqlnd only");
-?>
---FILE--
-<?php
-    require_once('reflection_tools.inc');
-    $class = new ReflectionClass('mysqli_warning');
-    inspectClass($class);
-    print "done!\n";
-?>
---EXPECTF--
-Inspecting class 'mysqli_warning'
-isInternal: yes
-isUserDefined: no
-isInstantiable: no
-isInterface: no
-isAbstract: no
-isFinal: yes
-isIteratable: no
-Modifiers: '%d'
-Parent Class: ''
-Extension: 'mysqli'
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: no
-isPrivate: no
-isProtected: yes
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: %d
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method '__construct'
-isFinal: no
-isAbstract: no
-isPublic: no
-isPrivate: no
-isProtected: yes
-isStatic: no
-isConstructor: yes
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: %d
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting method 'next'
-isFinal: no
-isAbstract: no
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isConstructor: no
-isDestructor: no
-isInternal: yes
-isUserDefined: no
-returnsReference: no
-Modifiers: %d
-Number of Parameters: 0
-Number of Required Parameters: 0
-
-Inspecting property 'errno'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'message'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-
-Inspecting property 'sqlstate'
-isPublic: yes
-isPrivate: no
-isProtected: no
-isStatic: no
-isDefault: yes
-Modifiers: 1
-Default property 'errno'
-Default property 'message'
-Default property 'sqlstate'
-done!
diff --git a/ext/mysqli/tests/reflection_tools.inc b/ext/mysqli/tests/reflection_tools.inc
deleted file mode 100644 (file)
index 0e46c2a..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-<?php
-    function inspectClass($class) {
-
-        /* not used: public ReflectionClass[] getInterfaces()  */
-
-        printf("\nInspecting class '%s'\n", $class->getName());
-        printf("isInternal: %s\n", ($class->isInternal()) ? 'yes' : 'no');
-        printf("isUserDefined: %s\n", ($class->isUserDefined()) ? 'yes' : 'no');
-        printf("isInstantiable: %s\n", ($class->isInstantiable()) ? 'yes' : 'no');
-        printf("isInterface: %s\n", ($class->isInterface()) ? 'yes' : 'no');
-        printf("isAbstract: %s\n", ($class->isAbstract()) ? 'yes' : 'no');
-        printf("isFinal: %s\n", ($class->isFinal()) ? 'yes' : 'no');
-        printf("isIteratable: %s\n", ($class->isIterateable()) ? 'yes' : 'no');
-        printf("Modifiers: '%d'\n", $class->getModifiers());
-        printf("Parent Class: '%s'\n", $class->getParentClass());
-        printf("Extension: '%s'\n", $class->getExtensionName());
-
-        if ($method = $class->getConstructor())
-            inspectMethod($method);
-
-        if ($methods = $class->getMethods()) {
-            $tmp = array();
-            foreach ($methods as $method)
-                $tmp[$method->getName()] = $method;
-
-            ksort($tmp, SORT_STRING);
-            foreach ($tmp as $method)
-                inspectMethod($method);
-        }
-
-        if ($properties = $class->getProperties()) {
-            $tmp = array();
-            foreach ($properties as $prop)
-                $tmp[$prop->getName()] = $prop;
-            ksort($tmp, SORT_STRING);
-            foreach ($tmp as $prop)
-            inspectProperty($prop);
-        }
-
-
-        if ($properties = $class->getDefaultProperties()) {
-            ksort($properties, SORT_STRING);
-            foreach ($properties as $name => $v)
-                printf("Default property '%s'\n", $name);
-        }
-
-        if ($properties = $class->getStaticProperties()) {
-            ksort($properties, SORT_STRING);
-            foreach ($properties as $name => $v)
-                printf("Static property '%s'\n", $name);
-        }
-
-        if ($constants = $class->getConstants()) {
-            ksort($constants, SORT_STRING);
-            foreach ($constant as $name => $value)
-                printf("Constant '%s' = '%s'\n", $name, $value);
-        }
-
-    }
-
-    function inspectProperty(&$prop) {
-
-        printf("\nInspecting property '%s'\n", $prop->getName());
-        printf("isPublic: %s\n", ($prop->isPublic()) ? 'yes' : 'no');
-        printf("isPrivate: %s\n", ($prop->isPrivate()) ? 'yes' : 'no');
-        printf("isProtected: %s\n", ($prop->isProtected()) ? 'yes' : 'no');
-        printf("isStatic: %s\n", ($prop->isStatic()) ? 'yes' : 'no');
-        printf("isDefault: %s\n", ($prop->isDefault()) ? 'yes' : 'no');
-        printf("Modifiers: %d\n", $prop->getModifiers());
-        // printf("Value\n"); var_export($prop->getValue());
-
-    }
-
-    function inspectMethod(&$method) {
-
-        printf("\nInspecting method '%s'\n", $method->getName());
-        printf("isFinal: %s\n", ($method->isFinal()) ? 'yes' : 'no');
-        printf("isAbstract: %s\n", ($method->isAbstract()) ? 'yes' : 'no');
-        printf("isPublic: %s\n", ($method->isPublic()) ? 'yes' : 'no');
-        printf("isPrivate: %s\n", ($method->isPrivate()) ? 'yes' : 'no');
-        printf("isProtected: %s\n", ($method->isProtected()) ? 'yes' : 'no');
-        printf("isStatic: %s\n", ($method->isStatic()) ? 'yes' : 'no');
-        printf("isConstructor: %s\n", ($method->isConstructor()) ? 'yes' : 'no');
-        printf("isDestructor: %s\n", ($method->isDestructor()) ? 'yes' : 'no');
-        printf("isInternal: %s\n", ($method->isInternal()) ? 'yes' : 'no');
-        printf("isUserDefined: %s\n", ($method->isUserDefined()) ? 'yes' : 'no');
-        printf("returnsReference: %s\n", ($method->returnsReference()) ? 'yes' : 'no');
-        printf("Modifiers: %d\n", $method->getModifiers());
-        printf("Number of Parameters: %d\n", $method->getNumberOfParameters());
-        printf("Number of Required Parameters: %d\n", $method->getNumberOfRequiredParameters());
-
-        if ($params = $method->getParameters()) {
-            $tmp = array();
-            foreach ($params as $k => $param)
-                $tmp[$param->getName()] = $param;
-
-//                     ksort($tmp, SORT_STRING);
-            foreach ($tmp as $param)
-                inspectParameter($method, $param);
-        }
-
-        if ($static = $method->getStaticVariables()) {
-            sort($static, SORT_STRING);
-            printf("Static variables: %s\n", implode('/', $static));
-        }
-
-    }
-
-    function inspectParameter(&$method, &$param) {
-
-        printf("\nInspecting parameter '%s' of method '%s'\n",
-        $param->getName(), $method->getName());
-        printf("isArray: %s\n", ($param->isArray()) ? 'yes': 'no');
-        printf("allowsNull: %s\n", ($param->allowsNull()) ? 'yes' : 'no');
-        printf("isPassedByReference: %s\n", ($param->isPassedByReference()) ? 'yes' : 'no');
-        printf("isOptional: %s\n", ($param->isOptional()) ? 'yes' : 'no');
-        printf("isDefaultValueAvailable: %s\n", ($param->isDefaultValueAvailable()) ? 'yes' : 'no');
-        // printf("getDefaultValue: %s\n", ($param->getDefaultValue()) ? 'yes' : 'no');
-
-    }
-?>