PHP Code Checker was created out of frustration with those sneaky, hard-to-spot errors that even seasoned developers make. Whether you're a novice or a high-earning developer, tiny mistakes can slip through the cracks, often missed by IDEs and syntax checks, leaving you confused and frustrated.
This tool compiles the most common, hard-to-detect mistakes, offering genuine value to your coding process. Designed to be fast, simple, and powerful, PHP Code Checker has been continuously improved for better usability, accessibility, and performance.
Submit your code to our API via GET or POST with the variable name: code
Results are returned as a JSON (currently only syntax checks are performed). For POST, base64_encode() and then urlencode() your code, passing https://
Find all the new features, improvements and bugfixes here.
We are excited to announce that BairesDev has acquired PHP Code Checker. With this acquisition, we have also introduced a new redesign of the tool, adding elements of user experience to make it more intuitive and user-friendly.
When you Clear, the UI also resets.
Carbon Ads have been removed.
Finding mismatched pairs (parenthesis, brackets, etc) would sometimes, falsely, cause an infinite loop and hard exit from the check.
Error codes updated for better accuracy. Also updated the POST response message to assist in debugging.
Upgraded to PHP 8.3.
Better error response when the analysis has too much code (now returns 413 instead of just dying).
Added a new field in the response for debugging server-side code removal before analysis: request.body-nocomments-phponly.
Better insertion of <?php ?> tags to reduce false positives from the PHP lint check.
The deprecated test has been updated to PHP8.2 and a new removed test has been added for functions that have been effected, respectively. For a more comprehensive local test for deprecation, I recommend PhpDeprecationDetector.
You can once again manually resize the width of the textarea using the bottom-right corner (no limits, the rest of the page will try and flow around the new width).
Test function-variable added to catch an accidental use of a dollar sign on a function ($isset() instead of isset()).
The semicolon test has been rolled back to v2.6 due to excessive false positives.
When no issues are detected, the timestamp of the check is added to the far-right as a confirmation that your analysis was actually submitted and the page updated.
Adjusted version numbering to represent Major.Frontend.Backend changes.
The Clear button is back (with a keyboard shortcut)!
All display screen sizes have been improved, especially mobile phones (though rarely used for this site).
Space and enter were not working properly in textarea in Firefox due to a browser-specific change. CSS updated to fix.
Redesigned frontend with Svelte, Skeleton, and Tailwind (with some backend API improvements).
Squashed all previous release notes with the addition of passing tests being displayed during analysis.
Redesigned the website on Bootstrap making it fully responsive and mobile-friendly.
Removed a false positive for variable declaration with == error message.
Upgraded to PHP 5.4
Leaves beta and improvements made based on user feedback.
Launched with the very first test: Check for mismatched # of parenthesis (open/closed).