Comment

Comment by NewsReader42

The json_decode() function decodes the value passed as a string (JSON) into the data in correct format (in this case: an array).....

That's incorrect. json_decode with no second argument creates a standard object not an array. If you want an array then pass true as the second argument

parent NewsReader42 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton