Sha256: 26ae3f8a3b9798c7d8c9a8075c32bbde6ea283d8ed412ac8b2ce236884f72415

Contents?: true

Size: 1.11 KB

Versions: 107

Compression:

Stored size: 1.11 KB

Contents

# Bob

Bob is a lackadaisical teenager. In conversation, his responses are very limited.

Bob answers 'Sure.' if you ask him a question.

He answers 'Whoa, chill out!' if you yell at him.

He says 'Fine. Be that way!' if you address him without actually saying
anything.

He answers 'Whatever.' to anything else.

The commented tests at the bottom of the bob_test.php are **Stretch Goals**, they are optional. They may be easier to
 solve if you are using the `mb_string` functions, which aren't installed by default with every version of PHP.

## Making the Test Suite Pass

1. Get [PHPUnit].

        % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar
        % chmod +x phpunit.phar

2. Execute the tests for an assignment.

        % phpunit.phar wordy/wordy_test.php

[PHPUnit]: http://phpunit.de


## Source

Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

107 entries across 107 versions & 1 rubygems

Version Path
trackler-2.2.1.103 tracks/php/exercises/bob/README.md
trackler-2.2.1.102 tracks/php/exercises/bob/README.md
trackler-2.2.1.101 tracks/php/exercises/bob/README.md
trackler-2.2.1.100 tracks/php/exercises/bob/README.md
trackler-2.2.1.99 tracks/php/exercises/bob/README.md
trackler-2.2.1.98 tracks/php/exercises/bob/README.md
trackler-2.2.1.97 tracks/php/exercises/bob/README.md
trackler-2.2.1.96 tracks/php/exercises/bob/README.md
trackler-2.2.1.95 tracks/php/exercises/bob/README.md
trackler-2.2.1.94 tracks/php/exercises/bob/README.md
trackler-2.2.1.93 tracks/php/exercises/bob/README.md
trackler-2.2.1.92 tracks/php/exercises/bob/README.md
trackler-2.2.1.91 tracks/php/exercises/bob/README.md
trackler-2.2.1.90 tracks/php/exercises/bob/README.md
trackler-2.2.1.89 tracks/php/exercises/bob/README.md
trackler-2.2.1.88 tracks/php/exercises/bob/README.md
trackler-2.2.1.87 tracks/php/exercises/bob/README.md
trackler-2.2.1.86 tracks/php/exercises/bob/README.md
trackler-2.2.1.85 tracks/php/exercises/bob/README.md
trackler-2.2.1.84 tracks/php/exercises/bob/README.md