Array to String Conversion

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 2398 Views - Last Post: 13 May 2015 - 06:06 AM

#16 Ornstein  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 5
  • Joined: 13-May 15

Re: Array to String Conversion

Posted 13 May 2015 - 06:06 AM

__debugInfo allows you to define your own values to be displayed. You could for example just return $this->getArrayCopy() and it would display the array values without all the "["storage":"ArrayObject":private]" and whatever else may be going on inside there.

That said, I've just noticed it's a 5.6+ feature - so not all that useful anyway.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2