Searched refs:__clone (Results 1 – 25 of 39) sorted by relevance
12
2 Test clone of DateTimeZone derived objects with __clone magic method9 public function __clone() {10 echo "-- DateTimeExt1 __clone magic method called --\n"; 14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n";25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***26 -- DateTimeExt1 __clone magic method called --
2 Test clone of DateTime derived objects with __clone magic method12 public function __clone() {13 echo "-- DateTimeExt1 __clone magic method called --\n"; 17 echo "*** Testing clone of objects derived from DateTime class with __clone magic method***\n";28 *** Testing clone of objects derived from DateTime class with __clone magic method***29 -- DateTimeExt1 __clone magic method called --
2 Bug #61782 (__clone/__destruct do not match other methods when checking access controls)6 abstract protected function __clone();10 protected function __clone() {21 public function __clone() {}28 MommasBoy::__clone
2 errmsg: __clone() cannot be static8 static function __clone() {15 Fatal error: Clone method test::__clone() cannot be static in %s on line %d
2 errmsg: __clone() cannot accept any arguments7 function __clone($var) {14 Fatal error: Method test::__clone() cannot accept any arguments in %s on line %d
2 Bug #38234 (Exception in __clone makes memory leak)6 function __clone() {
6 function __clone() {
8 Fatal error: Uncaught Error: __clone method called on non-object in %sbug42818.php:2
10 Fatal error: Uncaught Error: __clone method called on non-object in %s:%d
11 Fatal error: Uncaught Error: __clone method called on non-object in %sbug36071.php:2
12 Fatal error: Uncaught Error: __clone method called on non-object in %s:%d
9 Fatal error: Uncaught Error: __clone method called on non-object in %sbug42817.php:2
2 Bug #24884 (calling $this->__clone(); crashes php)
9 final private function __clone() {}14 public function __clone() {}19 Fatal error: Cannot override final method base::__clone() in %sclone_005.php on line %d
9 protected function __clone() {20 Fatal error: Uncaught Error: Call to protected test::__clone() from context '' in %s:%d
9 private function __clone() {20 Fatal error: Uncaught Error: Call to private test::__clone() from context '' in %s:%d
9 private function __clone() {}16 public function __clone() {}
14 public function __clone() {23 public function __clone() {
7 public function __clone() {13 public function __clone() {28 Fatal error: Trait method __clone has not been applied, because there are collisions with other tra…
19 public function __clone() {39 string(7) "__clone"
2 __clone cannot declare a return type8 function __clone() : Foo {}
20 private function __clone() {24 print "User class - private __clone\n";58 User class - private __clone
39 public function __clone() {}64 public function __clone();117 Modifiers for method TestClass::__clone():185 Modifiers for method TestClass::__clone():229 Modifiers for method TestInterface::__clone():
56 * hidden __clone58 protected function __clone()
10 public function __clone() {
Completed in 22 milliseconds