Lines Matching refs:class_name
182 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \ argument
183 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags TSRMLS_CC)
253 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const cha… in spl_autoload() argument
318 char *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); in PHP_FUNCTION() local
325 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &class_name, &class_name_len, &file_ex… in PHP_FUNCTION()
334 lc_name = zend_str_tolower_dup(class_name, class_name_len); in PHP_FUNCTION()
341 if (spl_autoload(class_name, lc_name, class_name_len, pos1 TSRMLS_CC)) { in PHP_FUNCTION()
362 …throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "Class %s could not be loaded", class_name); in PHP_FUNCTION()
364 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Class %s could not be loaded", class_name); in PHP_FUNCTION()
415 zval *class_name, *retval = NULL; in PHP_FUNCTION() local
423 …end_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &class_name) == FAILURE || Z_TYPE_P(class_nam… in PHP_FUNCTION()
430 class_name_len = Z_STRLEN_P(class_name); in PHP_FUNCTION()
431 lc_name = zend_str_tolower_dup(Z_STRVAL_P(class_name), class_name_len); in PHP_FUNCTION()
436 …NULL, alfi->ce, &alfi->func_ptr, func_name, func_name_len, &retval, 1, class_name, NULL TSRMLS_CC); in PHP_FUNCTION()
452 zend_call_method_with_1_params(NULL, NULL, NULL, "spl_autoload", NULL, class_name); in PHP_FUNCTION()
891 ZEND_ARG_INFO(0, class_name)
900 ZEND_ARG_INFO(0, class_name)