Cannot Use Object Of Type Stdclass As Array
. .
Cannot Use Object Of Type Stdclass As Array
Aug 30 2013 nbsp 0183 32 Why does my PHP array give me quot Cannot use object of type stdClass as array quot Asked 11 years 7 months ago Modified 11 years 7 months ago Viewed 26k times . .
Jul 9 2012 nbsp 0183 32 Why is it a stdClass to begin with can t you create it as array May 30, 2011 · Note that the array contains objects (instances of stdClass), not other arrays. So the syntax is:
Cannot Use Object Of Type Stdclass As ArrayFatal error: Cannot use object of type stdClass as array in Asked 14 years, 4 months ago Modified 5 years, 5 months ago Viewed 115k times When we use json decode we get an object of type stdClass as return type The arguments which are to be passed inside of print r should either be an array or a string