From 3b72e713e3533255b7670312616397acc3fcd361 Mon Sep 17 00:00:00 2001 From: amare Date: Tue, 12 Jul 2016 16:58:41 +0200 Subject: [PATCH 1/5] amare's first word-count php commit --- word-count.php | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 word-count.php diff --git a/word-count.php b/word-count.php new file mode 100644 index 0000000..7836550 --- /dev/null +++ b/word-count.php @@ -0,0 +1,6 @@ + From 26e0f34f518ece309642dbd1c66b78461b91c393 Mon Sep 17 00:00:00 2001 From: amare Date: Wed, 13 Jul 2016 22:29:06 +0200 Subject: [PATCH 2/5] amare's word count php --- word-count.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/word-count.php b/word-count.php index 7836550..c7c32c3 100644 --- a/word-count.php +++ b/word-count.php @@ -1,6 +1,6 @@ From e09e015a50e5305971bd9642edef79ca0e57a3fe Mon Sep 17 00:00:00 2001 From: amare Date: Wed, 13 Jul 2016 23:16:34 +0200 Subject: [PATCH 3/5] second commit --- word-count.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/word-count.php b/word-count.php index b667ce3..834dafc 100644 --- a/word-count.php +++ b/word-count.php @@ -1,7 +1,6 @@ Date: Wed, 13 Jul 2016 23:49:07 +0200 Subject: [PATCH 4/5] third commit --- word-count.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/word-count.php b/word-count.php index 834dafc..5258fc3 100644 --- a/word-count.php +++ b/word-count.php @@ -1,8 +1,8 @@ From 46abc18c37ca7984f9b6c4bd36abbfb81df32629 Mon Sep 17 00:00:00 2001 From: amare16 Date: Wed, 13 Jul 2016 23:57:54 +0200 Subject: [PATCH 5/5] fourth commit --- word-count.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/word-count.php b/word-count.php index 5258fc3..4943b3b 100644 --- a/word-count.php +++ b/word-count.php @@ -2,7 +2,7 @@ function wordCount($phrase= "") { $phrase= "The str_word_count() function counts the number of words in a string."; - return str_word_count(explode($phrase)); + return str_word_count(explode('', $phrase)); } ?>