Re: Problem: ereg doesn't work ok (?).

From: Date: Wed, 26 Sep 2001 07:23:37 +0000
Subject: Re: Problem: ereg doesn't work ok (?).
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-68820@lists.php.net to get a copy of this message
> I noticed something I haven't before: I'm generating a RPM for php-4.0.6 > which is what I'm installing, but using the .spec file from the 4.0.4 > which comes with RedHat. Well, in the configure it had > --with-regex=system. I removed this option, recompiled, and the regex'es > seem to be working fine now. The --with-regex=system comes by default in > the RedHat RPM for PHP. Ah. Glad the problem is solved. Otherwise it would be a *strange* problem! > Thank you. > Rodolfo. > > P.S. > > $yesternews = date("Y-m-d", mktime(0,0,0,$regs[2],$regs[3]-1,$regs[1])); > > Indeed. Cool, thanks :) UR welcome. -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#68820) next »