Lines Matching refs:class_name
160 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \ argument
161 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags)
233 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len… in spl_autoload() argument
299 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local
301 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|S!", &class_name, &file_exts) == FAILURE) { in PHP_FUNCTION()
317 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
325 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
421 static zend_class_entry *spl_perform_autoload(zend_string *class_name, zend_string *lc_name) { in spl_perform_autoload() argument
445 ZVAL_STR(¶m, class_name); in spl_perform_autoload()
451 if (ZSTR_HAS_CE_CACHE(class_name) && ZSTR_GET_CE_CACHE(class_name)) { in spl_perform_autoload()
452 return (zend_class_entry*)ZSTR_GET_CE_CACHE(class_name); in spl_perform_autoload()
468 zend_string *class_name; in PHP_FUNCTION() local
470 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &class_name) == FAILURE) { in PHP_FUNCTION()
474 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
475 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION()