[PHP-DEV] PCRE2 support

2017-10-14 Thread Anatol Belski
Hi, I experimented with PCRE2 and created https://github.com/php/php-src/pull/2857 . So far the implementation covers all the core functionality depending on libpcre. It adds no new userland features, only the existing functionality is mapped for now. The internal API is to the big part compat

Re: [PHP-DEV] Re: Suggestion Method Constant

2017-10-14 Thread Niklas Keller
> > 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

Re: [PHP-DEV] Re: Suggestion Method Constant

2017-10-14 Thread Michael Döhler
Hi, maybe the introduce of a complete new syntax for method references would solve the issues? Maybe coming back to e.g. "#" ("@" is still used for supressing errors,...)? As mentions before all kinds can be simplified or? See: MyClass#myMethod #function This should resolve in an object as m