Page 1 of 1

PHP7 support

Posted: Sun Jul 05, 2015 3:35 pm
by zzan
I have a setup that has the Apache/2.4.12 (VC14,Win32) and PHP/7.0.0alpha2. I am getting an error when trying to get data from mp4 file:
Fatal error: Switch statements may only contain one default clause in \getid3\ on line 432
I can get the data when running; Apache/2.4.12 (VC11, Win32) and PHP/5.6.9.

PHP 7 is expected to go final before the end of 2015, will you have a updated version of getid3 for PHP7?

Re: PHP7 support

Posted: Sun Jul 05, 2015 5:43 pm
by James Heinrich
Nothing special about PHP7 in that case, just an as-yet-undiscovered bug, but it didn't generate a PHP warning before PHP7. I have removed the duplicate "default:" clause in ... 6aae7c1ec2

I have no particular plans to test against PHP7 anytime soon, but if you do then please continue to report any issues you discover.