Re: [PHP-DEV] A little syntactic sugar on array_* function calls?

This is only part of a thread. view whole thread
  114615
May 26, 2021 11:51 ocramius@gmail.com (Marco Pivetta)
On Wed, May 26, 2021 at 1:03 PM Mike Schinkel <mike@newclarity.net> wrote:

> > > > On May 25, 2021, at 6:28 PM, Iván Arias <txigreman@hotmail.com> wrote: > > > > Hi all, > > > > It sounds like scalar objects by Nikita: > https://github.com/nikic/scalar_objects > > Yes, but Nikita wrote this note about technical limitations at the bottom > of the repo README: > > Due to technical limitations, it is not possible to create mutable APIs > for primitive types. Modifying $self within the methods is not possible (or > rather, will have no effect, as you'd just be changing a copy). >
Sounds like a big **advantage**? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/