This could be a wonderful new feature for PHP 8: https://github.com/nikic/scalar_objects
$string = "Hello world"; $string->toUpper()->replaceAll("world", "PHP 8"); On Fri, Mar 29, 2019 at 12:43 PM Sara Golemon <poll...@php.net> wrote: > On Fri, Mar 29, 2019 at 7:40 AM Joe Watkins <krak...@php.net> wrote: > > Since we now have a result for JIT and we know it will be included > > in PHP 8, I think it's time to visit the idea brought up in discussion > > to have preview releases of PHP 8. > > > > I'm interested in hearing what kind of schedules we think are going > > to be useful - it's tempting to say let's track PHP-7.4 releases, > > possibly with a bi-monthly interval, but I'm not sure if that may > > be too soon, or too slow, or too fast. > > > IMO, preview releases should (for the time being) be largely driven by the > progress of branch. And by branch, let's be honest, I really mean the > JIT. So for the rest of 2019, this essentially (but not completely) means > "When Dmitry wants something taken for a spin". Maybe he rolls those, I > don't mind rolling them for him if he's not inclined to do it. > > Coming into 2020, I think we should have monthly previews beginning one > month after 7.4.0 GA until we reach the normal alpha period. (Preceding > sentence is entirely provisional and subject to review as that time > approaches) > > -Sara >