How do I define a default value for an array in php to avoid undefined offset?
<p>I am using this code using isset to check if empty:</p>

<pre><code>    if(!isset($this-&gt;objCodes[0]-&gt;SignupCode))$this-&gt;objCodes[0]-&gt;"NULL";
</code></pre>

<p>But it doesn't work.  Help?</p>
