Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3

From: Date: Mon, 14 Sep 1998 15:55:05 +0000
Subject: Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1054@lists.php.net to get a copy of this message
Hi: On Sep 14, 2:53pm, Bug Database wrote: > Subject: Bug #746 Updated: split doesn't seem to work any more - used to w ] ID: 746 ] Updated by: rasmus ] Reported By: asengupt@cs.indiana.edu ] Status: Closed ] Bug Type: Misbehaving function ] Assigned To: ] Comments: ] ] This works fine for me. You might have messed up your regex library when you last built PHP. It is suggested you use the built-in regex library and not your system's library. Also, for a single delimiter like that you should be using explode() ] ] Full Bug description available at: http://ca.php.net/bugs.php3?id=746 ] >-- End of excerpt from Bug Database Our sysadmin tells me that it was compiled with the supplied regex library. Is there any other suggestion you could give me? And BTW the example I gave wasn't the actual regex I was using, but it was a simple test to reproduce the bug. For what I need, explode will not work. On Sep 14, 10:15am, sean chisham wrote: > Subject: Re: (Fwd) Bug #746 Updated: split doesn't seem to work any more - ] I am fairly certain we used PHP's built in regular expression libraries. ] ] sean ] ] ] +------------------------------------------------------------ ] | "Arijit Sengupta" <asengupt@cs.indiana.edu> ] | on Mon, 14 Sep 1998 10:12:30 EST ] | in message (Fwd) Bug #746 Updated: split doesn't seem to work any more - used ] to work fine with 3.0RC3 ] +------------------------------------------------------------ ] | Hi Sean: ] | ] | Regular expressions on 3.0.3 doesn't seem to be working. Here is what ] | I received after I sent in a bug report. Can you check if we need a ] | recompile? ] | ] | Here is the exammple that doesn't work with 3.0.3 but works fine with ] | 3.0RC3 ] | ] | <? ] | ] | $string = "hello:world:now"; ] | ] | $foobar = split(":", $string, 3); ] | ] | echo "$foobar[0], $foobar[1], $foobar[2]<br>"; ] | ] | ?> ] | ] >-- End of excerpt from sean chisham Thanks, Arijit. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1054) next »