fork download
  1. <?php
  2.  
  3. class Test {
  4. public $first;
  5. public $second;
  6. }
  7.  
  8. $a = new Test;
  9.  
  10.  
  11. $a->first = "хуй";
  12. $a->second = "пизда";
  13.  
  14.  
  15.  
  16. $a->third = "котик";
  17.  
  18.  
  19.  
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
object(Test)#1 (2) {
  ["first"]=>
  NULL
  ["second"]=>
  NULL
}
object(Test)#1 (2) {
  ["first"]=>
  string(6) "хуй"
  ["second"]=>
  string(10) "пизда"
}
object(Test)#1 (3) {
  ["first"]=>
  string(6) "хуй"
  ["second"]=>
  string(10) "пизда"
  ["third"]=>
  string(10) "котик"
}