note 45882 added to function.preg-replace

From: Date: Wed, 22 Sep 2004 13:41:17 +0000
Subject: note 45882 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-77151@lists.php.net to get a copy of this message
RE:Jinx [06-Sep-2004 11:10] After spending couple of hours with creating code replacing something like this "bla(\d+)" with the \\1th element of an array, I gave up, and searched here... (The error, what I couldn't solve was: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE (somethimes CHARACTER), expecting T_STRING or T_VARIABLE or T_NUM_STRING ) Then I found your example which was exacly what I'm looking for... But it has the same problem.... Can the version (latest stable 4.x)/ or anything else be the cause of this? Any sugession welcome! thnx: NemTom ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45882 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45882&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45882&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77151) next »