/PHP-8.1/Zend/Optimizer/ |
H A D | compact_literals.c | 353 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 364 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 375 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 391 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 410 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 412 op_array->literals[j+1] = op_array->literals[i+1]; in zend_optimizer_compact_literals() 429 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 460 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 467 if (i != j) op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() 479 op_array->literals[j] = op_array->literals[i]; in zend_optimizer_compact_literals() [all …]
|
H A D | zend_optimizer.c | 1029 if (op_array->literals) { in zend_revert_pass_two() 1031 memcpy(literals, op_array->literals, sizeof(zval) * op_array->last_literal); in zend_revert_pass_two() 1032 op_array->literals = literals; in zend_revert_pass_two() 1055 efree(op_array->literals); in zend_redo_pass_two() 1058 if (op_array->literals) { in zend_redo_pass_two() 1059 efree(op_array->literals); in zend_redo_pass_two() 1061 op_array->literals = NULL; in zend_redo_pass_two() 1166 efree(op_array->literals); in zend_redo_pass_two_ex() 1169 if (op_array->literals) { in zend_redo_pass_two_ex() 1170 efree(op_array->literals); in zend_redo_pass_two_ex() [all …]
|
H A D | optimize_func_calls.c | 33 Z_TYPE(op_array->literals[(opline)->op1.constant]) == IS_STRING) 36 Z_TYPE(op_array->literals[(opline)->op2.constant]) == IS_STRING) 224 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls() 225 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
|
H A D | zend_optimizer_internal.h | 28 #define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant] 30 #define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]
|
/PHP-8.1/Zend/tests/ |
H A D | instanceof_const.phpt | 2 Instanceof on literals returns false
|
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
|
/PHP-8.1/ext/standard/tests/math/ |
H A D | bindec_variation2.phpt | 2 Test bindec() function : strange literals
|
H A D | hexdec_variation2.phpt | 2 Test hexdec() function : strange literals
|
H A D | octdec_variation2.phpt | 2 Test octdec() function : strange literals
|
H A D | base_convert_variation2.phpt | 2 Test base_convert() function : strange literals
|
/PHP-8.1/ext/opcache/tests/ |
H A D | compact_literals_collision.phpt | 2 Collision between string and float literals during compaction
|
H A D | bug81046.phpt | 2 Bug #81046: Literal compaction merges non-equal related literals
|
H A D | method_call_on_literal.phpt | 2 Literal compaction should take method calls on literals into account
|
/PHP-8.1/tests/lang/string/ |
H A D | unicode_escape_legacy.phpt | 6 // These are ignored to avoid breaking JSON string literals
|
/PHP-8.1/Zend/tests/float_to_int/ |
H A D | no_warnings_compatible_float_literals_assignment_ops.phpt | 2 Implicit float to int conversions should not warn for literals in combined assingment operetor if f…
|
H A D | warnings_float_literals_assignment_ops.phpt | 2 Implicit float to int conversions should warn for literals in combined assingment operetor
|
H A D | no_warning_compatible_string_float_literals.phpt | 2 Implicit string float to int conversions should not warn for literals if float has a fractional par…
|
H A D | warnings_string_float_literals_assignment_ops.phpt | 2 Implicit float to int conversions should warn for literals in combined assingment operetor
|
H A D | no_warning_compatible_float_literals.phpt | 2 Implicit float to int conversions should not warn for literals if float has a fractional part equal…
|
/PHP-8.1/ext/gmp/tests/ |
H A D | surprising_integer_literals.phpt | 2 Surprising result with integer literals (hex/binary/octal)
|
/PHP-8.1/ext/filter/tests/ |
H A D | surprising_integer_literals.phpt | 2 Surprising result with integer literals (hex/octal)
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist.c | 430 if (op_array->literals) { in zend_persist_op_array_ex() 431 op_array->literals = zend_shared_alloc_get_xlat_entry(op_array->literals); in zend_persist_op_array_ex() 432 ZEND_ASSERT(op_array->literals != NULL); in zend_persist_op_array_ex() 508 if (op_array->literals) { in zend_persist_op_array_ex() 511 orig_literals = op_array->literals; in zend_persist_op_array_ex() 513 p = zend_shared_memdup_put_free(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex() 515 p = zend_shared_memdup_put(op_array->literals, sizeof(zval) * op_array->last_literal); in zend_persist_op_array_ex() 518 op_array->literals = p; in zend_persist_op_array_ex() 534 …opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals… in zend_persist_op_array_ex() 548 (char*)(op_array->literals + in zend_persist_op_array_ex() [all …]
|
H A D | zend_file_cache.c | 457 SERIALIZE_PTR(op_array->literals); 483 if (op_array->literals) { 486 SERIALIZE_PTR(op_array->literals); 487 p = op_array->literals; 500 zval *literals = op_array->literals; local 501 UNSERIALIZE_PTR(literals); 518 opline->op1.constant = RT_CONSTANT(opline, opline->op1) - literals; 1267 UNSERIALIZE_PTR(op_array->literals); 1291 if (op_array->literals) { 1294 UNSERIALIZE_PTR(op_array->literals); [all …]
|
/PHP-8.1/Zend/ |
H A D | zend_opcode.c | 87 op_array->literals = NULL; in init_op_array() 546 if (op_array->literals) { in destroy_op_array() 547 zval *literal = op_array->literals; in destroy_op_array() 555 efree(op_array->literals); in destroy_op_array() 1027 op_array->literals = (zval*)erealloc(op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two() 1034 if (op_array->literals) { in pass_two() 1036 op_array->literals, sizeof(zval) * op_array->last_literal); in pass_two() 1037 efree(op_array->literals); in pass_two() 1038 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in pass_two()
|