Hi Mathias,
Mathias Grimm wrote:
I would like to suggest a method constant that could be used the same way
we use the ::class one
I don't have a strong personal preference but it could be something like:
MyController::myActionMethod::method, no sure about the internals but it
would be consiste
On 12/10/2017 22:32, Sara Golemon wrote:
answer, but (Foo::class.'::bar') may be what some would expect.
Ideally we'd have first-class references to functions.
-Sara
To chime in..
To my mind, references to functions is the holy grail so far as
beginning to clean up the entire ecosystem arou
On 12/10/2017 22:32, Sara Golemon wrote:
> Ideally we'd have first-class references to functions.
> -Sara
To chime in..
To my mind, references to functions is the holy grail so far as
beginning to clean up the entire ecosystem around function calls.
IMHO directly referencing MyClass::StaticFu
Hello, in the php-src repository there are few files mentioning the
contributing procedure. If I may suggest few improvements and
readability cosmetics:
https://github.com/php/php-src/pull/2833
What has been changed so far?
- PHP installation procedure would be best described at a single entry
php
On Fri, Oct 13, 2017 at 3:40 AM, Thomas Punt wrote:
> Morning internals,
>
>
> I'd like to propose an RFC to make the heredoc and nowdoc syntaxes more
> flexible[1]. Any thoughts?
>
I really like this, and I don't think it's that hard to not use the marker
in the body at the far left of a line u
On 10/13/2017 11:40 AM, Thomas Punt wrote:
> Morning internals,
>
>
> I'd like to propose an RFC to make the heredoc and nowdoc syntaxes more
> flexible[1]. Any thoughts?
>
>
> Thanks,
>
> Tom
>
>
> [1]: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes
>
Hi Tom!
I love it, defin
Morning internals,
I'd like to propose an RFC to make the heredoc and nowdoc syntaxes more
flexible[1]. Any thoughts?
Thanks,
Tom
[1]: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes
>
> I also thought about the same for functions, just to be even more
> consistent.
> my_func::function
I already had the exact same ideas, but didn't propose them yet.
$obj::foo::method could be used for instance methods, while
Obj::foo::method could be for static methods.
Regards, Niklas
Hey,
please add the voting dates below / above the vote on the RFC's page,
thanks!
Regards, Niklas
2017-10-10 0:12 GMT+02:00 BohwaZ/PHP :
> Kia ora,
>
> After some more discussions, I don't think we have much left to discuss on
> that topic, so…
>
> Voting is now open for 2 weeks on this RFC:
>