Re: [PHP-DEV] Problem with preg_split ( 4.0.5 and CVS last version )

2001-05-04 Thread Andrei Zmievski
On Fri, 04 May 2001, Renato Weiner wrote: > > Hi all, > > Look at the following code: > $price = "66950"; > > $formatado = preg_split ('//', $price, 0, PREG_SPLIT_NO_EMPTY); > > $escalar = sizeof($formatado); > > echo $escalar; > ?> > > In php4.0.4pl1 the result is "5", in php4.0.5 the resu

[PHP-DEV] Problem with preg_split ( 4.0.5 and CVS last version )

2001-05-04 Thread Renato Weiner
Hi all, Look at the following code:$price = "66950";$formatado = preg_split ('//', $price, 0, PREG_SPLIT_NO_EMPTY);$escalar = sizeof($formatado);echo $escalar;?>In php4.0.4pl1 the result is "5", in php4.0.5 the result is "1".I also tried version 1.92 in CVS of /ext/pcre/php_pcre.c but I got thesame