All Questions
4 questions
2
votes
2
answers
374
views
Split words that are too big
I need to optimize the below code, as much as possible in:
using less resources as possible
being as fast as possible
What the code does is simple, it splits the string by words and only if a word is ...
1
vote
2
answers
2k
views
Finding a word with the most occurrences of a character
I am new to PHP development. So Kindly, review my code and guide me make it better/optimize. Currently, it works well with inputs that I have tried.
...
3
votes
1
answer
184
views
PHP class which preserves line break by splitting the line into as many line break as it have
Can anyone here please review my PHP code which preserves line break by splitting the line into as many line break as it have?
...
5
votes
2
answers
6k
views
PHP spell checker with suggestions for misspelled words
I built a simple PHP spellchecker and suggestions app that uses PHP's similar_text() and levenshtein() functions to compare words from a dictionary that is loaded into an array.
How it works is first ...