Skip to content

Commit 353dc38

Browse files
committed
cleanup
1 parent 930264e commit 353dc38

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

exercises/lord-of-the-strings/problem/problem.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
PHP has a huge standard library with the most extravagant and highly specific string and array functions available.
2-
`levenshtein` & `array_change_key_case` anyone??
1+
PHP has a huge standard library with the most extravagant and highly specific string and array functions available. `levenshtein` & `array_change_key_case` anyone??
32

43
On the flip side, historically it has missed some very common string operations. There's always been a way to get the same results, but they are cumbersome and error prone.
54

@@ -19,7 +18,7 @@ Thankfully, PHP 8 has done away with all that nonsense. Please welcome the follo
1918

2019
----------------------------------------------------------------------
2120

22-
Create a program the accepts two arguments, the first is a word, the second is a sentence (random words).
21+
Create a program that accepts two arguments, the first is a word, the second is a sentence (random words).
2322

2423
You must print a table which contains the results of each of the above functions with the provided word and sentence.
2524

@@ -38,7 +37,7 @@ The result column should be `true` or `false` based on the result of the corresp
3837

3938
* Simpler and more concise.
4039
* Saner return types.
41-
* It is harder to get their usage wrong, for example checking for 0 vs false with `strpos`
40+
* It is harder to get their usage wrong, for example checking for 0 vs false with `strpos`.
4241
* The functions are faster, being implemented in C.
4342
* The operations require less function calls, for example no usages of `strlen` are required.
4443

0 commit comments

Comments
 (0)