I'm having a bizarre problem with `in_array`. For some reason it's returning false on what I'm sure should return true.

The only reason I can think it's doing this is if there's a hidden character or something which I can't see. But I haven't added anything like this while using the variable.

**Screen shot of output:**

![Output](https://i.stack.imgur.com/qKGfb.png)

**`isValidAnswer` method:**

```
    /**
     * Return whether this is a valid answer or not
     * 
     * @param mixed $answer
     * @return boolean $validAnswer
     */
    public function isValidAnswer($answer) {
        print($answer . "<br />"); print_r($this->answers);
        return in_array($answer, $this->answers);
    }

```

Any ideas? Thanks.