/PHP-7.3/ext/spl/ |
H A D | spl_functions.h | 26 #define REGISTER_SPL_STD_CLASS(class_name, obj_ctor) \ argument 27 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, NULL); 30 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, funcs); 33 …spl_register_sub_class(&spl_ce_ ## class_name, spl_ce_ ## parent_class_name, # class_name, obj_cto… 35 #define REGISTER_SPL_INTERFACE(class_name) \ argument 36 spl_register_interface(&spl_ce_ ## class_name, # class_name, spl_funcs_ ## class_name); 38 #define REGISTER_SPL_IMPLEMENTS(class_name, interface_name) \ argument 41 #define REGISTER_SPL_ITERATOR(class_name) \ argument 69 #define SPL_ME(class_name, function_name, arg_info, flags) \ argument 75 #define SPL_METHOD(class_name, function_name) \ argument [all …]
|
H A D | spl_functions.c | 29 void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry … in spl_register_interface() argument 33 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); in spl_register_interface() 39 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, co… in spl_register_std_class() argument 43 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_std_class() 54 …b_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor,… in spl_register_sub_class() argument 58 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.3/ext/standard/ |
H A D | php_incomplete_class.h | 30 class_name = php_lookup_class_name(struc); \ 31 if (!class_name) { \ 32 class_name = zend_string_init(INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1, 0); \ 36 class_name = zend_string_copy(Z_OBJCE_P(struc)->name); \ 40 zend_string_release_ex(class_name, 0) 43 zend_string *class_name; \
|
H A D | incomplete_class.c | 37 zend_string *class_name; in incomplete_class_message() local 39 class_name = php_lookup_class_name(object); in incomplete_class_message() 41 if (class_name) { in incomplete_class_message() 42 php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, ZSTR_VAL(class_name)); in incomplete_class_message() 43 zend_string_release_ex(class_name, 0); in incomplete_class_message()
|
H A D | var.c | 56 const char *prop_name, *class_name; in php_object_property_dump() local 64 if (class_name && unmangle == SUCCESS) { in php_object_property_dump() 65 if (class_name[0] == '*') { in php_object_property_dump() 84 zend_string *class_name; in php_var_dump() local 156 zend_string_release_ex(class_name, 0); 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 427 const char *class_name, *prop_name; in php_object_element_export() local [all …]
|
/PHP-7.3/tests/classes/ |
H A D | autoload_004.phpt | 10 spl_autoload_register(function ($class_name) { 11 var_dump(class_exists($class_name)); 12 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 13 echo 'autoload(' . $class_name . ")\n";
|
H A D | autoload_005.phpt | 10 spl_autoload_register(function ($class_name) { 11 var_dump(class_exists($class_name, false)); 12 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 13 echo 'autoload(' . $class_name . ")\n";
|
H A D | autoload_001.phpt | 10 spl_autoload_register(function ($class_name) { 11 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 12 echo 'autoload(' . $class_name . ")\n";
|
H A D | autoload_002.phpt | 10 spl_autoload_register(function ($class_name) { 11 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 12 echo 'autoload(' . $class_name . ")\n";
|
H A D | autoload_003.phpt | 10 spl_autoload_register(function ($class_name) { 11 require_once(dirname(__FILE__) . '/' . $class_name . '.p5c'); 12 echo 'autoload(' . $class_name . ")\n";
|
H A D | autoload_006.phpt | 10 spl_autoload_register(function ($class_name) { 11 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 12 echo 'autoload(' . $class_name . ")\n";
|
/PHP-7.3/Zend/ |
H A D | zend_list.c | 115 const char *class_name = get_active_class_name(&space); in zend_fetch_resource2() local 116 …zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space,… in zend_fetch_resource2() 130 const char *class_name = get_active_class_name(&space); in zend_fetch_resource() local 139 const char *space, *class_name; in zend_fetch_resource_ex() local 142 class_name = get_active_class_name(&space); in zend_fetch_resource_ex() 143 …zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_… in zend_fetch_resource_ex() 149 class_name = get_active_class_name(&space); in zend_fetch_resource_ex() 160 const char *space, *class_name; in zend_fetch_resource2_ex() local 163 class_name = get_active_class_name(&space); in zend_fetch_resource2_ex() 164 …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 | 51 #define REGISTER_MAGIC_INTERFACE(class_name, class_name_str) \ argument 54 INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \ 55 zend_ce_ ## class_name = zend_register_internal_interface(&ce);\ 56 zend_ce_ ## class_name->interface_gets_implemented = zend_implement_ ## class_name;\ 59 #define REGISTER_MAGIC_IMPLEMENT(class_name, interface_name) \ argument 60 zend_class_implements(zend_ce_ ## class_name, 1, zend_ce_ ## interface_name)
|
/PHP-7.3/ext/standard/tests/serialize/ |
H A D | 005.phpt | 8 function do_autoload($class_name) 10 if ($class_name != 'autoload_not_available') 12 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 14 echo __FUNCTION__ . "($class_name)\n"; 17 function unserializer($class_name) 19 echo __METHOD__ . "($class_name)\n"; 20 switch($class_name) 34 spl_autoload_register(function ($class_name) { do_autoload($class_name); }); 36 spl_autoload_call($class_name);
|
H A D | bug30234.phpt | 10 spl_autoload_register(function ($class_name) { 11 require_once(dirname(__FILE__) . '/' . strtolower($class_name) . '.p5c'); 12 echo __FUNCTION__ . '(' . $class_name . ")\n";
|
/PHP-7.3/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 | interface_exists_variation4.phpt | 13 spl_autoload_register(function ($class_name) { 14 require_once $class_name . '.inc';
|
H A D | is_a_error_001.phpt | 5 /* Prototype : proto bool is_a(object object, string class_name, bool allow_string) 16 $class_name = 'string_val'; 20 var_dump( is_a($object, $class_name, $allow_string, $object) ); 24 var_dump( is_a($object, $class_name, $object) );
|
H A D | interface_exists_variation3.phpt | 13 spl_autoload_register(function ($class_name) { 14 require_once $class_name . '.inc';
|
H A D | get_declared_classes_variation1.phpt | 14 spl_autoload_register(function ($class_name) { 15 require_once $class_name . '.inc';
|
H A D | property_exists_variation1.phpt | 13 spl_autoload_register(function ($class_name) { 14 require_once $class_name . '.inc';
|
H A D | get_declared_interfaces_variation1.phpt | 14 spl_autoload_register(function ($class_name) { 15 require_once $class_name . '.inc';
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 75 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor() 90 if (bp->class_name) { in phpdbg_opline_breaks_dtor() 91 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor() 445 if (*class_name == '\\') { in phpdbg_set_breakpoint_method() 446 class_name++; in phpdbg_set_breakpoint_method() 464 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method() 507 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break() 566 brake->class_name ? brake->class_name : "", in phpdbg_resolve_op_array_breaks() 608 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break() 682 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline() [all …]
|
H A D | phpdbg_bp.h | 73 phpdbg_breakbase(class_name); 85 const char *class_name; member 130 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name);
|