Return from exit condition sooner
Return from exit condition sooner

Since an array doesn't need to be converted to itself, there's
no reason to go any further in this method.

ericpoe/haystack,ericpoe/ophp