title: When should I use stdClass and when should I use an array in php oo code?
body: <p>In the middle of a period of big refactoring at work, I wish to introduce stdClass ***** as a way to return data from functions and I'm trying to find non-subjective arguments to support my decision.</p>
  <p>Are there any situations when would it be best to use one instead of the other ??</p>
  <p>What benefits would I get to use stdClass instead of arrays ??</p>
  <hr />
  <p><em>Some would say that functions have to be as little and specific to be able to return one single value. My decision to use stdClass is temporal, as I hope to find the right Value Objects for each process on the long run.</em></p>