Code is available at bitbucket: https://bitbucket.org/holyfield/getid3/src
I have found several minor issues, missing variables etc which I decided to fix. You are welcome to download the code, compare with original and decide which changes to use on your own project. I have made approximately 200 minor changes at the moment and at least 300 will be made in the nearest future.
Please note, this work does not change or improve overall functionality of getID3() dramatically.
getID3() is very powerful web app, I like it! I decided to share changes which I make in code which i use for my personal project.
Changes:
- PHP closing tags are removed in pure php files - If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script.
- Fixed assignments in conditions
- Undefined methods - replaced with valid method names now (mostly in demo section)
- Undefined variables
- Undefined variables
- Testing