title: Fatal error: Call to undefined function empty()
body: <p>Any idea why I'm getting this strange error?  "Fatal error: Call to undefined function  empty()"</p>
  
  <pre><code>function newpart($name,$country,$bday_day,$bday_month,$bday_year,$gender,$pass1,$pass2,$email,$option1,$secondOption1,$secondOptionLevel1){ 
  
  
          $this-&gt;name = $name;
          $this-&gt;country = $country;
          $this-&gt;bday_day = $bday_day;
          $this-&gt;bday_month = $bday_month;
          $this-&gt;bday_year = $bday_year;
          $this-&gt;gender = $gender;
          $this-&gt;pass1 = $pass1;
          $this-&gt;pass2 = $pass2;
          $this-&gt;email = $email;
          $this-&gt;option1 = $option1;
          $this-&gt;secondOption1 = $secondOption1;
          $this-&gt;secondOptionLevel1 = $secondOptionLevel1;
  
  
          if( empty($this-&gt;name) || empty($this-&gt;pass1) ){
              $this-&gt;errorCount++;
          }
  
  
  
      }
  </code></pre>