[Phpmyadmin-devel] Another PHP 5.2 incompability in master

Rouslan Placella rouslan at placella.com
Sat Jan 26 13:12:00 CET 2013

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'`


More information about the Developers mailing list