Home
last modified time | relevance | path

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

12

/PHP-8.0/Zend/tests/traits/
H A Dmethods_002.phpt7 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 Dmethods_001.phpt19 public function __clone() {
39 string(7) "__clone"
/PHP-8.0/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";
24 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***
25 -- 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";
27 *** Testing clone of objects derived from DateTime class with __clone magic method***
28 -- DateTimeExt1 __clone magic method called --
/PHP-8.0/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() {}
29 MommasBoy::__clone
H A Derrmsg_034.phpt2 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 Derrmsg_015.phpt2 errmsg: __clone() cannot accept any arguments
7 function __clone($var) {
14 Fatal error: Method test::__clone() cannot take arguments in %s on line %d
H A Dbug73288.phpt2 Bug #73288 (Segfault in __clone > Exception.toString > __get)
10 public function __clone() {
31 #0 %s(%d): NoClone->__clone()
H A Dbug38234.phpt2 Bug #38234 (Exception in __clone makes memory leak)
6 function __clone() {
H A Dbug74862.phpt2 Bug #74862 (Unable to clone instance when private __clone defined)
7 private function __clone()
H A Dbug74862_2.phpt2 Bug #74862 (Unable to clone instance when private __clone defined in a child class)
10 private function __clone()
H A Dbug37707.phpt6 function __clone() {
H A Dbug42818.phpt8 Fatal error: Uncaught Error: __clone method called on non-object in %sbug42818.php:2
/PHP-8.0/Zend/tests/return_types/
H A D019.phpt2 __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-8.0/tests/classes/
H A Dclone_005.phpt9 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 Dfactory_and_singleton_007.phpt7 protected function __clone() {
18 Fatal error: Uncaught Error: Call to protected test::__clone() from global scope in %s:%d
H A Dfactory_and_singleton_008.phpt7 private function __clone() {
18 Fatal error: Uncaught Error: Call to private test::__clone() from global scope in %s:%d
H A Dclone_004.phpt9 private function __clone() {}
16 public function __clone() {}
H A Dclone_003.phpt12 public function __clone() {
21 public function __clone() {
/PHP-8.0/ext/reflection/
H A Dphp_reflection.stub.php22 final private function __clone(): void {} function in ReflectionFunctionAbstract
205 final private function __clone(): void {} function in ReflectionClass
376 final private function __clone(): void {} function in ReflectionProperty
441 final private function __clone(): void {} function in ReflectionClassConstant
478 final private function __clone(): void {} function in ReflectionParameter
557 final private function __clone(): void {} function in ReflectionType
582 final private function __clone(): void {} function in ReflectionExtension
625 final private function __clone(): void {} function in ReflectionZendExtension
654 private function __clone(): void {} function in ReflectionReference
667 private function __clone(): void {} function in ReflectionAttribute
H A Dphp_reflection_arginfo.h496 ZEND_METHOD(ReflectionClass, __clone);
694 ZEND_METHOD(ReflectionAttribute, __clone);
715 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionFunctionAbstract___clone, Z…
858 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionProperty___clone, ZEND_ACC_…
885 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionClassConstant___clone, ZEND…
902 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionParameter___clone, ZEND_ACC…
930 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionType___clone, ZEND_ACC_PRIV…
951 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionExtension___clone, ZEND_ACC…
970 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionZendExtension___clone, ZEND…
985 …ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionReference___clone, ZEND_ACC…
[all …]
/PHP-8.0/Zend/
H A Dzend_exceptions.stub.php25 final private function __clone(): void {} function in Exception
60 final private function __clone(): void {} function in Error
H A Dzend_exceptions_arginfo.h84 ZEND_METHOD(Exception, __clone);
112 ZEND_ME(Exception, __clone, arginfo_class_Exception___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
135 …ZEND_MALIAS(Exception, __clone, __clone, arginfo_class_Error___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FI…
/PHP-8.0/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.phpt43 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():

Completed in 32 milliseconds

12