/php-src/Zend/tests/traits/ |
H A D | methods_002.phpt | 7 public function __clone() { 13 public function __clone() { 28 Fatal error: Trait method baz::__clone has not been applied as bar::__clone, because of collision w…
|
H A D | methods_001.phpt | 19 public function __clone() { 39 string(7) "__clone"
|
/php-src/ext/date/tests/ |
H A D | DateTimeZone_clone_basic4.phpt | 2 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"; 24 *** Testing clone of objects derived from DateTimeZone class with __clone magic method*** 25 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_clone_basic4.phpt | 2 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"; 27 *** Testing clone of objects derived from DateTime class with __clone magic method*** 28 -- DateTimeExt1 __clone magic method called --
|
/php-src/Zend/tests/ |
H A D | bug61782.phpt | 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() {} 29 MommasBoy::__clone
|
H A D | bug73288.phpt | 2 Bug #73288 (Segfault in __clone > Exception.toString > __get) 10 public function __clone() { 31 #0 %s(%d): NoClone->__clone()
|
H A D | bug38234.phpt | 2 Bug #38234 (Exception in __clone makes memory leak) 6 function __clone() {
|
H A D | bug74862.phpt | 2 Bug #74862 (Unable to clone instance when private __clone defined) 7 private function __clone()
|
H A D | bug74862_2.phpt | 2 Bug #74862 (Unable to clone instance when private __clone defined in a child class) 10 private function __clone()
|
/php-src/Zend/tests/enum/ |
H A D | __clone.phpt | 2 Enum __clone 9 public function __clone() { 15 Fatal error: Enum Foo cannot include magic method __clone in %s on line %d
|
/php-src/Zend/tests/errmsg/ |
H A D | errmsg_034.phpt | 2 errmsg: __clone() cannot be static 8 static function __clone() { 15 Fatal error: Method test::__clone() cannot be static in %s on line %d
|
H A D | errmsg_015.phpt | 2 errmsg: __clone() cannot accept any arguments 7 function __clone($var) { 14 Fatal error: Method test::__clone() cannot take arguments in %s on line %d
|
/php-src/Zend/tests/return_types/ |
H A D | 019.phpt | 2 __clone can only declare void return 7 function __clone() : Foo {} 11 Fatal error: Foo::__clone(): Return type must be void when declared in %s on line %d
|
/php-src/Zend/tests/readonly_props/ |
H A D | readonly_clone_error6.phpt | 2 Test that readonly properties cannot be reassigned by invoking the __clone() method directly 12 public function __clone() 23 $foo->__clone(); 29 $foo->__clone();
|
H A D | readonly_clone_success2.phpt | 2 Test that __clone() unset and reassign properties 11 public function __clone()
|
H A D | readonly_clone_error7.phpt | 2 __clone() cannot indirectly modify unlocked readonly properties 11 public function __clone()
|
H A D | readonly_clone_error5.phpt | 7 public function __clone() { 13 public function __clone() {
|
/php-src/tests/classes/ |
H A D | clone_005.phpt | 9 final protected function __clone() {} 14 public function __clone() {} 19 Fatal error: Cannot override final method base::__clone() in %sclone_005.php on line 11
|
H A D | factory_and_singleton_007.phpt | 7 protected function __clone() { 18 Fatal error: Uncaught Error: Call to protected test::__clone() from global scope in %s:%d
|
H A D | factory_and_singleton_008.phpt | 7 private function __clone() { 18 Fatal error: Uncaught Error: Call to private test::__clone() from global scope in %s:%d
|
H A D | clone_004.phpt | 9 private function __clone() {} 16 public function __clone() {}
|
H A D | clone_003.phpt | 12 public function __clone() { 21 public function __clone() {
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_isCloneable_001.phpt | 21 private function __clone() { 25 print "User class - private __clone\n"; 59 User class - private __clone
|
H A D | ReflectionMethod_getModifiers_basic.phpt | 43 public function __clone() {} 76 public function __clone(); 133 Modifiers for method TestClass::__clone(): 221 Modifiers for method TestClass::__clone(): 281 Modifiers for method TestInterface::__clone():
|
/php-src/ext/reflection/ |
H A D | php_reflection.stub.php | 25 private function __clone(): void {} function in ReflectionFunctionAbstract 255 private function __clone(): void {} function in ReflectionClass 476 private function __clone(): void {} function in ReflectionProperty 588 private function __clone(): void {} function in ReflectionClassConstant 637 private function __clone(): void {} function in ReflectionParameter 716 private function __clone(): void {} function in ReflectionType 749 private function __clone(): void {} function in ReflectionExtension 795 private function __clone(): void {} function in ReflectionZendExtension 825 private function __clone(): void {} function in ReflectionReference 846 private function __clone(): void {} function in ReflectionAttribute
|