Re: [PHP4BETA] Regex Question/preg_replace

From: Date: Wed, 19 Apr 2000 14:45:17 +0000
Subject: Re: [PHP4BETA] Regex Question/preg_replace
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13739@lists.php.net to get a copy of this message
On Wed, 19 Apr 2000, Jonas Jochum wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > I'm wondering if there's something like Perl's $+ in PHP4. I couldn't find > anything in the docs, except that preg_replace accepts arrays. But that > doesn't help in my special case... What do you need the $+ functionality for that you can't achieve with direct enumeration? > now another problem...when I used preg_match_all(), PHP returned an array > with infinite dimensions, it seems. I couldn't get to the data. PHP kept > printing Array(x)...I'll test that later today again, as soon as I have > time to install the latest CVS version. Please let me know what you find. -Andrei * Use the source, Luke. *

« previous php.version4 (#13739) next »