/PHP-5.6/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 TSRMLS_CC); 32 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, funcs TSRMLS_CC); 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 TSRMLS_CC); 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-5.6/ext/standard/ |
H A D | php_incomplete_class.h | 33 class_name = php_lookup_class_name(struc, &name_len); \ 34 if (!class_name) { \ 36 class_name = estrndup(INCOMPLETE_CLASS, name_len); \ 41 …free_class_name = !zend_get_object_classname(struc, (const char **)&class_name, &name_len TSRMLS_C… 45 if (free_class_name) efree(class_name) 48 char *class_name; \
|
H A D | incomplete_class.c | 39 char *class_name; in incomplete_class_message() local 42 class_name = php_lookup_class_name(object, NULL); in incomplete_class_message() 44 if (!class_name) { in incomplete_class_message() 46 class_name = "unknown"; in incomplete_class_message() 49 php_error_docref(NULL TSRMLS_CC, error_type, INCOMPLETE_CLASS_MSG, class_name); in incomplete_class_message() 52 efree(class_name); in incomplete_class_message()
|
H A D | var.c | 59 const char *prop_name, *class_name; in php_object_property_dump() local 70 if (class_name[0] == '*') { in php_object_property_dump() 90 const char *class_name; in php_var_dump() local 139 efree((char*)class_name); in php_var_dump() 226 if (class_name) { in zval_object_property_dump() 227 if (class_name[0] == '*') { in zval_object_property_dump() 245 const char *class_name; in php_debug_zval_dump() local 289 efree((char*)class_name); in php_debug_zval_dump() 397 &class_name, &pname); in php_object_element_export() 421 const char *class_name; in php_var_export_ex() local [all …]
|
/PHP-5.6/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-5.6/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-5.6/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_interfaces_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_classes_variation1.phpt | 14 function __autoload($class_name) { 15 require_once $class_name . '.inc';
|
/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 72 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor() 85 if (bp->class_name) { in phpdbg_opline_breaks_dtor() 86 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor() 309 class_name, class_len, in phpdbg_set_breakpoint_method() 319 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method() 365 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break() 428 brake->class_name?brake->class_name:"", in phpdbg_resolve_op_array_breaks() 530 new_break.class_name, in phpdbg_set_breakpoint_method_opline() 568 new_break.class_name = NULL; in phpdbg_set_breakpoint_function_opline() 638 new_break.class_name, in phpdbg_set_breakpoint_file_opline() [all …]
|
H A D | phpdbg_bp.h | 59 phpdbg_breakbase(class_name); 71 const char *class_name; member 114 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name TSRMLS_D…
|
/PHP-5.6/Zend/ |
H A D | zend_list.c | 117 const char *class_name; in zend_fetch_resource() local 122 class_name = get_active_class_name(&space TSRMLS_CC); in zend_fetch_resource() 123 …zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_… in zend_fetch_resource() 128 class_name = get_active_class_name(&space TSRMLS_CC); in zend_fetch_resource() 129 …zend_error(E_WARNING, "%s%s%s(): supplied argument is not a valid %s resource", class_name, space,… in zend_fetch_resource() 141 class_name = get_active_class_name(&space TSRMLS_CC); in zend_fetch_resource() 142 …zend_error(E_WARNING, "%s%s%s(): %d is not a valid %s resource", class_name, space, get_active_fun… in zend_fetch_resource() 160 class_name = get_active_class_name(&space TSRMLS_CC); in zend_fetch_resource() 161 …zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space,… in zend_fetch_resource()
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd_bt.c | 126 char *class_name; in mysqlnd_build_trace_args() local 132 dupl = zend_get_object_classname(*arg, (const char **)&class_name, &class_name_len TSRMLS_CC); in mysqlnd_build_trace_args() 134 TRACE_APPEND_STRL(class_name, class_name_len); in mysqlnd_build_trace_args() 136 efree(class_name); in mysqlnd_build_trace_args()
|