/PHP-7.0/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 359 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 368 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 378 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 389 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 404 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 418 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 442 key = zend_string_init(Z_STRVAL(op_array->literals[i]), Z_STRLEN(op_array->literals[i]), 0); in zend_optimizer_compact_literals() 449 Z_TYPE(op_array->literals[i]) == Z_TYPE(op_array->literals[Z_LVAL_P(pos)]) && in zend_optimizer_compact_literals() 469 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 480 if (i != j) op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() [all …]
|
H A D | optimize_func_calls.c | 34 Z_TYPE(op_array->literals[(opline)->op2.constant]) == IS_STRING) 61 zval *function_name = &op_array->literals[opline->op2.constant + 1]; in optimize_func_calls() 88 …Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall-… in optimize_func_calls() 95 …Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall-… in optimize_func_calls() 96 literal_dtor(&op_array->literals[fcall->op2.constant]); in optimize_func_calls() 97 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in optimize_func_calls()
|
H A D | zend_optimizer.c | 107 op_array->literals = (zval*)erealloc(op_array->literals, op_array->last_literal * sizeof(zval)); in zend_optimizer_add_literal() 108 ZVAL_COPY_VALUE(&op_array->literals[i], zv); in zend_optimizer_add_literal() 109 Z_CACHE_SLOT(op_array->literals[i]) = -1; in zend_optimizer_add_literal() 136 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->cache_size; in alloc_cache_slots_op1() 140 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = op_array->cache_size; in alloc_cache_slots_op2()
|
H A D | pass1_5.c | 307 Z_STR(op_array->literals[opline->op1.constant + 1]))) == NULL || in zend_optimizer_pass1()
|
/PHP-7.0/ext/opcache/tests/ |
H A D | method_call_on_literal.phpt | 2 Literal compaction should take method calls on literals into account
|
H A D | compact_literals.phpt | 2 Test with compact literals
|
/PHP-7.0/tests/lang/string/ |
H A D | unicode_escape_legacy.phpt | 6 // These are ignored to avoid breaking JSON string literals
|
/PHP-7.0/Zend/tests/ |
H A D | declare_006.phpt | 2 Use of non-literals in declare ticks values crashes compiler
|
H A D | array_literal_next_element_error.phpt | 2 Next free element may overflow in array literals
|
H A D | binary.phpt | 2 testing binary literals
|
H A D | binary-32bit.phpt | 2 testing binary literals
|
/PHP-7.0/Zend/ |
H A D | zend_compile.h | 372 zval *literals; member 443 zval *literals; /* cache op_array->literals */ member 564 ((op_array)->literals + (num)) 582 (node).constant = (node).zv - (op_array)->literals; \ 606 EX(literals) 609 EX(literals) = (op_array)->literals; \ 615 EX(func)->op_array.literals 624 RT_CONSTANT_EX((op_array)->literals, node)
|
H A D | zend_opcode.c | 95 op_array->literals = NULL; in init_op_array() 343 zval *literal = op_array->literals; in destroy_op_array() 380 efree(op_array->literals); in destroy_op_array() 602 op_array->literals = (zval*)erealloc(op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two()
|
H A D | zend_compile.c | 69 Z_CACHE_SLOT(op_array->literals[literal]) = op_array->cache_size; in zend_alloc_cache_slot() 77 Z_CACHE_SLOT(op_array->literals[literal]) = op_array->cache_size; in zend_alloc_polymorphic_cache_slot() 434 Z_CACHE_SLOT(op_array->literals[literal_position]) = -1; in zend_insert_literal() 449 …op_array->literals = (zval*)erealloc(op_array->literals, CG(context).literals_size * sizeof(zval)); in zend_add_literal() 4646 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params() 4658 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params()
|
/PHP-7.0/ext/opcache/ |
H A D | zend_persist.c | 501 if (op_array->literals) { in zend_persist_op_array_ex() 503 orig_literals = zend_shared_alloc_get_xlat_entry(op_array->literals); in zend_persist_op_array_ex() 505 op_array->literals = orig_literals; in zend_persist_op_array_ex() 507 zval *p = zend_accel_memdup(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex() 509 orig_literals = op_array->literals; in zend_persist_op_array_ex() 510 op_array->literals = p; in zend_persist_op_array_ex() 533 …opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals… in zend_persist_op_array_ex() 536 …opline->op2.zv = (zval*)((char*)opline->op2.zv + ((char*)op_array->literals - (char*)orig_literals… in zend_persist_op_array_ex()
|
H A D | zend_file_cache.c | 374 SERIALIZE_PTR(op_array->literals); in zend_file_cache_serialize_op_array() 390 if (op_array->literals && !IS_SERIALIZED(op_array->literals)) { in zend_file_cache_serialize_op_array() 393 SERIALIZE_PTR(op_array->literals); in zend_file_cache_serialize_op_array() 394 p = op_array->literals; in zend_file_cache_serialize_op_array() 952 UNSERIALIZE_PTR(op_array->literals); in zend_file_cache_unserialize_op_array() 966 if (op_array->literals && !IS_UNSERIALIZED(op_array->literals)) { in zend_file_cache_unserialize_op_array() 969 UNSERIALIZE_PTR(op_array->literals); in zend_file_cache_unserialize_op_array() 970 p = op_array->literals; in zend_file_cache_unserialize_op_array()
|
H A D | zend_persist_calc.c | 187 if (op_array->literals) { in zend_persist_op_array_calc_ex() 188 zval *p = op_array->literals; in zend_persist_op_array_calc_ex() 190 ADD_DUP_SIZE(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_calc_ex()
|
H A D | ZendAccelerator.h | 359 # define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant] 363 # define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_info.c | 329 if (Z_TYPE(ops->literals[literal]) != IS_NULL) { in PHPDBG_INFO() 331 zend_print_zval(&ops->literals[literal], 0); in PHPDBG_INFO()
|
H A D | xml.md | 274 - <literalinfo num="" /> with num having an integer value, indicating the number of literals, op…
|
/PHP-7.0/ |
H A D | UPGRADING | 247 * Invalid octal literals (containing digits larger than 7) now produce compile
|
H A D | NEWS | 2402 . Invalid octal literals in source code now produce compile errors, fixes
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | NEWS | 62 literals. PCRE now does the same.
|
H A D | ChangeLog | 676 literals. PCRE now does the same. 1973 4. Inside a character class, PCRE always treated \R and \X as literals, 4776 treated as literals. This is slightly different from Perl in that $ and @ are 4777 also handled as literals inside the quotes. In Perl, they will cause variable 5158 aren't interpreted therein (e.g. [\C]) are literals in Perl. This is now also 5860 3. Treat "-" characters in classes that cannot be part of ranges as literals,
|
/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | HISTORY | 429 and ONIG_SYN_XXX number literals.
|