Re: [PHP-DEV] Re: PHP 8 Preview Releases

2019-03-29 Thread Alan Willms
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 wrote: > On Fri, Mar 29, 2019 at 7:40 AM Joe Watkins wrote: > > Since we now have

Re: [PHP-DEV] PHP7 and types

2015-07-12 Thread Alan Willms
What about arrays? How do I declare Foo[] ? http://ocramius.github.io/extremely-defensive-php/#/69 2015-07-12 16:37 GMT-03:00 Larry Garfield : > On 07/12/2015 11:16 AM, Marcio Almada wrote: > >> Stas, >> >> 2015-07-12 5:10 GMT-03:00 Stanislav Malyshev : >> >>> Hi! >>> >>> Not completely bogus.