Home
last modified time | relevance | path

Searched refs:clone (Results 51 – 75 of 211) sorted by relevance

123456789

/php-src/ext/dom/tests/
H A Dbug46849.phpt2 Bug #46849 (Cloning DOMDocument doesn't clone the properties).
11 $dom2 = clone $dom;
H A DDOMXPath_clone.phpt15 clone $xpath;
22 Trying to clone an uncloneable object of class DOMXPath
/php-src/Zend/tests/enum/
H A Dno-clone.phpt11 var_dump(clone Foo::Bar);
18 Trying to clone an uncloneable object of class Foo
/php-src/ext/hash/tests/
H A Dgh12186_2.phpt10 clone $c;
17 Cannot clone a finalized HashContext
/php-src/ext/intl/tests/
H A Dformatter_clone_bad_obj.phpt14 $b = clone $a;
20 string(42) "Cannot clone unconstructed NumberFormatter"
H A Ddateformat_clone_bad_obj.phpt14 $b = clone $a;
20 string(%s) "Cannot clone unconstructed IntlDateFormatter"
H A Dmsgfmt_clone_bad_obj.phpt14 $b = clone $a;
20 string(%d) "Cannot clone unconstructed MessageFormatter"
H A Dbug62915.phpt17 $z = clone $x;
23 string(39) "Cannot clone unconstructed IntlTimeZone"
H A Ddatepatterngenerator_clone.phpt2 IntlDatePatternGenerator::getBestPattern(): clone
13 $dtpg_clone = clone $dtpg;
H A Dtransliterator_clone.phpt2 Transliterator clone handler
13 $u = clone $t;
/php-src/Zend/tests/
H A Dclone_001.phpt2 Using clone statement on non-object
6 $a = clone array();
H A Dbug42818.phpt2 Bug #42818 ($foo = clone(array()); leaks memory)
5 $foo = clone(array());
H A Dgh11244-004.phpt10 $clone = clone $obj;
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;
H A Dbug42817.phpt2 Bug #42817 (clone() on a non-object does not result in a fatal error)
5 $a = clone(null);
/php-src/tests/classes/
H A Dclone_003.phpt22 $this->p5 = 'clone:5';
28 $copy = clone $obj;
53 [p5] => clone:5
H A Dfactory_and_singleton_007.phpt12 $clone = clone $obj;
H A Dfactory_and_singleton_008.phpt12 $clone = clone $obj;
/php-src/ext/dom/tests/modern/spec/
H A Dclone_entity_reference.phpt16 $clone = $dom->documentElement->cloneNode(true);
17 echo $dom->saveXML($clone), "\n";
19 var_dump($clone->firstChild->firstChild);
/php-src/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-src/ext/pdo/tests/
H A Dbug_77849_2.phpt9 clone $stmt;
12 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class PDOStatement in %s:4
/php-src/ext/xml/tests/
H A Dbug78563.phpt9 clone $parser;
14 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class XMLParser in %s:%d
/php-src/ext/gd/tests/
H A Dgdimage_prevent_cloning.phpt9 $img_dst = clone $img_src;
13 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class GdImage in %s:%d

Completed in 20 milliseconds

123456789