Home
last modified time | relevance | path

Searched refs:new (Results 401 – 425 of 5902) sorted by relevance

1...<<11121314151617181920>>...237

/PHP-7.3/ext/intl/tests/
H A Dresourcebundle_internal.phpt7 $b = new ResourceBundle('de_DE', 'ICUDATA-region');
10 $b = new ResourceBundle('icuver', 'ICUDATA');
13 $b = new ResourceBundle('supplementalData', 'ICUDATA', false);
H A Dformatter_get_set_text_attribute.phpt50 // Set new attribute's value and see if it works out.
58 … $res_str .= "Formatting number with new value: " . ut_nfmt_format( $fmt, $test_number ) . "\n";
60 // Check if the new value has been set.
88 Formatting number with new value: _+_12,345.123
94 Formatting number with new value: 12,345.123_+_
100 Formatting number with new value: _-_12,345.123
106 Formatting number with new value: -12,345.123_-_
112 Formatting number with new value: ^^^^^^^^^^^12,345.123
118 Formatting number with new value: blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahb…
H A Dformatter_get_set_text_attribute_var2.phpt50 // Set new attribute's value and see if it works out.
58 … $res_str .= "Formatting number with new value: " . ut_nfmt_format( $fmt, $test_number ) . "\n";
60 // Check if the new value has been set.
88 Formatting number with new value: _+_12,345.123
94 Formatting number with new value: 12,345.123_+_
100 Formatting number with new value: _-_12,345.123
106 Formatting number with new value: -12,345.123_-_
112 Formatting number with new value: ^^^^^^^^^^^12,345.123
118 Formatting number with new value: blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahb…
H A Dbreakiter___construct_error.phpt16 var_dump(new IntlRuleBasedBreakIterator('[\p{Letter}\uFFFD]+;[:number:]+'));
21 var_dump(new IntlRuleBasedBreakIterator());
26 var_dump(new IntlRuleBasedBreakIterator(1,2,3));
31 var_dump(new IntlRuleBasedBreakIterator('[\p{Letter}\uFFFD]+;[:number:]+;', array()));
36 var_dump(new IntlRuleBasedBreakIterator('[\p{Letter}\uFFFD]+;[:number:]+;', true));
/PHP-7.3/ext/spl/tests/
H A Dbug40872.phpt19 $projects = new ProjectsList();
20 $projects->add(new Project('1'));
21 $projects->add(new Project(2));
H A Dbug52238.phpt8 throw new Exception;
12 return new ArrayIterator($this->bar());
15 var_dump(iterator_to_array(new Foo));
H A Diterator_069.phpt7 $arrOb = new ArrayObject($arr);
9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator());
11 $recItIt = new RecursiveIteratorIterator($recArrIt);
H A DarrayObject_magicMethods4.phpt35 $obj = new C;
36 $ao = new UsesMagic($obj);
39 $ao['dynamic'] = 'new';
40 $ao['dynamic'] = 'new.changed';
86 string(11) "new.changed"
103 string(11) "new.changed"
112 string(11) "new.changed"
124 string(11) "new.changed"
141 string(11) "new.changed"
160 string(11) "new.changed"
[all …]
H A DarrayObject_magicMethods6.phpt35 $obj = new C;
36 $ao = new UsesMagic($obj, ArrayObject::ARRAY_AS_PROPS);
39 $ao->dynamic = 'new';
40 $ao->dynamic = 'new.changed';
86 string(11) "new.changed"
103 string(11) "new.changed"
112 string(11) "new.changed"
124 string(11) "new.changed"
141 string(11) "new.changed"
160 string(11) "new.changed"
[all …]
H A DarrayObject___construct_basic6.phpt10 $ao = new ArrayObject(array(1,2,3));
14 $ao = new ArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST);
18 $ao = new MyArrayObject(array(1,2,3));
21 $ao = new MyArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST);
H A DarrayObject_exchangeArray_basic2.phpt6 $ao = new ArrayObject();
12 $obj = new stdClass;
19 $obj = new ArrayObject(array('key'=>'ArrayObject element'));
25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element'));
31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element')));
/PHP-7.3/ext/phar/tests/cache_list/files/
H A Dwrite2.phar.inc6 $phar = new Phar($fname);
8 $phar = new Phar(__FILE__);
12 $phar2 = new Phar(__FILE__);
/PHP-7.3/Zend/tests/
H A Dbug48408.phpt12 throw new Exception;
15 $b = new B;
16 $c = new C;
H A Dbug55156.phpt12 $x = new \ReflectionFunction('foo\test');
21 $x = new \ReflectionClass('foo\bar');
24 $x = new \ReflectionClass('foo\foo');
H A Dbug70805_2.phpt21 $a = new A;
22 $a->b = new B;
32 $t = [new C];
H A Deach_002.phpt6 $a = new stdClass;
10 $a = new stdClass;
13 $a = array(new stdClass);
H A Drope_with_exception.phpt8 throw new Exception();
13 $x = new Obj;
22 $x = new Obj;
31 $x = new Obj;
H A Dbug31102.phpt15 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
18 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
19 throw new Exception(__METHOD__);
30 eval("\$bug = new Test$test();");
/PHP-7.3/Zend/tests/try/
H A Dtry_finally_023.phpt8 throw new Exception(2);
14 throw new Exception(1);
17 foreach ([new Dtor] as $v) {
/PHP-7.3/ext/date/tests/
H A Dbug68406.phpt8 $tz1 = new DateTimeZone('Europe/Berlin');
9 $tz2 = new DateTimeZone('Europe/Berlin');
11 $d = new DateTime('2014-12-24 13:00:00', $tz1);
/PHP-7.3/Zend/tests/arg_unpack/
H A Dtraversable_throwing_exception.phpt12 throw new Exception('getIterator');
19 throw new Exception('gen');
23 test(1, 2, ...new Foo, ...[3, 4]);
/PHP-7.3/ext/soap/tests/bugs/
H A Dbug73538.phpt8 $client = new SoapClient(null, [
14 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 1]));
15 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 2]));
19 $client = new SoapClient(null, [
25 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 1])]);
26 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 2])]);
/PHP-7.3/ext/imap/tests/
H A Dimap_createmailbox_basic.phpt10 * Description: Creates a new mailbox specified by mailbox .
33 echo "Your new mailbox '$newname' has the following status:\n";
41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n";
47 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
51 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n";
62 Your new mailbox 'phpnewbox' has the following status:
/PHP-7.3/ext/phar/tests/
H A Dpharfileinfo_construct.phpt14 $a = new PharFileInfo($pname . '/oops');
21 $a = new PharFileInfo(array());
26 $a = new Phar($fname);
31 $a = new PharFileInfo($pname . '/oops/I/do/not/exist');
43 $a = new PharFileInfo(__FILE__);
/PHP-7.3/ext/spl/examples/
H A Dfindfile.inc38 parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
40 $it = new AppendIterator();
42 $it->append(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));

Completed in 68 milliseconds

1...<<11121314151617181920>>...237