How to replace array value in PHP
<p>I need to replace below array "[4] => 1 " 4th value based condition. 1 => "Hello" or 0 =>"Hai"</p>

<pre><code>Array (
[0] =&gt; Array ( [0] =&gt; 33 [1] =&gt; Test [2] =&gt; test2@gmail.com [3] =&gt; [4] =&gt; 1 )
[1] =&gt; Array ( [0] =&gt; 36 [1] =&gt; Test2 [2] =&gt; test3@gmail.com [3] =&gt; [4] =&gt; 0 )
[2] =&gt; Array ( [0] =&gt; 37 [1] =&gt; Test4 [2] =&gt; test4@gmail.com [3] =&gt; [4] =&gt; 0 )
[3] =&gt; Array ( [0] =&gt; 38 [1] =&gt; Test5 [2] =&gt; test5@gmail.com [3] =&gt; [4] =&gt; 0 )
)
</code></pre>

<p>Please let me know how to do it in PHP.</p>
