Passing array as subject to preg_replace has odd behaviour with limit

From: Date: Mon, 05 Apr 2004 08:05:27 +0000
Subject: Passing array as subject to preg_replace has odd behaviour with limit
Groups: php.general 
Request: Send a blank email to php-general+get-182333@lists.php.net to get a copy of this message
Hi everybody, I'm sure this has been mentioned hundreds of times before, but why is preg_replace apparently ignoreing my limit when I pass it an array of text to work on (with just one string each for pattern and replacement)? Is it only obeying per element of the subject? If so, is there a way to correct this unwanted behaviour, maybe through setting a constant or something? Cheers! -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

« previous php.general (#182333) next »