Searched defs:constant (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c83 int constant,
93 if (Z_TYPE(op_array->literals[constant]) == IS_STRING &&
95 LITERAL_INFO_OBJ(constant, kind, 1, slots, related, op_array->this_var);
97 LITERAL_INFO(constant, kind, 0, slots, related);
104 int constant,
111 LITERAL_INFO_CLASS(constant, kind, 1, slots, related, op.constant);
113 LITERAL_INFO(constant, kind, 0, slots, related);
139 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 1);
142 LITERAL_INFO(opline->op2.constant, LITERAL_FUN
80 optimizer_literal_obj_info(literal_info *info, zend_uchar op_type, znode_op op, int constant, uint32_t kind, uint32_t slots, uint32_t related, zend_op_array *op_array) argument
101 optimizer_literal_class_info(literal_info *info, zend_uchar op_type, znode_op op, int constant, uint32_t kind, uint32_t slots, uint32_t related, zend_op_array *op_array) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h50 PHP_FUNCTION(constant); variable
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y246 %type <ast> variable_class_name dereferencable_scalar class_name_scalar constant dereferencable
1019 | constant { $$ = $1; }
1022 constant: label
1066 | constant '[' optional_expr ']'
H A Dzend_execute.c630 zval constant; local
632 ZVAL_COPY_VALUE(&constant, default_value);
633 if (UNEXPECTED(zval_update_constant_ex(&constant, 0, NULL) != SUCCESS)) {
636 if (Z_TYPE(constant) == IS_NULL) {
639 zval_dtor(&constant);
H A Dzend_API.c3776 zval constant; local
3778 ZVAL_NULL(&constant);
3779 return zend_declare_class_constant(ce, name, name_length, &constant);
3785 zval constant; local
3787 ZVAL_LONG(&constant, value);
3788 return zend_declare_class_constant(ce, name, name_length, &constant);
3794 zval constant; local
3796 ZVAL_BOOL(&constant, value);
3797 return zend_declare_class_constant(ce, name, name_length, &constant);
3803 zval constant; local
3812 zval constant; local
[all...]
H A Dzend_builtin_functions.c759 /* constant arrays can't contain references */
778 Define a new constant */
804 /* class constant, check if there is name and make sure class is valid & exists */
868 Check whether a constant exists
2095 zend_constant *constant = (zend_constant*)Z_PTR_P(item); local
2098 if (!constant->name) {
2103 ZVAL_DUP(&const_val, &constant->value);
2104 zend_hash_add_new(Z_ARRVAL_P(name_array), constant->name, &const_val);
H A Dzend_compile.h72 uint32_t constant; member in union:_znode_op
91 zval constant; /* replaced by literal/zv */ member in union:_znode::__anon1
560 /* constant-time constant */
565 CT_CONSTANT_EX(CG(active_op_array), (node).constant)
569 /* run-time constant */
573 /* convert constant from compile-time to run-time */
575 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \
578 /* convert constant back from run-time to compile-time */
580 (node).constant
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c992 zend_constant *constant = (zend_constant*)Z_PTR_P(el); local
998 if (constant->module_number == module->module_number) {
999 _const_string(str, constant->name->val, &constant->value, indent);
2633 Returns whether the default value of this parameter is constant */
2658 Returns the default value's constant name if default value is constant or null */
4022 Returns whether a constant exists or not */
4066 Returns the class' constant specified by its name */
5324 zend_constant *constant local
[all...]

Completed in 33 milliseconds