Hey,
Le dim. 15 mars 2015 à 01:54, Niklas Keller a écrit :
> Morning,
>
> I'd like to announce that I'll open the vote for the in operator later
> that day.
> You can find the RFC here: https://wiki.php.net/rfc/in_operator
>
> There was a small change: If the haystack is a string, integers are n
On Sun, Mar 15, 2015 at 10:07 PM, Yasuo Ohgaki wrote:
> Hi Netroby,
>
> On Mon, Mar 16, 2015 at 12:03 PM, Netroby wrote:
>
> > Does the "in" support this kind of php code ?
> >
> > ```php
> > > $arr = ['a', 'b', 'c'];
> > for ($v in $arr) {
> > echo $v;
> > }
> >
> >
> > ```
> >
> > I know
On 3/16/15 2:21 AM, Stanislav Malyshev wrote:
> > if ($zebra in $zoo) {}
> Two things here:
>
> 1. If you're looking whether your zoo has a zebra, and you're doing it
> by inspecting every inch of your zoo and checking if it doesn't contain
> a zebra by any chance, you're running your zoo wrong. I
On 3/15/15 11:05 PM, Yasuo Ohgaki wrote:
> Hi all,
>
> On Mon, Mar 16, 2015 at 11:50 AM, Eli wrote:
>> Currently, I can speak for myself, I almost always find myself doing a
>> 'backup' step in coding. Because in this situation my process becomes:
>>
>> if ($zebra ... Oh wait, can't do that, nee
Hi!
> But I'd like to know from your POV: Does this harm anything?
Depends on what you see as "harm". Complicating the language is kind of
harm. Introducing stuff that promotes patterns that are not always best,
and that do a bit too much, and look too much like something in
different languages
Hi Netroby,
On Mon, Mar 16, 2015 at 12:03 PM, Netroby wrote:
> Does the "in" support this kind of php code ?
>
> ```php
> $arr = ['a', 'b', 'c'];
> for ($v in $arr) {
> echo $v;
> }
>
>
> ```
>
> I know javascript has this kind of support
>
>
> https://developer.mozilla.org/en-US/docs/Web/J
Hi all,
On Mon, Mar 16, 2015 at 11:50 AM, Eli wrote:
> On 3/14/15 10:34 PM, Stanislav Malyshev wrote:
>
> Hi!
>
>
> I'd like to announce that I'll open the vote for the in operator later that
> day.
> You can find the RFC here: https://wiki.php.net/rfc/in_operator
>
> I think this operator is
Does the "in" support this kind of php code ?
```php
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in
Appreciate your time.
Netroby
2015-03-16 10:50 GMT+08:00 Eli :
> On 3/14/15 10:34 PM, Stanislav Malyshev wrote:
>
> Hi!
>
> I'd
On 3/14/15 10:34 PM, Stanislav Malyshev wrote:
> Hi!
>
>> I'd like to announce that I'll open the vote for the in operator later that
>> day.
>> You can find the RFC here: https://wiki.php.net/rfc/in_operator
> I think this operator is unnecessary - we already have perfectly good
> function that d
Hi!
>> I think this operator is unnecessary - we already have perfectly good
>> function that does the same.
>
> If they were "perfectly good", ...
I think you forgot to finish your argument here.
>> a set of values. Since efficient implementation of the set in PHP would
>> have the value being
On 15 March 2015 at 00:54, Niklas Keller wrote:
> Morning,
>
> I'd like to announce that I'll open the vote for the in operator later that
> day.
> You can find the RFC here: https://wiki.php.net/rfc/in_operator
We've discussed this elsewhere and the RFC is still lacking one thing
- any justific
2015-03-15 3:34 GMT+01:00 Stanislav Malyshev :
> Hi!
>
>> I'd like to announce that I'll open the vote for the in operator later that
>> day.
>> You can find the RFC here: https://wiki.php.net/rfc/in_operator
>
> I think this operator is unnecessary - we already have perfectly good
> function that
Hi!
> I'd like to announce that I'll open the vote for the in operator later that
> day.
> You can find the RFC here: https://wiki.php.net/rfc/in_operator
I think this operator is unnecessary - we already have perfectly good
function that does the same. Also, since it checks the values and not
t
Hi Niklas,
On Sun, Mar 15, 2015 at 9:54 AM, Niklas Keller wrote:
> I'd like to announce that I'll open the vote for the in operator later
> that day.
> You can find the RFC here: https://wiki.php.net/rfc/in_operator
>
> There was a small change: If the haystack is a string, integers are no
> lon
2015-03-15 2:48 GMT+01:00 Antonio Carlos Ribeiro
:
> Niklas,
>
> I have to thank you for creating this RFC, I simply love it, every time I
> have to use in_array() I feel PHP misses an "in" operator. I cannot vote,
> but you have my spiritual support :)
Thanks for your feedback. :)
> Antonio Car
Niklas,
I have to thank you for creating this RFC, I simply love it, every time I
have to use in_array() I feel PHP misses an "in" operator. I cannot vote,
but you have my spiritual support :)
Antonio Carlos Ribeiro
a...@antoniocarlosribeiro.com
(+55) 21-9-8088-2233 (celular TIM)
(+55) 21-2556-
Morning,
I'd like to announce that I'll open the vote for the in operator later that day.
You can find the RFC here: https://wiki.php.net/rfc/in_operator
There was a small change: If the haystack is a string, integers are no
longer allowed as needle. This change was necessary so it's
consistently
17 matches
Mail list logo