How to convert the ASP code snippet to PHP?
<pre><code>function isChongHao(ary,i,j)
    if ary(i-1,j)&lt;&gt;0 or ary(i+1,j) then
     isChongHao=true
     exit function
    end if
    isChongHao=false
end function
</code></pre>
