php-src/Zend/tests/pipe_operator
Niels Dossche 8712f4bf19
Fix OSS-Fuzz #427814452
Pipe compilation uses a temporary znode with QM_ASSIGN to remove
references. Assert compilation wants to look at the operand AST and
convert it to a string. However the original AST is lost due to the
temporary znode. To solve this we either have to handle this specially
in pipe compilation [1], or store the AST anyway somehow.
Special casing this either way is not worth the complexity in my
opinion, especially as it looks like a dynamic call anyway due to the
FCC syntax.

[1] Prototype (incomplete) at
    https://gist.github.com/nielsdos/50dc71718639c3af05db84a4dea6eb71
    shows this is not worthwhile in my opinion.

Closes GH-18965.

Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2025-07-12 09:51:27 +02:00
..
ast.phpt
call_by_ref.phpt
call_prefer_by_ref.phpt
complex_ordering.phpt
compound_userland_calls.phpt
exception_interruption.phpt
function_not_found.phpt
generators.phpt
gh18965.phpt Fix OSS-Fuzz #427814452 2025-07-12 09:51:27 +02:00
mixed_callable_call.phpt
namespaced_functions.phpt
optional_parameters.phpt
oss_fuzz_427814452.phpt Fix OSS-Fuzz #427814452 2025-07-12 09:51:27 +02:00
precedence_addition.phpt
precedence_coalesce.phpt
precedence_comparison.phpt
precedence_ternary.phpt
simple_builtin_call.phpt
simple_userland_call.phpt
too_many_parameters.phpt
type_mismatch.phpt
void_return.phpt
wrapped_chains.phpt