Re: [PHP-DEV] [RFC - discussion] __toArray()

This is only part of a thread. view whole thread
  108416
February 6, 2020 19:03 mike@newclarity.net (Mike Schinkel)
> > On Feb 6, 2020 at 7:06 AM, mailto:nikita.ppv@gmail.com)> wrote: > > While there are quite a few places where objects can be implicitly > > converted to strings (say echo, concatenation, etc), there are not > > a lot of places where objects can be implicitly converted to array. > > A quick grep has around 500 string conversions in the codebase, > > and 20 array conversions. > > > Out of curiosity, what did you grep for in both cases?
Were those string conversions done with casting to string? -Mike
> > > >