| /PHP_5_4/ext/bcmath/libbcmath/ |
| H A D | configure | 1266 of an if-expression whose if-part is not a constant expression */
|
| /PHP_5_4/ext/phar/phar/ |
| H A D | pharcommand.inc | 414 * @return Hash constant to be used.
|
| /PHP_5_4/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 254 ** SQLite may choose a larger value. This constant is the maximum value 561 ** or constant definition does not appear in this file, then it is 642 ** be held constant and Z will be incremented or else Y will be incremented 679 ** ^The sqlite3_version[] string constant contains the text of [SQLITE_VERSION] 681 ** to the sqlite3_version[] string constant. The sqlite3_libversion() 686 ** a pointer to a string constant whose value is the same as the 1524 ** The SQLITE_ACCESS_READWRITE constant is currently used only by the 1528 ** checks whether the file is readable. The SQLITE_ACCESS_READ constant is 3898 ** Note that the SQLITE_TEXT constant was also used in SQLite version 2 4263 ** These constant defin [all...] |
| /PHP_5_4/ext/mysqli/tests/ |
| H A D | reflection_tools.inc | 55 foreach ($constant as $name => $value)
|
| /PHP_5_4/Zend/ |
| H A D | zend_constants.c | 383 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name, constant_name); 393 /* non-class constant */ 395 /* compound constant name */ 403 /* Check for namespace constant */ 405 /* Concatenate lowercase namespace name and constant name */ 455 if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, key->hash_value, (void **) &c) == FAILURE) { 457 if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1, key->hash_value, (void **) &c) == FAILURE || 461 if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLE [all...] |
| H A D | zend_language_parser.y | 526 | T_ARRAY { $$.op_type = IS_CONST; Z_TYPE($$.u.constant)=IS_ARRAY; } 527 | T_CALLABLE { $$.op_type = IS_CONST; Z_TYPE($$.u.constant)=IS_CALLABLE; } 534 | /* empty */ { Z_LVAL($$.u.constant) = 0; } 539 expr_without_variable { Z_LVAL($$.u.constant) = 1; zend_do_pass_param(&$1, ZEND_SEND_VAL, Z_LVAL($$.u.constant) TSRMLS_CC); } 540 | variable { Z_LVAL($$.u.constant) = 1; zend_do_pass_param(&$1, ZEND_SEND_VAR, Z_LVAL($$.u.constant) TSRMLS_CC); } 541 | '&' w_variable { Z_LVAL($$.u.constant) = 1; zend_do_pass_param(&$2, ZEND_SEND_REF, Z_LVAL($$.u.constant) TSRMLS_CC); } 542 | non_empty_function_call_parameter_list ',' expr_without_variable { Z_LVAL($$.u.constant) [all...] |
| H A D | zend_API.c | 3552 zval *constant; local 3555 ALLOC_PERMANENT_ZVAL(constant); 3557 ALLOC_ZVAL(constant); 3559 ZVAL_NULL(constant); 3560 INIT_PZVAL(constant); 3561 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); 3567 zval *constant; local 3570 ALLOC_PERMANENT_ZVAL(constant); 3572 ALLOC_ZVAL(constant); 3574 ZVAL_LONG(constant, valu 3582 zval *constant; local 3597 zval *constant; local 3612 zval *constant; local [all...] |
| H A D | zend_builtin_functions.c | 647 Define a new constant */ 666 /* class constant, check if there is name and make sure class is valid & exists */ 725 Check whether a constant exists */ 1924 static int add_constant_info(zend_constant *constant, void *arg TSRMLS_DC) argument 1930 *const_val = constant->value; 1933 add_assoc_zval_ex(name_array, constant->name, constant->name_len, const_val);
|
| H A D | zend_compile.c | 34 (op_array)->literals[op].constant 42 target.constant = zend_add_literal(CG(active_op_array), &(src)->u.constant TSRMLS_CC); \ 51 (target)->u.constant = CONSTANT(src.constant); \ 384 &op_array->literals[op_array->last_literal - 1].constant == zv && 411 &op_array->literals[op_array->last_literal - 1].constant == zv && 444 &op_array->literals[op_array->last_literal - 1].constant == zv && 478 &op_array->literals[op_array->last_literal - 1].constant == zv && 502 /* lowercased namespace name & original constant nam [all...] |
| H A D | zend_compile.h | 35 #define FREE_PNODE(znode) zval_dtor(&znode->u.constant); 66 zval constant; member in struct:_zend_literal 75 zend_uint constant; member in union:_znode_op 90 zval constant; /* replaced by literal/zv */ member in union:_znode::__anon1 847 /* disable constant substitution at compile-time */
|
| H A D | zend_execute_API.c | 502 zend_error(E_ERROR, "Cannot declare self-referencing constant '%s'", Z_STRVAL_P(p)); 519 zend_error(E_ERROR, "Undefined class constant '%s'", Z_STRVAL_P(p)); 555 zend_error(E_ERROR, "Undefined constant '%s'", save); 567 zend_error(E_NOTICE, "Use of undefined constant %s - assumed '%s'", actual, actual); 605 /* First go over the array and see if there are any constant indices */ 621 zend_error(E_ERROR, "Undefined class constant '%s'", str_index); 640 zend_error(E_ERROR, "Undefined constant '%s'", save); 642 zend_error(E_NOTICE, "Use of undefined constant %s - assumed '%s'", str_index, str_index); 1049 lc_name = Z_STRVAL(key->constant); 1050 lc_length = Z_STRLEN(key->constant) [all...] |
| H A D | zend_vm_def.h | 2476 } else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &EX(fbc))==FAILURE) { 2478 if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &EX(fbc))==FAILURE)) { 3469 /* non-qualified constant - allow text substitution */ 3470 zend_error(E_NOTICE, "Use of undefined constant %s - assumed '%s'", actual, actual); 3475 zend_error_noreturn(E_ERROR, "Undefined constant '%s'", Z_STRVAL_P(opline->op2.zv)); 3486 /* class constant */ 3534 zend_error_noreturn(E_ERROR, "Undefined class constant '%s'", Z_STRVAL_P(opline->op2.zv));
|
| H A D | zend_vm_execute.h | 1334 } else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &EX(fbc))==FAILURE) { 1336 if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &EX(fbc))==FAILURE)) { 3559 /* non-qualified constant - allow text substitution */ 3560 zend_error(E_NOTICE, "Use of undefined constant %s - assumed '%s'", actual, actual); 3565 zend_error_noreturn(E_ERROR, "Undefined constant '%s'", Z_STRVAL_P(opline->op2.zv)); 3576 /* class constant */ 3624 zend_error_noreturn(E_ERROR, "Undefined class constant '%s'", Z_STRVAL_P(opline->op2.zv)); 13632 /* non-qualified constant [all...] |
| H A D | zend_language_scanner.c | 562 retval_znode.u.constant.type = IS_LONG; 563 retval_znode.u.constant.value.lval = 1; 564 Z_UNSET_ISREF(retval_znode.u.constant); 565 Z_SET_REFCOUNT(retval_znode.u.constant, 1); 4510 /* We create a special __CLASS__ constant that is going to be resolved
|
| H A D | zend_language_scanner.l | 560 retval_znode.u.constant.type = IS_LONG; 561 retval_znode.u.constant.value.lval = 1; 562 Z_UNSET_ISREF(retval_znode.u.constant); 563 Z_SET_REFCOUNT(retval_znode.u.constant, 1); 1584 /* We create a special __CLASS__ constant that is going to be resolved
|
| H A D | zend_object_handlers.c | 1012 lc_method_name = Z_STRVAL(key->constant); 1155 lc_function_name = Z_STRVAL(key->constant);
|
| H A D | zend_opcode.c | 378 zval_dtor(&literal->constant); 514 opline->op1.zv = &op_array->literals[opline->op1.constant].constant; 517 opline->op2.zv = &op_array->literals[opline->op2.constant].constant;
|
| /PHP_5_4/ext/standard/ |
| H A D | basic_functions.c | 2683 PHP_FE(constant, arginfo_constant) 3797 /* {{{ proto mixed constant(string const_name) 3798 Given the name of a constant this function will return the constant's associated value */ 3799 PHP_FUNCTION(constant) 3809 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't find constant %s", const_name);
|
| H A D | basic_functions.h | 46 PHP_FUNCTION(constant); variable
|
| /PHP_5_4/ext/reflection/ |
| H A D | php_reflection.c | 1018 static int _extension_const_string(zend_constant *constant TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ 1025 if (constant->module_number == module->module_number) { 1026 _const_string(str, constant->name, &constant->value, indent TSRMLS_CC); 2608 Returns whether the default value of this parameter is constant */ 2633 Returns the default value's constant name if default value is constant or null */ 3981 Returns whether a constant exists or not */ 4022 Returns the class' constant specified by its name */ 5279 static int _addconstant(zend_constant *constant TSRMLS_D [all...] |