Infection Playground
PHP code Hover to inspect, click to pin
Building AST…
Node details

Hover over the code to see its AST nodes, click to pin a node and see the node to use in Mutator::canMutate(). The AST is rebuilt as you type.

AST X-Ray is ported from PHPStan's playground (MIT license).