title: Remove Last 4 Elements From Array Php
body: <p>This is my array</p>
  
  <pre><code>$array=Array( 
                  [0] =&gt; hell 
                  [1] =&gt; for 
                  [2] =&gt; sale 
                  [3] =&gt; for 
                  [4] =&gt; sale 
                  [5] =&gt; earth 
                  [6] =&gt; 0 
              )
  </code></pre>
  
  <p>and i want know how to remove last 4 elements from $array</p>
  
  <p>and just i want get "hell for sale" from $array.any one know about this?</p>