fork(1) download
  1. <?php
  2. class Class1
  3. {
  4. public $property1;
  5. public $property2;
  6.  
  7. public function __construct(array $values = array("property1" => "", "property2" => ""))
  8. {
  9. foreach ($this as $property => $value) {
  10. $this->$property = $values[$property];
  11. }
  12. }
  13. }
  14. ?>
Success #stdin #stdout 0.02s 24400KB
stdin
Standard input is empty
stdout
Standard output is empty