PHP syntax checker (online lint)
Lint PHP in the browser: catch parse errors before deploy. Paste a snippet or full file—tokens are checked only; your code never runs on the server.
How it works
- Paste PHP source (with or without an opening <?php tag).
- Submit to run a tokenizer parse—like php -l.
- Read the error message and line number if syntax fails.
- Edit and re-validate until the file parses cleanly.
Important notes
- ✓ Grammar-only: undefined functions or logic bugs are not tested.
- ✓ Nothing is executed—safe for quick syntax spot checks.
- ✓ Input is limited to 512 KB per request.