JSON converted from JS can't be decoded by PHP : <p>I am sending array as POST request which is converted to JSON using <code>JSON.stringify()</code>.</p>

<p>However, when I try to decode in PHP, it throws me some error.</p>

<pre><code>// JS
var arr1 = ['a', 'b', 'c', 'd', 'e'];
JSON.stringify({data: arr1})
</code></pre>

<p>In PHP:</p>

<pre><code>echo json_decode("{"data":["a","b","c","d","e"]}");
</code></pre>

<p>Please help me fix this!</p>
