Lines Matching refs:class_name
159 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \ argument
160 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags)
232 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len… in spl_autoload() argument
298 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local
300 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|S!", &class_name, &file_exts) == FAILURE) { in PHP_FUNCTION()
316 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
324 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
420 static zend_class_entry *spl_perform_autoload(zend_string *class_name, zend_string *lc_name) { in spl_perform_autoload() argument
444 ZVAL_STR(¶m, class_name); in spl_perform_autoload()
450 if (ZSTR_HAS_CE_CACHE(class_name) && ZSTR_GET_CE_CACHE(class_name)) { in spl_perform_autoload()
451 return (zend_class_entry*)ZSTR_GET_CE_CACHE(class_name); in spl_perform_autoload()
467 zend_string *class_name; in PHP_FUNCTION() local
469 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &class_name) == FAILURE) { in PHP_FUNCTION()
473 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
474 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION()