Home
last modified time | relevance | path

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

123456

/PHP-5.5/ext/intl/tests/
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 Dbug62915-2.phpt26 $clone = clone $obj;
27 var_dump(get_class($clone));
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_clone.phpt20 $fmt_clone = clone $fmt;
26 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted";
36 Result of clone formatting timestamp=0 is :
H A Ddateformat_clone2.phpt20 $fmt_clone = clone $fmt;
26 $res_str .= "\nResult of clone formatting timestamp=0 is : \n$formatted";
36 Result of clone formatting timestamp=0 is :
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.phpt19 $z = clone $x;
24 string(39) "Cannot clone unconstructed IntlTimeZone"
/PHP-5.5/Zend/tests/
H A Dmagic_methods_001.phpt17 print "clone\n";
35 clone $a;
46 clone
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 Dbug37707.phpt2 Bug #37707 (clone without assigning leaks memory)
10 clone new testme();
H A Dbug36071.phpt2 Bug #36071 (Engine Crash related with 'clone')
7 $a = clone 0;
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);
H A Dindirect_method_call_004.phpt18 var_dump(clone (new bar)->z);
19 var_dump(clone (new bar)->getZ());
H A Dclone_004.phpt2 Testing usage of object as array on clone statement
16 $a = clone $c->b[1];
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_unclonable.phpt2 Trying to clone mysqli object
17 $link_clone = clone $link;
23 Fatal error: Trying to clone an uncloneable object of class mysqli in %s on line %d
H A Dmysqli_result_unclonable.phpt2 Trying to clone mysqli_result object
20 $res_clone = clone $res;
24 Fatal error: Trying to clone an uncloneable object of class mysqli_result in %s on line %d
H A Dmysqli_stmt_unclonable.phpt2 Trying to clone mysqli_stmt object
21 $stmt_clone = clone $stmt;
25 Fatal error: Trying to clone an uncloneable object of class mysqli_stmt in %s on line %d
/PHP-5.5/Zend/tests/generators/
H A Dclone.phpt11 clone $gen;
15 Fatal error: Trying to clone an uncloneable object of class Generator in %s on line %d
/PHP-5.5/ext/dom/tests/
H A Dbug46849.phpt2 Bug #46849 (Cloning DOMDocument doesn't clone the properties).
11 $dom2 = clone $dom;
/PHP-5.5/ext/date/tests/
H A Dbug48476.phpt14 $x = clone $o;
18 clone $o;
21 var_dump(timezone_location_get(clone new MyDateTimezone));
/PHP-5.5/tests/classes/
H A Dclone_003.phpt24 $this->p5 = 'clone:5';
30 $copy = clone $obj;
54 [p5] => clone:5

Completed in 28 milliseconds

123456