Please don't use the array dereferencing to keep the compatibility with PHP 5.3. You need to assign ``stream_get_meta_data($input)`` to a variable