Searched defs:constant (Results 1 - 7 of 7) 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);
143 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/Zend/
H A Dzend_language_parser.y243 %type <ast> variable_class_name dereferencable_scalar class_name_scalar constant dereferencable
961 | constant { $$ = $1; }
964 constant: label
1008 | constant '[' optional_expr ']'
H A Dzend_API.c3742 zval constant; local
3744 ZVAL_NULL(&constant);
3745 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3751 zval constant; local
3753 ZVAL_LONG(&constant, value);
3754 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3760 zval constant; local
3762 ZVAL_BOOL(&constant, value);
3763 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3769 zval constant; local
3778 zval constant; local
[all...]
H A Dzend_builtin_functions.c692 Define a new constant */
718 /* class constant, check if there is name and make sure class is valid & exists */
771 Check whether a constant exists
1955 zend_constant *constant = (zend_constant*)Z_PTR_P(item); local
1958 if (!constant->name) {
1963 ZVAL_DUP(&const_val, &constant->value);
1964 zend_hash_add_new(Z_ARRVAL_P(name_array), constant->name, &const_val);
H A Dzend_compile.h59 uint32_t constant; member in union:_znode_op
71 zval constant; /* replaced by literal/zv */ member in union:_znode::__anon1
733 /* disable constant substitution at compile-time */
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h50 PHP_FUNCTION(constant); variable
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1011 zend_constant *constant = (zend_constant*)Z_PTR_P(el); local
1017 if (constant->module_number == module->module_number) {
1018 _const_string(str, constant->name->val, &constant->value, indent TSRMLS_CC);
2591 Returns whether the default value of this parameter is constant */
2616 Returns the default value's constant name if default value is constant or null */
3969 Returns whether a constant exists or not */
4008 Returns the class' constant specified by its name */
5253 zend_constant *constant local
[all...]

Completed in 29 milliseconds