Skip to content

echo $taintedObject; does not infer taintedness from __toString() #3697

@TysonAndre

Description

@TysonAndre

Same for string encapsulation ("Trace: $myClass")

Expected: The examples in https://psalm.dev/r/43fab1bc2a should emit TaintedOutput

Related to #3696

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions