On Sun, Aug 19, 2012 at 2:07 AM, Laruence wrote:
> On Sat, Aug 18, 2012 at 5:48 PM, Nikita Popov wrote:
>> On Sat, Aug 18, 2012 at 6:34 AM, Laruence wrote:
>>> Hi:
>>> This feature introduces list() support in foreach constructs(more
>>> info can be found here: https://wiki.php.net/rfc/forea
Sorry for creating more "noise"...
Am 18.08.2012 06:59, schrieb Sherif Ramadan:
Further more, your assumption here that the result is incorrect (or
improperly indexed) is completely baseless and moot. You are making a
bold assumption that I both care about the keys and that I expect them
to be n
2012/8/20 Andrew Faulds :
> On 20/08/12 00:16, Yasuo Ohgaki wrote:
>>
>> 2012/8/20 Andrew Faulds :
>>>
>>> On 20/08/12 00:05, Yasuo Ohgaki wrote:
2012/8/20 Etienne Kneuss :
>
> On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki
> wrote:
>>
>> 2012/8/18 Rasmus Lerdorf :
>>
It's also worth noting that a billion iterations is a lot in any language,
not just PHP. Plus most browsers would probably blow-up in your face if
you tried to send that much data.
--Kris
On Sun, Aug 19, 2012 at 8:41 AM, Raymond Irving wrote:
> Many thanks for the feedback.
>
> __
> Raymond
>
> -Original Message-
> From: Stas Malyshev [mailto:smalys...@sugarcrm.com]
> Sent: 20 August 2012 00:08
> To: Derick Rethans
> Cc: Nikita Popov; PHP internals
> Subject: Re: [PHP-DEV] [RFC] Generators
>
> Hi!
>
> > I am against this. This is even more magic in PHP. Is it
> really tha
On 08/19/2012 07:07 PM, Stas Malyshev wrote:
> Hi!
>
>> I am against this. This is even more magic in PHP. Is it really that
>> difficult to have to mark the function with a different keyword, such as
>> "generator":
>
> You have a point here, but "public static final generator function
> foo()
On 20/08/12 00:16, Yasuo Ohgaki wrote:
2012/8/20 Andrew Faulds :
On 20/08/12 00:05, Yasuo Ohgaki wrote:
2012/8/20 Etienne Kneuss :
On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki
wrote:
2012/8/18 Rasmus Lerdorf :
On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
if(($key = array_search($del_val
2012/8/20 Andrew Faulds :
> On 20/08/12 00:05, Yasuo Ohgaki wrote:
>>
>> 2012/8/20 Etienne Kneuss :
>>>
>>> On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki
>>> wrote:
2012/8/18 Rasmus Lerdorf :
>
> On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
>>>
>>> if(($key = array_sear
On 20/08/12 00:05, Yasuo Ohgaki wrote:
2012/8/20 Etienne Kneuss :
On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki wrote:
2012/8/18 Rasmus Lerdorf :
On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
if(($key = array_search($del_val, $messages)) !== false) {
unset($messages[$key]);
}
Nothing
Hi!
> I am against this. This is even more magic in PHP. Is it really that
> difficult to have to mark the function with a different keyword, such as
> "generator":
You have a point here, but "public static final generator function
foo()" sounds a bit long-winded to me... Also, we'd have then t
2012/8/20 Etienne Kneuss :
> On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki wrote:
>> 2012/8/18 Rasmus Lerdorf :
>>> On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
>
> if(($key = array_search($del_val, $messages)) !== false) {
> unset($messages[$key]);
> }
>
> Nothing ho
On Sun, Aug 19, 2012 at 11:57 PM, Yasuo Ohgaki wrote:
> 2012/8/18 Rasmus Lerdorf :
>> On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
if(($key = array_search($del_val, $messages)) !== false) {
unset($messages[$key]);
}
Nothing horrible here.
>>>
>>> I disagree
2012/8/18 Rasmus Lerdorf :
> On 08/17/2012 05:21 PM, Rasmus Schultz wrote:
>>>
>>> if(($key = array_search($del_val, $messages)) !== false) {
>>> unset($messages[$key]);
>>> }
>>>
>>> Nothing horrible here.
>>>
>>
>> I disagree - this is (or should be) a simple, atomic operation...
>> yet, you'
On Sun, Aug 19, 2012 at 6:03 PM, Derick Rethans wrote:
> On Sun, 19 Aug 2012, Nikita Popov wrote:
>
>> On Sun, Aug 19, 2012 at 6:28 AM, Stas Malyshev
>> wrote:
>> >
>> >> For PHP we would need to have some similar behavior. PHP's current
>> >> exception model is incompatible with GeneratorExitEx
On 19/08/12 17:03, Derick Rethans wrote:
On Sun, 19 Aug 2012, Nikita Popov wrote:
On Sun, Aug 19, 2012 at 6:28 AM, Stas Malyshev wrote:
For PHP we would need to have some similar behavior. PHP's current
exception model is incompatible with GeneratorExitException
(because PHP does not have Bas
On Sun, 19 Aug 2012, Nikita Popov wrote:
> On Sun, Aug 19, 2012 at 6:28 AM, Stas Malyshev wrote:
> >
> >> For PHP we would need to have some similar behavior. PHP's current
> >> exception model is incompatible with GeneratorExitException
> >> (because PHP does not have BaseExceptions). So what
Many thanks for the feedback.
__
Raymond
On Sun, Aug 19, 2012 at 10:02 AM, Rasmus Lerdorf wrote:
> On 08/19/2012 10:29 AM, Raymond Irving wrote:
> > Hello,
> >
> > What could have cause PHP to start out so great but then slows to a
> crawl?
> > Could it be the GC?
> >
> > Number of iterations N
On 08/19/2012 10:29 AM, Raymond Irving wrote:
> Hello,
>
> What could have cause PHP to start out so great but then slows to a crawl?
> Could it be the GC?
>
> Number of iterations Node.js PHP
> ---
> 100 2.00
Am 19.08.2012 00:20, schrieb Andrew Faulds:
On 18/08/12 03:36, Tjerk Meesters wrote:
Sent from my iPhone
On 18 Aug, 2012, at 5:41 AM, Sebastian Krebs wrote:
Hi,
Don't know, how complicated this is (and also someone (not me) must
implement it, because I can't :X), but to be in sync with the
On Sun, Aug 19, 2012 at 10:29 AM, Raymond Irving wrote:
> Hello,
>
> What could have cause PHP to start out so great but then slows to a crawl?
> Could it be the GC?
>
> Number of iterations Node.js PHP
> ---
> 100
On Sun, Aug 19, 2012 at 6:28 AM, Stas Malyshev wrote:
> Hi!
>
>> For PHP we would need to have some similar behavior. PHP's current
>> exception model is incompatible with GeneratorExitException (because
>> PHP does not have BaseExceptions). So what I'd probably do instead is
>> monkeypatch a ZEND
21 matches
Mail list logo