# Word Count Given a phrase, count the occurrences of each word in that phrase. For example for the input `"olly olly in come free"` ```text olly: 2 in: 1 come: 1 free: 1 ``` ## Running the tests 1. Go to the root of your PHP exercise directory, which is `/php`. To find the Exercism workspace run % exercism debug | grep Workspace 1. Get [PHPUnit] if you don't have it already. % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar % chmod +x phpunit.phar 2. Execute the tests: % ./phpunit.phar word-count/word-count_test.php [PHPUnit]: http://phpunit.de ## Source This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.