Searched refs:const_name (Results 1 – 9 of 9) sorted by relevance
/PHP-8.3/ext/pdo/ |
H A D | php_pdo.h | 50 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument 51 …zend_declare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_lon… 53 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \ argument 54 …zend_declare_class_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value,…
|
/PHP-8.3/Zend/tests/ |
H A D | dynamic_class_const_fetch.phpt | 32 foreach ($const_names as [$prolog, $const_name]) { 33 test("$prolog return Foo::{{$const_name}};"); 34 test("\$foo = 'Foo'; $prolog return \$foo::{{$const_name}};");
|
/PHP-8.3/ext/com_dotnet/ |
H A D | com_typeinfo.c | 200 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-8.3/Zend/ |
H A D | zend_inheritance.c | 56 const zend_class_constant *parent_const, const zend_string *const_name); 1385 …nst zend_class_constant *child, const zend_class_constant *parent, const zend_string *const_name) { in emit_incompatible_class_constant_error() argument 1390 ZSTR_VAL(const_name), in emit_incompatible_class_constant_error() 1392 ZSTR_VAL(const_name), in emit_incompatible_class_constant_error() 2687 const zend_string *const_name; member 2768 const zend_class_constant *parent_const, const zend_string *const_name) { in add_class_constant_compatibility_obligation() argument 2772 obligation->const_name = const_name; in add_class_constant_compatibility_obligation() 2812 …le_class_constant_error(obligation->child_const, obligation->parent_const, obligation->const_name); in check_variance_obligation()
|
H A D | zend_compile.h | 928 void zend_assert_valid_class_name(const zend_string *const_name);
|
H A D | zend_ast.c | 845 zend_string *const_name = Z_STR(op2); in zend_ast_evaluate_inner() local 855 zval *zv = zend_get_class_constant_ex(class_name, const_name, scope, ast->attr); in zend_ast_evaluate_inner()
|
H A D | zend_compile.c | 8579 const char const_name[] = "__COMPILER_HALT_OFFSET__"; in zend_compile_halt_compiler() local 8587 name = zend_mangle_property_name(const_name, sizeof(const_name) - 1, in zend_compile_halt_compiler()
|
/PHP-8.3/ext/standard/ |
H A D | basic_functions.c | 509 zend_string *const_name; in PHP_FUNCTION() local 514 Z_PARAM_STR(const_name) in PHP_FUNCTION() 518 c = zend_get_constant_ex(const_name, scope, ZEND_FETCH_CLASS_EXCEPTION); in PHP_FUNCTION()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 2965 zend_string *const_name = zend_ast_get_str(ast->child[1]); in ZEND_METHOD() local 2969 ZSTR_VAL(const_name), ZSTR_LEN(const_name))); in ZEND_METHOD()
|
Completed in 128 milliseconds