/PHP-7.1/ext/spl/ |
H A D | spl_functions.h | 28 #define REGISTER_SPL_STD_CLASS(class_name, obj_ctor) \ argument 29 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, NULL); 32 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, funcs); 35 …spl_register_sub_class(&spl_ce_ ## class_name, spl_ce_ ## parent_class_name, # class_name, obj_cto… 37 #define REGISTER_SPL_INTERFACE(class_name) \ argument 38 spl_register_interface(&spl_ce_ ## class_name, # class_name, spl_funcs_ ## class_name); 40 #define REGISTER_SPL_IMPLEMENTS(class_name, interface_name) \ argument 43 #define REGISTER_SPL_ITERATOR(class_name) \ argument 71 #define SPL_ME(class_name, function_name, arg_info, flags) \ argument 77 #define SPL_METHOD(class_name, function_name) \ argument [all …]
|
H A D | spl_functions.c | 31 void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry … in spl_register_interface() argument 35 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); in spl_register_interface() 41 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, co… in spl_register_std_class() argument 45 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_std_class() 56 …b_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor,… in spl_register_sub_class() argument 60 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_sub_class()
|
H A D | spl.php | 174 * @param class_name name of class to load 183 * @param class_name name of class to load 185 function spl_autoload_call(string $class_name) {/**/}; argument 870 * @param class_name name of class to instantiate 873 function getFileInfo(string class_name = NULL) {/**/} argument 880 * @param class_name name of class to instantiate 883 function getPathInfo(string class_name = NULL) {/**/} argument 972 /** @param class_name name of class used with openFile(). Must be derived 975 function setFileClass(string class_name = "SplFileObject") {/**/} argument 977 /** @param class_name name of class used with getFileInfo(), getPathInfo(). [all …]
|
/PHP-7.1/ext/standard/ |
H A D | php_incomplete_class.h | 32 class_name = php_lookup_class_name(struc); \ 33 if (!class_name) { \ 34 class_name = zend_string_init(INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1, 0); \ 38 class_name = zend_string_copy(Z_OBJCE_P(struc)->name); \ 42 zend_string_release(class_name) 45 zend_string *class_name; \
|
H A D | incomplete_class.c | 39 zend_string *class_name; in incomplete_class_message() local 41 class_name = php_lookup_class_name(object); in incomplete_class_message() 43 if (class_name) { in incomplete_class_message() 44 php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, ZSTR_VAL(class_name)); in incomplete_class_message() 45 zend_string_release(class_name); in incomplete_class_message()
|
H A D | var.c | 58 const char *prop_name, *class_name; in php_object_property_dump() local 67 if (class_name[0] == '*') { in php_object_property_dump() 86 zend_string *class_name; in php_var_dump() local 156 zend_string_release(class_name); in php_var_dump() 230 const char *prop_name, *class_name; in zval_object_property_dump() local 238 if (class_name) { in zval_object_property_dump() 239 if (class_name[0] == '*') { in zval_object_property_dump() 256 zend_string *class_name; in php_debug_zval_dump() local 326 zend_string_release(class_name); in php_debug_zval_dump() 420 const char *class_name, *prop_name; in php_object_element_export() local [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_list.c | 117 const char *class_name = get_active_class_name(&space); in zend_fetch_resource2() local 118 …zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space,… in zend_fetch_resource2() 132 const char *class_name = get_active_class_name(&space); in zend_fetch_resource() local 141 const char *space, *class_name; in zend_fetch_resource_ex() local 144 class_name = get_active_class_name(&space); in zend_fetch_resource_ex() 145 …zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_… in zend_fetch_resource_ex() 151 class_name = get_active_class_name(&space); in zend_fetch_resource_ex() 162 const char *space, *class_name; in zend_fetch_resource2_ex() local 165 class_name = get_active_class_name(&space); in zend_fetch_resource2_ex() 166 …zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_… in zend_fetch_resource2_ex() [all …]
|
H A D | zend_interfaces.h | 52 #define REGISTER_MAGIC_INTERFACE(class_name, class_name_str) \ argument 55 INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \ 56 zend_ce_ ## class_name = zend_register_internal_interface(&ce);\ 57 zend_ce_ ## class_name->interface_gets_implemented = zend_implement_ ## class_name;\ 60 #define REGISTER_MAGIC_IMPLEMENT(class_name, interface_name) \ argument 61 zend_class_implements(zend_ce_ ## class_name, 1, zend_ce_ ## interface_name)
|
H A D | zend_inheritance.c | 186 if (ZEND_LOG_XOR(fe_arg_info->class_name, proto_arg_info->class_name)) { in zend_do_perform_type_hint_check() 193 const char *class_name; in zend_do_perform_type_hint_check() local 197 class_name = ((zend_internal_arg_info*)fe_arg_info)->class_name; in zend_do_perform_type_hint_check() 200 class_name = ZSTR_VAL(fe_arg_info->class_name); in zend_do_perform_type_hint_check() 209 fe_class_name = zend_string_init(class_name, strlen(class_name), 0); in zend_do_perform_type_hint_check() 214 class_name = ((zend_internal_arg_info*)proto_arg_info)->class_name; in zend_do_perform_type_hint_check() 217 class_name = ZSTR_VAL(proto_arg_info->class_name); in zend_do_perform_type_hint_check() 226 proto_class_name = zend_string_init(class_name, strlen(class_name), 0); in zend_do_perform_type_hint_check() 394 const char *class_name; in zend_append_type_hint() local 398 class_name = ((zend_internal_arg_info*)arg_info)->class_name; in zend_append_type_hint() [all …]
|
/PHP-7.1/tests/classes/ |
H A D | autoload_004.phpt | 11 function __autoload($class_name) 13 var_dump(class_exists($class_name)); 14 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 15 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
H A D | autoload_005.phpt | 11 function __autoload($class_name) 13 var_dump(class_exists($class_name, false)); 14 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 15 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
H A D | autoload_001.phpt | 11 function __autoload($class_name) 13 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 14 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
H A D | autoload_002.phpt | 11 function __autoload($class_name) 13 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 14 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
H A D | autoload_003.phpt | 11 function __autoload($class_name) 13 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 14 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
H A D | autoload_006.phpt | 11 function __autoload($class_name) 13 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 14 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
/PHP-7.1/ext/standard/tests/serialize/ |
H A D | 005.phpt | 10 function do_autoload($class_name) 12 if ($class_name != 'autoload_not_available') 14 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 16 echo __FUNCTION__ . "($class_name)\n"; 19 function unserializer($class_name) 21 echo __METHOD__ . "($class_name)\n"; 22 switch($class_name) 37 eval('function __autoload($class_name) { do_autoload($class_name); }'); 39 __autoload($class_name);
|
H A D | bug30234.phpt | 10 function __autoload($class_name) 12 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 13 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
/PHP-7.1/ext/standard/tests/class_object/ |
H A D | is_subclass_of_error_001.phpt | 5 /* Prototype : proto bool is_subclass_of(object object, string class_name) 17 $class_name = 'string_val'; 20 var_dump( is_subclass_of($object, $class_name, $allow_string, $extra_arg) ); 24 var_dump( is_subclass_of($object, $class_name, $class_name) ); 29 var_dump( is_subclass_of($object, $class_name, $object) );
|
H A D | is_a_error_001.phpt | 7 /* Prototype : proto bool is_a(object object, string class_name, bool allow_string) 18 $class_name = 'string_val'; 22 var_dump( is_a($object, $class_name, $allow_string, $object) ); 26 var_dump( is_a($object, $class_name, $object) );
|
H A D | interface_exists_variation4.phpt | 13 function __autoload($class_name) { 14 require_once $class_name . '.inc';
|
H A D | interface_exists_variation3.phpt | 13 function __autoload($class_name) { 14 require_once $class_name . '.inc';
|
H A D | get_declared_classes_variation1.phpt | 14 function __autoload($class_name) { 15 require_once $class_name . '.inc';
|
H A D | property_exists_variation1.phpt | 13 function __autoload($class_name) { 14 require_once $class_name . '.inc';
|
H A D | get_declared_interfaces_variation1.phpt | 14 function __autoload($class_name) { 15 require_once $class_name . '.inc';
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 74 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor() 89 if (bp->class_name) { in phpdbg_opline_breaks_dtor() 90 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor() 431 if (*class_name == '\\') { in phpdbg_set_breakpoint_method() 432 class_name++; in phpdbg_set_breakpoint_method() 450 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method() 493 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break() 552 brake->class_name ? brake->class_name : "", in phpdbg_resolve_op_array_breaks() 594 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break() 668 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline() [all …]
|