Home
last modified time | relevance | path

Searched refs:__clone (Results 1 – 25 of 39) sorted by relevance

12

/PHP-5.4/ext/date/tests/
H A DDateTimeZone_clone_basic4.phpt2 Test clone of DateTimeZone derived objects with __clone magic method
9 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 --
H A DDateTime_clone_basic4.phpt2 Test clone of DateTime derived objects with __clone magic method
12 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 --
/PHP-5.4/Zend/tests/
H A Dbug61782.phpt2 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
H A Derrmsg_014.phpt2 errmsg: cannot call __clone() method on objects
7 function __clone() {
12 $t->__clone();
17 Fatal error: Cannot call __clone() method on objects - use 'clone $obj' instead in %s on line %d
H A Derrmsg_034.phpt2 errmsg: __clone() cannot be static
8 static function __clone() {
15 Fatal error: Clone method test::__clone() cannot be static in %s on line %d
H A Derrmsg_015.phpt2 errmsg: __clone() cannot accept any arguments
7 function __clone($var) {
14 Fatal error: Method test::__clone() cannot accept any arguments in %s on line %d
H A Dbug38234.phpt2 Bug #38234 (Exception in __clone makes memory leak)
6 function __clone() {
H A Dbug42818.phpt8 Fatal error: __clone method called on non-object in %sbug42818.php on line 2
H A Dclone_001.phpt10 Fatal error: __clone method called on non-object in %s on line %d
H A Dbug37707.phpt6 function __clone() {
H A Dbug36071.phpt11 Fatal error: __clone method called on non-object in %sbug36071.php on line 2
H A Dclone_003.phpt12 Fatal error: __clone method called on non-object in %s on line %d
H A Dbug42817.phpt9 Fatal error: __clone method called on non-object in %sbug42817.php on line 2
H A Dbug24884.phpt2 Bug #24884 (calling $this->__clone(); crashes php)
H A Dzend2.php.txt189 Example 7: __clone()
201 function __clone()
219 $obj = $obj->__clone();
/PHP-5.4/tests/classes/
H A Dclone_005.phpt9 final private function __clone() {}
14 public function __clone() {}
19 Fatal error: Cannot override final method base::__clone() in %sclone_005.php on line %d
H A Dfactory_and_singleton_007.phpt9 protected function __clone() {
20 Fatal error: Call to protected test::__clone() from context '' %sfactory_and_singleton_007.php on l…
H A Dfactory_and_singleton_008.phpt9 private function __clone() {
20 Fatal error: Call to private test::__clone() from context '' %sfactory_and_singleton_008.php on lin…
H A Dclone_004.phpt9 private function __clone() {}
16 public function __clone() {}
H A Dclone_003.phpt14 public function __clone() {
23 public function __clone() {
/PHP-5.4/Zend/tests/traits/
H A Dmethods_002.phpt7 public function __clone() {
13 public function __clone() {
28 Fatal error: Trait method __clone has not been applied, because there are collisions with other tra…
H A Dmethods_001.phpt19 public function __clone() {
39 string(7) "__clone"
/PHP-5.4/ext/reflection/tests/
H A DReflectionClass_isCloneable_001.phpt20 private function __clone() {
24 print "User class - private __clone\n";
58 User class - private __clone
H A DReflectionMethod_getModifiers_basic.phpt39 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():
/PHP-5.4/ext/spl/examples/
H A Dkeyfilter.inc56 * hidden __clone
58 protected function __clone()

Completed in 27 milliseconds

12