Lines Matching refs:class_name
156 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \ argument
157 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags)
229 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len… in spl_autoload() argument
295 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local
297 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|S!", &class_name, &file_exts) == FAILURE) { in PHP_FUNCTION()
313 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
321 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
417 static zend_class_entry *spl_perform_autoload(zend_string *class_name, zend_string *lc_name) { in spl_perform_autoload() argument
441 ZVAL_STR(¶m, class_name); in spl_perform_autoload()
447 if (ZSTR_HAS_CE_CACHE(class_name) && ZSTR_GET_CE_CACHE(class_name)) { in spl_perform_autoload()
448 return (zend_class_entry*)ZSTR_GET_CE_CACHE(class_name); in spl_perform_autoload()
464 zend_string *class_name; in PHP_FUNCTION() local
466 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &class_name) == FAILURE) { in PHP_FUNCTION()
470 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
471 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION()