On Wed, 11 Aug 2010, Derick Rethans wrote:
> On Wed, 11 Aug 2010, Stas Malyshev wrote:
>
> > So I'd propose doing the following:
> >
> > 1. Moving parameter typing to a feature branch (by branching current trunk
> > and
> > then rolling back the typing part in the trunk).
> > 2. Starting 5.4 al
On Sat, 2010-09-04 at 21:52 +0200, Alex Baumann wrote:
> Hi!
> Since I'm using this function in each project I'm working on, how about
> making it a built-in function?
>
> function between ($text, $between, $and) {
> $start = strpos($text, $between)+strlen($between);
> if ($start === fa
Hi!
Since I'm using this function in each project I'm working on, how about
making it a built-in function?
function between ($text, $between, $and) {
$start = strpos($text, $between)+strlen($between);
if ($start === false) return "";
$end = strpos($text, $and, $start);
if ($end
On Sep 05 14:19:16, Kalle Sommer Nielsen wrote:
> Hi
>
> Is there any reason for we don't support expressions like:
>
> test() or throw new Exception('test() failed');
>
>
> If no, is there any argument against supporting such a syntax in trunk?
Technically, it should be quite easy to have tha
Hi
Is there any reason for we don't support expressions like:
test() or throw new Exception('test() failed');
If no, is there any argument against supporting such a syntax in trunk?
--
regards,
Kalle Sommer Nielsen
ka...@php.net
--
PHP Internals - PHP Runtime Development Mailing List
To un