Check a PHP snippet for unbalanced braces, brackets, quotes, comments, and alternative-syntax keywords. The check is static text analysis.
Limitations. This is not PHP’s parser, not php -l, and not a security review. It misses many real syntax errors and it can warn on unusual but valid code. It never executes the snippet.
How to use it
Paste PHP and run the check. Errors are structural. Warnings include a missing opening tag or the text of eval(), which is still not run.
Get new briefs by email
Short alerts when a PHP or WordPress vulnerability needs action.
Double opt-in via Buttondown; unsubscribe any time. See our privacy policy.