From: luci a. l. d' b. <sf...@gr...> - 2008-08-03 17:17:44
|
hi, i'm sorry i guess it's the "&" in &$matches... i learned it on http://www.php.net/manual/en/function.preg-match.php and didn't notice it's deprecated in php5 "int **preg_match** ( string $pattern , string $subject [, array &$matches [, int $flags [, int $offset ]]] )" i think it could be fixed by initializing the variable before as "$matches='';" and removing the "&" from the "&$matches"... can you test it marc ? luci On 03/08/08 06:23, Marc Laporte wrote: > Hi! > > This commit is causing me an issue. It seems unrelated but it only appears > with svn up -r 14020 (and not svn up -r 14019) > > 1- When wiki link cache is turned off and viewing home page: > "Warning: Call-time pass-by-reference has been deprecated; If you would like > to pass it by reference, modify the declaration of preg_match(). If you > would like to enable call-time pass-by-reference, you can set > allow_call_time_pass_reference to true in your INI file in lib/tikilib.php > on line 6173 " > > Discovered on PHP Version 5.2.6 > > Any ideas? > > Thanks! > > > |