Hi,

try:
_______
class A
{
  protected $a;
  public function __construct()
  {
      if(!isset($this->a))
      {
          $this->a = 'd';
      }
      unset($this->a);
      if(!isset($this->a))
      {
          $this->a = 'd';
      }
  }

   public function __set($columnName, $value)
   {
       echo 'New value : ' . $value . ' for '. $columnName;
   }
}

new A();
______

This is really not right! '=' have different semantic depending on the situation. huh! huh!

Cheers

- Mathieu Suen

Reply via email to