Psalm
Get started
Documentation
Paid support
Plugins
Blog
GitHub
<?php /** * @var string $a * @var string $b */ if ( str_contains( $a, 'foo' ) ) { /** @psalm-trace $a */; } if ( strpos( $b, 'foo' ) !== false ) { /** @psalm-trace $b */; } if ( stripos( $b, 'foo' ) !== false ) { /** @psalm-trace $b */; }
Snippet created on May 6 2023 at 17:00 UTC
Settings
Get link