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.y241 %type <ast> variable_class_name dereferencable_scalar class_name_scalar constant dereferencable
1013 | constant { $$ = $1; }
1016 constant: label
1060 | constant '[' optional_expr ']'
H A Dzend_compile.h83 uint32_t constant; member in union:_znode_op
102 zval constant; /* replaced by literal/zv */ member in union:_znode::__anon7
527 /* constant-time constant */
532 CT_CONSTANT_EX(CG(active_op_array), (node).constant)
536 /* run-time constant */
540 /* convert constant from compile-time to run-time */
542 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \
545 /* convert constant back from run-time to compile-time */
547 (node).constant
[all...]
H A Dzend_execute.c642 zval constant; local
644 ZVAL_COPY_VALUE(&constant, default_value);
645 zval_update_constant(&constant, 0);
646 if (Z_TYPE(constant) == IS_NULL) {
649 zval_dtor(&constant);
H A Dzend_API.c3756 zval constant; local
3758 ZVAL_NULL(&constant);
3759 return zend_declare_class_constant(ce, name, name_length, &constant);
3765 zval constant; local
3767 ZVAL_LONG(&constant, value);
3768 return zend_declare_class_constant(ce, name, name_length, &constant);
3774 zval constant; local
3776 ZVAL_BOOL(&constant, value);
3777 return zend_declare_class_constant(ce, name, name_length, &constant);
3783 zval constant; local
3792 zval constant; local
[all...]
H A Dzend_builtin_functions.c758 /* constant arrays can't contain references */
777 Define a new constant */
803 /* class constant, check if there is name and make sure class is valid & exists */
867 Check whether a constant exists
2081 zend_constant *constant = (zend_constant*)Z_PTR_P(item); local
2084 if (!constant->name) {
2089 ZVAL_DUP(&const_val, &constant->value);
2090 zend_hash_add_new(Z_ARRVAL_P(name_array), constant->name, &const_val);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c994 zend_constant *constant = (zend_constant*)Z_PTR_P(el); local
1000 if (constant->module_number == module->module_number) {
1001 _const_string(str, constant->name->val, &constant->value, indent);
2630 Returns whether the default value of this parameter is constant */
2655 Returns the default value's constant name if default value is constant or null */
4008 Returns whether a constant exists or not */
4047 Returns the class' constant specified by its name */
5290 zend_constant *constant local
[all...]

Completed in 36 milliseconds