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

/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h46 PHP_FUNCTION(constant); variable
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y237 %type <ast> variable_class_name dereferencable_scalar class_name_scalar constant dereferencable
977 | constant { $$ = $1; }
980 constant: label
1023 | constant '[' dim_offset ']'
H A Dzend_compile.h59 uint32_t constant; member in union:_znode_op
73 zval constant; /* replaced by literal/zv */ member in union:_znode::__anon1
728 /* disable constant substitution at compile-time */
H A Dzend_API.c3774 zval constant; local
3776 ZVAL_NULL(&constant);
3777 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3783 zval constant; local
3785 ZVAL_LONG(&constant, value);
3786 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3792 zval constant; local
3794 ZVAL_BOOL(&constant, value);
3795 return zend_declare_class_constant(ce, name, name_length, &constant TSRMLS_CC);
3801 zval constant; local
3810 zval constant; local
[all...]
H A Dzend_builtin_functions.c700 Define a new constant */
726 /* class constant, check if there is name and make sure class is valid & exists */
780 Check whether a constant exists
2008 zend_constant *constant = (zend_constant*)Z_PTR_P(item); local
2011 if (!constant->name) {
2016 ZVAL_DUP(&const_val, &constant->value);
2017 zend_hash_add_new(Z_ARRVAL_P(name_array), constant->name, &const_val);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1008 zend_constant *constant = (zend_constant*)Z_PTR_P(el); local
1014 if (constant->module_number == module->module_number) {
1015 _const_string(str, constant->name->val, &constant->value, indent TSRMLS_CC);
2587 Returns whether the default value of this parameter is constant */
2612 Returns the default value's constant name if default value is constant or null */
3963 Returns whether a constant exists or not */
4002 Returns the class' constant specified by its name */
5243 zend_constant *constant local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c82 int constant,
92 if (Z_TYPE(op_array->literals[constant]) == IS_STRING &&
94 LITERAL_INFO_OBJ(constant, kind, 1, slots, related, op_array->this_var);
96 LITERAL_INFO(constant, kind, 0, slots, related);
103 int constant,
110 LITERAL_INFO_CLASS(constant, kind, 1, slots, related, op.constant);
112 LITERAL_INFO(constant, kind, 0, slots, related);
138 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 1);
142 LITERAL_INFO(opline->op2.constant, LITERAL_FUN
79 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
100 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...]

Completed in 29 milliseconds