When to ignore whitespace when comparing code
Ignoring whitespace removes noise from reformatted code, but in some languages it hides real changes. Here is how to choose.
1 min read
NOTHING UPLOADED · RUNS LOCALLY · FREE TO USE
About PHP comparison
Useful for reviewing a controller change, a config update or a vendor patch before you apply it.
Hide formatting-only changes from PSR-12 fixers.
Use the change navigator to jump straight to each modified block.
Your code stays in the browser and is never uploaded.
PHP guides
Ignoring whitespace removes noise from reformatted code, but in some languages it hides real changes. Here is how to choose.
1 min read
Features
Two editors scroll together so the line you are reading always faces its counterpart.
Ember marks edits and removals. Ink marks additions. No other colours to learn.
Step forward and back through each change with a count of how many remain.
Switch off whitespace and letter-case differences to focus on what really matters.
A line-by-line list says what happened to each line, such as “Friday” became “Monday” or a number went from 3 to 4. Click any entry to jump straight to it.
How it works
Drop the original on the left and the new version on the right.
Differences are highlighted as you type, line by line.
Review the summary, swap sides or clear the editors and go again.