* auto_detect_line_endings only makes sense when parsing files
* use preg_split instead of explode
* PHPdoc updates