菜谱项目

Foo.php 148B

1234567891011121314
  1. <?php
  2. namespace DeepCopy\f005;
  3. class Foo
  4. {
  5. public $cloned = false;
  6. public function __clone()
  7. {
  8. $this->cloned = true;
  9. }
  10. }