Dear Internals,
I would like to as you a question. I know that it is possible to use an
array to function parameters like: function(...array); But this method is
not working when the array is associative.
Would not be fine if an array like ['param1'=>'value', 'param2' => 'value']
would be used in
hello,
due to the very bad quality and majority of missing chapters and of the
neglected turkish translation of php documentation, I would like to acquire
the admin management of the doc...@lists.php.net
Thanks,
Midori Kocak
Hello,
My talk about proposing Null Coalescing Assignment operator in PHPConf 2019
in Istanbul was published. If you would like to share what is a newbie
experience to people who are interested inn internals you can share it. :)
https://www.youtube.com/watch?v=AdKya1HLDZQ&list=PLc15X3-Essu7Qc9lBG
observable side-effects in this programming language: let's please
> keep it as such.
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On Tue, Feb 4, 2020 at 8:15 AM Midori Koçak wrote:
>
>> As you know we have __toStr
Oh there is even a rfc. https://wiki.php.net/rfc/to-array What is the
status of this?
On Tue, 4 Feb 2020 at 08:18, Midori Koçak wrote:
> Or we can deprecate __toString() method at all and detect cast events
> instead. Would it make more sense? Something like this __casted().
>
> P.
Or we can deprecate __toString() method at all and detect cast events
instead. Would it make more sense? Something like this __casted().
P.S: I saw the previous conversation but hence now we have types, it would
make sense.
Midori
On Tue, 4 Feb 2020 at 08:15, Midori Koçak wrote:
> As you k
As you know we have __toString method that runs whenever an object is
typecasted to string or it is directly echoed.
'value'
];
}
});
$casted = (array)$class;
print_r($casted);
/*
prints:
Array
(
[key] => value
)
mahmut
*/
What would you think? I think it would add value.
Given this orientation, can we also have this debated once more?
https://wiki.php.net/rfc/callable-types
Right now, I am using 7.4.2 in production and in my next book and I cannot
explain how it feels good to have those types but along with the loosely
typed freedom. That's the killer advantage o
Hello,
I would like to translate some of the 7.4 documentation into turkish. It
seems like wiki username and password does not work for documentation. I
could not find the list of language mail lists as well. (it says
doc-{LANG}@lists.php.net but where?)
Any ideas?
Thanks,
Midori
Wow.
A RFC that it's motivation is to prevent beginners from asking questions.
That's horrible.
I rather prefer a CoC. What about this? https://confcodeofconduct.com/
On Thu, 19 Sep 2019 at 19:19, Dan Ackroyd wrote:
> Hi internals,
>
> Here is an RFC to "Prevent disruptions of conversations
+1
On Sun, 11 Aug 2019, 07:32 Andi Gutmans, wrote:
> I must admit that the first time I read Zeev’s email I got anxious... but
> it is frustrating that PHP has a WAY better runtime than Python and most
> other dynamic languages yet is falling out of fashion. It’s strange given
> how much better
I do completely agree with this and would like to be part of it. I am
really frustrated to see old developers shrug every time I talk about php.
I am enthusiastic about our language, the language I started coding with
and the language that evolved in years while I was learning it.
2 years ago, whi
I can do some design, I designed the UI of CakePHP framework generators in
2015. You can see the whole process here:
https://github.com/cakephp/cakephp/issues/6679
We should not rely on any css, js or html framework in my opinion. But it's up
to you.
For layout, CSS Grid and Flexbox is more th
Totally agree with this. The new and old can exist both. We should be open
to change.
On Thu, 31 Jan 2019, 11:53 Benjamin Morel Please forgive my stubborness, too. I fail to see how WordPress supporting
> PHP versions that have been EOL for YEARS can be of any help to the
> community? These versi
Can we also add strange function names without any naming conventions to
this list? Without undersore: strcspn, With underscore: str_repeat, chain
of abrevs: strnatcasecmp. Similar namings do exist for array functions
either.
Cheers,
Midori
On Tue, 22 Jan 2019 at 22:22, Girgias wrote:
> On Tue
+1
This kind of language shouldn't be allowed here.
On 4 April 2018 at 20:42, Derick Rethans wrote:
> Hi,
>
> "rhsoft" continues their aggressive behaviour on the bug tracker still
> too. One recent illustration is
> https://bugs.php.net/bug.php?id=76184&edit=1
>
> Do we have any methods to ban
Sounded reasonable to me. At least for security.
On 11 February 2018 at 21:24, Stanislav Malyshev
wrote:
> Hi!
>
> > It's absolutely impossible to treat notices as errors in PHP, so I
> > assume everybody thinks the same. If someone converts notices to
> > ErrorExceptions or something, it's thei
What is going on here? I think I missed the original post.
On 19 January 2018 at 16:12, Sara Golemon wrote:
> On Thu, Jan 18, 2018 at 7:13 PM, Christoph M. Becker
> wrote:
> > On 18.01.2018 at 23:58, Stanislav Malyshev wrote:
> >
> >>> I propose even more such operators:
> >>> null coalesce add
Hi Internals,
Happy world elephant day for all of internals community. Did you know there
are 400.000 elephants left all around the world and every year 40.000 of
them are dying for the ivory trade.
Happy world elephant day again,
Midori Kocak
I can help.
> On 19 Jul 2017, at 19:07, Mathias Grimm wrote:
>
> Hi,
>
> I would like to know who is/are "in charge" of the website (
> https://github.com/php/web-php).
> I think I would like to help improving it a bit.
>
> I can possibly understand the reasons why it is still like it is, code
In my opinion, we can implement it for primitives and arrays, but it's a
bit more political problem than a technical one.
On 29 May 2017 at 19:24, Sara Golemon wrote:
> On Mon, May 29, 2017 at 6:41 AM, Björn Larsson
> wrote:
> > I wonder if the accompanying RFC will move forward?
> > - https://
I suggest to implement ??= for primitive types. Please discuss.
Thanks.
> On 21 May 2017, at 02:08, Sara Golemon wrote:
>
> On Thu, Apr 20, 2017 at 11:43 AM, Sara Golemon wrote:
>> My how time flies! Feature Freeze for PHP-7.2 is coming up in exactly
>> THREE MONTHS on July 20th. Get your RF
only allowed method is bar in this state
public function foo(1,2)(bar);
// if allowed methods are empty or not defined
// object is destructed
public function bar(3,4){
};
}
An object can be instance of a class, if it's not defined, is instance of
an anonymous class.
--
what is sugar?
On Monday, 11 April 2016, S.A.N wrote:
> Maybe even more sugar? :)
>
>
> class SugarCache
> {
> // Methode getValueFromDB() called, if its value null
> public $value ??= $this->getValueFromDB();
>
> // Methode getValueFromDB() called, if $value not transmitted or null
> value
24 matches
Mail list logo