Psalm
Get started
Documentation
Paid support
Plugins
Blog
GitHub
<?php function getstr(): string {return 'dfs';} $a = getstr(); if (str_starts_with($a, 's')) { /** @psalm-trace $a */; } if (str_ends_with($a, 's')) { /** @psalm-trace $a */; }
Snippet created on August 7 2022 at 21:40 UTC
Settings
Get link