[ticket/13227] Fix "preg_split() expects parameter 2 to be string array ...

https://tracker.phpbb.com/browse/PHPBB3-13227
Also the php docs seem to state the non-headers way:
http://de2.php.net/manual/en/function.stream-get-meta-data.php