This doesn't work nice with objects, its better to use something like `is_object($value) ? get_class($value) : ettype($value)` so you get the class-name instead of object ;)