I have a simple class like below with some defined properties:

class model
{
    public $fakeUser = 'user';
    public $ENABLED_IF_LOGIN='disabled',
           $DISABLED_IF_LOGIN='',
           $HIDE_IF_LOGIN='',
           $SHOW_IF_LOGIN='hide',
           $SHOW_IF_EMAIL_VERIFIED='',
           $SHOW_IF_MOB_VERIFIED='',
           $SHOW_IF_INFO_VERIFIED='',
           $SHOW_IF_ADDR_VERIFIED='',

           $HIDE_IF_EMAIL_VERIFIED='',
           $HIDE_IF_MOB_VERIFIED='',
           $HIDE_IF_INFO_VERIFIED='',
           $HIDE_IF_ADDR_VERIFIED='';.

   function __construct()
   {

   }
}


these properties are changing during the execution.

how can I set default class properties when I call __construct().

I tried this but I have problem with new model:

$prop = get_object_vars(new model);
foreach($prop as $k=&gt;$v)
     $this-&gt;{$k} = $v;



Question: 'Trying to help someone, but the other party doesn't appreciate it'
Answer: Ungrateful.

Pretty obvious answer.