Date: 09/14/98
- Next message: martin: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>
] 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 <email protected>>
] | 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 <email protected> For help: php-dev-help <email protected>
- Next message: martin: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: Bug #746 Updated: split doesn't seem to work any more - used to work fine with 3.0RC3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

