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

  1. Paste PHP source (with or without an opening <?php tag).
  2. Submit to run a tokenizer parse—like php -l.
  3. Read the error message and line number if syntax fails.
  4. 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.