MP3_Id::read() -- reads and parses file
Описание
Reads the given file and parses it.
Параметр
- string
$file
the name of the file to parse
Throws
Таблица 39-1. Возможные значения PEAR_Error
| Error code | Error message | Reason | Solution |
|---|
| PEAR_MP3_ID_FNO |
"Unable to open $file"
|
The provide file name could not be opened
|
The file is currently write protected or
doesn't exists.
|
| PEAR_MP3_ID_RE |
"Unable to see to end - 128 of $file" or
"Unable to see to end of $file"
|
A read error occured
|
The file is too short or empty - not a MP3 file or a corrupted one.
|
Заметка
Эта функция не должна вызываться статически.