1--TEST-- 2Interface of the class mysqli_driver - Reflection 3--SKIPIF-- 4<?php 5require_once('skipif.inc'); 6require_once('skipifemb.inc'); 7require_once('connect.inc'); 8 9/* 10Let's not deal with cross-version issues in the EXPECTF/UEXPECTF. 11Most of the things which we test are covered by mysqli_class_*_interface.phpt. 12Those tests go into the details and are aimed to be a development tool, no more. 13*/ 14if (!$IS_MYSQLND) 15 die("skip Test has been written for the latest version of mysqlnd only"); 16?> 17--FILE-- 18<?php 19 require_once('reflection_tools.inc'); 20 $class = new ReflectionClass('mysqli_driver'); 21 inspectClass($class); 22 print "done!"; 23?> 24--EXPECTF-- 25Inspecting class 'mysqli_driver' 26isInternal: yes 27isUserDefined: no 28isInstantiable: yes 29isInterface: no 30isAbstract: no 31isFinal: yes 32isIteratable: no 33Modifiers: '%d' 34Parent Class: '' 35Extension: 'mysqli' 36 37Inspecting property 'client_info' 38isPublic: yes 39isPrivate: no 40isProtected: no 41isStatic: no 42isDefault: yes 43Modifiers: 1 44 45Inspecting property 'client_version' 46isPublic: yes 47isPrivate: no 48isProtected: no 49isStatic: no 50isDefault: yes 51Modifiers: 1 52 53Inspecting property 'driver_version' 54isPublic: yes 55isPrivate: no 56isProtected: no 57isStatic: no 58isDefault: yes 59Modifiers: 1 60 61Inspecting property 'embedded' 62isPublic: yes 63isPrivate: no 64isProtected: no 65isStatic: no 66isDefault: yes 67Modifiers: 1 68 69Inspecting property 'reconnect' 70isPublic: yes 71isPrivate: no 72isProtected: no 73isStatic: no 74isDefault: yes 75Modifiers: 1 76 77Inspecting property 'report_mode' 78isPublic: yes 79isPrivate: no 80isProtected: no 81isStatic: no 82isDefault: yes 83Modifiers: 1 84Default property 'client_info' 85Default property 'client_version' 86Default property 'driver_version' 87Default property 'embedded' 88Default property 'reconnect' 89Default property 'report_mode' 90done! 91