Home
last modified time | relevance | path

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

1234567

/PHP-7.4/Zend/tests/
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();
H A Dbug42818.phpt2 Bug #42818 ($foo = clone(array()); leaks memory)
5 $foo = clone(array());
H A Dclone_001.phpt2 Using clone statement on non-object
6 $a = clone array();
H A Dbug36071.phpt2 Bug #36071 (Engine Crash related with 'clone')
7 $a = clone 0;
H A Dindirect_method_call_004.phpt18 var_dump(clone (new bar)->z);
19 var_dump(clone (new bar)->getZ());
H A Dclone_003.phpt2 Using clone statement on undefined variable
6 $a = clone $b;
/PHP-7.4/ext/intl/tests/
H A Dtimezone_clone_error.phpt2 IntlTimeZone clone handler: error test
18 var_dump(clone $tz);
31 string(39) "Cannot clone unconstructed IntlTimeZone"
H A Dbreakiter_clone_basic.phpt2 IntlBreakIterator: clone handler
12 $bi_clone = clone $bi;
17 $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 Dformatter_clone_bad_obj.phpt14 $b = clone $a;
19 string(42) "Cannot clone unconstructed NumberFormatter"
H A Dmsgfmt_clone_bad_obj.phpt14 $b = clone $a;
19 string(%d) "Cannot clone unconstructed MessageFormatter"
H A Ddateformat_clone_bad_obj.phpt14 $b = clone $a;
19 string(%s) "Cannot clone unconstructed IntlDateFormatter"
H A Dbug62915-2.phpt28 $clone = clone $obj;
29 var_dump(get_class($clone));
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 :
/PHP-7.4/ext/spl/tests/
H A Dbug36941.phpt2 Bug #36941 (ArrayIterator does not clone itself)
9 $b = clone $a;
22 $b = clone $a;
H A Ddit_005.phpt2 SPL: FilesystemIterator and clone
7 $b = clone $a;
13 $c = clone $a;
/PHP-7.4/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-7.4/ext/dom/tests/
H A Dbug46849.phpt2 Bug #46849 (Cloning DOMDocument doesn't clone the properties).
11 $dom2 = clone $dom;
/PHP-7.4/Zend/tests/generators/
H A Dclone.phpt11 clone $gen;
15 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class Generator in %s:%d
/PHP-7.4/tests/classes/
H A Dclone_003.phpt22 $this->p5 = 'clone:5';
28 $copy = clone $obj;
52 [p5] => clone:5

Completed in 24 milliseconds

1234567