[dokuwiki] Re: darcs patch: parenthesis_escaper_fix

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 21 Dec 2007 16:08:28 +0100

On Wed, 19 Dec 2007 10:52:41 +0000
stephane.chazelas@xxxxxxxxxxx wrote:

> Wed Dec 19 10:38:58 GMT 2007  stephane.chazelas@xxxxxxxxxxx
>   * parenthesis_escaper_fix

This patch throws a syntax error in PHP4:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$'
in /var/www/dokuwiki/inc/parser/lexer.php on line 139

Could you please rewrite the patch using a for loop with the length of
the array instead of using a reference?

Andi

-- 
http://www.splitbrain.org

Other related posts: