Add test to exhibit error behavior
Fix 'Illegal offset type in isset or empty' warning when a param is an object.

Params can be any data type, but keys can only be integers or strings.
PHP 5.3 compatibility in array syntax
Merge pull request #107 from vandarin/checkAndSetLabel

Check and set label