[Phpmyadmin-devel] Another PHP 5.2 incompability in master

Marc Delisle marc at infomarc.info
Sat Jan 26 13:35:24 CET 2013


Le 2013-01-26 07:12, Rouslan Placella a écrit :
> On 01/26/2013 12:00 PM, Marc Delisle wrote:
>> Le 2013-01-26 06:31, Marc Delisle a écrit :
>>> Hi,
>>>
>>> I found one instance of anonymous function [0] which became available in
>>> PHP 5.3:
>>>
>>> Parse error: syntax error, unexpected T_FUNCTION in
>>> libraries/properties/options/OptionsPropertyGroup.class.php on line 62
>>>
>>> I'm rewriting it as non-anonymous and I'll search for other instances.
>>
>> Hmmm, I don't have a clue how to find them :/
> 
> I tried the below regex. It found a whole bunch of false positives, and 
> a matches that I'm not too sure about in tcpdf. Hope that helps.
> 
> grep 'function\s\s*(' `find -name '*.php'`

Thanks Rouslan. Running the proposed command, the two matches I get for
tcpdf.php are only comments.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list