Home
last modified time | relevance | path

Searched refs:const_name (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/pdo/
H A Dphp_pdo.h53 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument
54 …zend_declare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_lon…
/php-src/Zend/tests/
H A Ddynamic_class_const_fetch.phpt32 foreach ($const_names as [$prolog, $const_name]) {
33 test("$prolog return Foo::{{$const_name}};");
34 test("\$foo = 'Foo'; $prolog return \$foo::{{$const_name}};");
/php-src/ext/com_dotnet/
H A Dcom_typeinfo.c200 zend_string *const_name; in php_com_import_typelib() local
211 const_name = php_com_olestring_to_string(bstr_ids, codepage); in php_com_import_typelib()
216 if ((exists = zend_get_constant(const_name)) != NULL) { in php_com_import_typelib()
218 …error_docref(NULL, E_WARNING, "Type library constant %s is already defined", ZSTR_VAL(const_name)); in php_com_import_typelib()
220 zend_string_release_ex(const_name, /* persistent */ false); in php_com_import_typelib()
231 c.name = zend_string_dup(const_name, /* persistent */ true); in php_com_import_typelib()
232 zend_string_release_ex(const_name, /* persistent */ false); in php_com_import_typelib()
234 c.name = const_name; in php_com_import_typelib()
/php-src/Zend/
H A Dzend_inheritance.c57 const zend_class_constant *parent_const, const zend_string *const_name);
1576 …nst zend_class_constant *child, const zend_class_constant *parent, const zend_string *const_name) { in emit_incompatible_class_constant_error() argument
1581 ZSTR_VAL(const_name), in emit_incompatible_class_constant_error()
1583 ZSTR_VAL(const_name), in emit_incompatible_class_constant_error()
3070 const zend_string *const_name; member
3156 const zend_class_constant *parent_const, const zend_string *const_name) { in add_class_constant_compatibility_obligation() argument
3160 obligation->const_name = const_name; in add_class_constant_compatibility_obligation()
3205 …le_class_constant_error(obligation->child_const, obligation->parent_const, obligation->const_name); in check_variance_obligation()
H A Dzend_compile.h1004 void zend_assert_valid_class_name(const zend_string *const_name, const char *type);
H A Dzend_ast.c882 zend_string *const_name = Z_STR(op2); in zend_ast_evaluate_inner() local
892 zval *zv = zend_get_class_constant_ex(class_name, const_name, scope, ast->attr); in zend_ast_evaluate_inner()
H A Dzend_compile.c9526 const char const_name[] = "__COMPILER_HALT_OFFSET__"; in zend_compile_halt_compiler() local
9534 name = zend_mangle_property_name(const_name, sizeof(const_name) - 1, in zend_compile_halt_compiler()
/php-src/ext/standard/
H A Dbasic_functions.c517 zend_string *const_name; in PHP_FUNCTION() local
522 Z_PARAM_STR(const_name) in PHP_FUNCTION()
526 c = zend_get_constant_ex(const_name, scope, ZEND_FETCH_CLASS_EXCEPTION); in PHP_FUNCTION()
/php-src/ext/reflection/
H A Dphp_reflection.c2950 zend_string *const_name = zend_ast_get_str(ast->child[1]); in ZEND_METHOD() local
2954 ZSTR_VAL(const_name), ZSTR_LEN(const_name))); in ZEND_METHOD()

Completed in 86 milliseconds