Joined April 2013
·
Posted to
Find and format difference between two strings in PHP
over 1 year
ago
Not working if there are more than one different thing.
Eg: compare "I used to be pretty" and "I am pretty."
Notice the [dot] at the end. Everything after "I" will be marked as different.
This is not a real problem, as the code is short ... but you might wan't to split lines, and apply the function to each one, but you would have a diff per line (so, if a line is added, everything will look like edited ...)
Achievements
49 Karma
0 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Komodo Dragon 3
Have at least three original repos where Java is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Charity
Fork and commit to someone's open source project in need
I wonder, if you create X files (where X = the ifree number), and remove them ... is the ifree refreshed, or not ?
I mean, isn't it like a counter that resets when it reaches 0 ? ...
Thanks in advance,