Home
last modified time | relevance | path

Searched refs:clone (Results 26 – 50 of 196) sorted by relevance

12345678

/PHP-8.3/Zend/tests/
H A Dbug74862.phpt2 Bug #74862 (Unable to clone instance when private __clone defined)
24 $a = clone $this;
37 // private clone
H A Dbug74862_2.phpt2 Bug #74862 (Unable to clone instance when private __clone defined in a child class)
27 $a = clone $this;
40 // private clone
H A Dmagic_methods_001.phpt17 print "clone\n";
35 clone $a;
46 clone
H A Dbug37707.phpt2 Bug #37707 (clone without assigning leaks memory)
10 clone new testme();
/PHP-8.3/ext/intl/tests/
H A Dbreakiter_clone_basic.phpt2 IntlBreakIterator: clone handler
10 $bi_clone = clone $bi;
15 $bi_clone = clone $bi;
H A Dformatter_clone.phpt16 $fmt_clone = clone $fmt;
23 $res_str .= "Formatted(clone) number: " . ut_nfmt_format( $fmt_clone, $test_value ) . "\n";
30 Formatted(clone) number: 12345.123456
H A Dmsgfmt_clone.phpt17 $fmt_clone = clone $fmt;
22 $res_str .= "Formatting clone result: " . ut_msgfmt_format( $fmt_clone, array(123, 456) ) . "\n";
30 Formatting clone result: 123 monkeys on 456 trees
H A Ddateformat_clone2.phpt19 $fmt_clone = clone $fmt;
25 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted";
35 Result of clone formatting timestamp=0 is :
H A Dbug62915-2.phpt28 $clone = clone $obj;
29 var_dump(get_class($clone));
H A Dformatter_clone_bad_obj.phpt14 $b = clone $a;
20 string(42) "Cannot clone unconstructed NumberFormatter"
/PHP-8.3/ext/xmlreader/tests/
H A Dbug51936.phpt2 Bug #51936 (Crash with clone XMLReader)
13 $xmlreader2 = clone $xmlreader;
20 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class XMLReader in %s:%d
/PHP-8.3/Zend/tests/readonly_props/
H A Dreadonly_clone_success1.phpt19 var_dump(clone $foo);
21 $foo2 = clone $foo;
24 var_dump(clone $foo2);
H A Dreadonly_clone_error2.phpt2 Readonly property cannot be reset after cloning when there is no custom clone handler
14 $instance = clone $this;
20 $instance = clone $this;
H A Dreadonly_clone_error3.phpt2 Readonly property cannot be reset after cloning when there is a custom clone handler
16 $instance = clone $this;
22 $instance = clone $this;
/PHP-8.3/ext/spl/tests/
H A Ddit_005.phpt2 SPL: FilesystemIterator and clone
7 $b = clone $a;
13 $c = clone $a;
H A Dbug36941.phpt2 Bug #36941 (ArrayIterator does not clone itself)
9 $b = clone $a;
22 $b = clone $a;
H A Ddit_004.phpt2 SPL: DirectoryIterator and clone
12 $b = clone $a;
18 $c = clone $a;
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_unclonable.phpt2 Trying to clone mysqli object
17 $link_clone = clone $link;
23 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli in %s:%d
H A Dmysqli_result_unclonable.phpt2 Trying to clone mysqli_result object
20 $res_clone = clone $res;
24 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_result in %s:%d
H A Dmysqli_stmt_unclonable.phpt2 Trying to clone mysqli_stmt object
21 $stmt_clone = clone $stmt;
25 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_stmt in %s:%d
/PHP-8.3/ext/dom/tests/
H A DDOMElement_append_hierarchy_test.phpt12 $dom = clone $dom_original;
19 $dom = clone $dom_original;
26 $dom = clone $dom_original;
33 $dom = clone $dom_original;
43 $dom = clone $dom_original;
54 $dom = clone $dom_original;
H A DDOMElement_prepend_hierarchy_test.phpt12 $dom = clone $dom_original;
19 $dom = clone $dom_original;
26 $dom = clone $dom_original;
33 $dom = clone $dom_original;
43 $dom = clone $dom_original;
54 $dom = clone $dom_original;
H A Dbug46849.phpt2 Bug #46849 (Cloning DOMDocument doesn't clone the properties).
11 $dom2 = clone $dom;
/PHP-8.3/ext/hash/tests/
H A Dgh12186_2.phpt10 clone $c;
17 Cannot clone a finalized HashContext
/PHP-8.3/Zend/tests/enum/
H A Dno-clone.phpt11 var_dump(clone Foo::Bar);
18 Trying to clone an uncloneable object of class Foo

Completed in 22 milliseconds

12345678