php json_decode not working for large string
<p>can anyone please help me to sort out <code>json_decode</code> issue , here is my json string which is working fine - </p>

<pre><code>{"323":"723","317":"704","316": {"date":"28\/12\/2016"},"314":"701","315": {"area":"sdfgdfg"}}
</code></pre>

<p>but if I add one more key value pair then json_decode function does not work.</p>

<pre><code>{"336":"761","323":"723","317":"704","316": {"date":"28\/12\/2016"},"314":"701","315": {"area":"test"}}
</code></pre>

<p>2nd string is not working , however at my local system both strings are working fine , what are the php config parameters I need to check ? I have increase <strong>memory limit</strong> , <strong>max execution time</strong> and <strong>max post size</strong> what else I need to check , please help.</p>

<p><strong>updated</strong> here are my codes -</p>

<pre><code>$arrProducts = array(
        array(
            "product_id" =&gt; $_REQUEST['product_id'],
            "qty" =&gt; $_REQUEST['quantity'],
            "options" =&gt; json_decode($_REQUEST['product_options'], true),
            "sku" =&gt; $_REQUEST['sku'],
            "store_id" =&gt; 1
        )
    );
print_r($arrProducts);
</code></pre>

<p>it prints blank array for the 2nd string.</p>

<p>I have checked error log , it shows - <strong>PHP Warning:  Unknown: POST Content-Length of 274 bytes exceeds the limit of 256 bytes in Unknown on line 0</strong></p>