Fix a Warning in >= PHP5.5

As of PHP5.5, PHP Engine will trigger a warning when trying to convert an
array to a string.
Merge pull request #87 from adoy/master

Fix a Warning in >= PHP5.5