protected function parsePhileFormat($string) {
        if (empty($string)) {
            return null;
        }
        $meta = [];
        $lines = explode("\n", $string);
        foreach ($lines as $line) {
            $parts = explode(':', $line, 2);
            if (count($parts) !== 2) {
                continue;
            }
            $parts = array_map('trim', $parts);
            $meta[$parts[0]] = $parts[1];
        }
        return $meta;
    }
protected function parsePhileFormat($string) {
        if (empty($string)) {
            return null;
        }
        $meta = [];
        $lines = explode("\n", $string);
        foreach ($lines as $line) {
            $parts = explode(':', $line, 2);
            if (count($parts) !== 2) {
                continue;
            }
            $parts = array_map('trim', $parts);
            $meta[$parts[0]] = $parts[1];
        }
        return $meta;
    }
protected function parsePhileFormat ( $ string ) { if ( empty ( $ string ) ) { return null ; } $ meta = [ ] ; $ lines = explode ( "\n" , $ string ) ; foreach ( $ lines as $ line ) { $ parts = explode ( ':' , $ line , 2 ) ; if ( count ( $ parts ) !== 2 ) { continue ; } $ parts = array_map ( 'trim' , $ parts ) ; $ meta [ $ parts [ 0 ] ] = $ parts [ 1 ] ; } return $ meta ; }
Phile meta format parser.

@param string $string unparsed meta-data
@return array|null array with meta-tags; null: on meta-data found

@deprecated since 1.6.0 Phile is going to switch to YAML
Phile meta format parser .