/PHP-7.3/ext/intl/tests/ |
H A D | resourcebundle_internal.phpt | 7 $b = new ResourceBundle('de_DE', 'ICUDATA-region'); 10 $b = new ResourceBundle('icuver', 'ICUDATA'); 13 $b = new ResourceBundle('supplementalData', 'ICUDATA', false);
|
H A D | formatter_get_set_text_attribute.phpt | 50 // 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 D | formatter_get_set_text_attribute_var2.phpt | 50 // 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 D | breakiter___construct_error.phpt | 16 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 D | bug40872.phpt | 19 $projects = new ProjectsList(); 20 $projects->add(new Project('1')); 21 $projects->add(new Project(2));
|
H A D | bug52238.phpt | 8 throw new Exception; 12 return new ArrayIterator($this->bar()); 15 var_dump(iterator_to_array(new Foo));
|
H A D | iterator_069.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 11 $recItIt = new RecursiveIteratorIterator($recArrIt);
|
H A D | arrayObject_magicMethods4.phpt | 35 $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 D | arrayObject_magicMethods6.phpt | 35 $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 D | arrayObject___construct_basic6.phpt | 10 $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 D | arrayObject_exchangeArray_basic2.phpt | 6 $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 D | write2.phar.inc | 6 $phar = new Phar($fname); 8 $phar = new Phar(__FILE__); 12 $phar2 = new Phar(__FILE__);
|
/PHP-7.3/Zend/tests/ |
H A D | bug48408.phpt | 12 throw new Exception; 15 $b = new B; 16 $c = new C;
|
H A D | bug55156.phpt | 12 $x = new \ReflectionFunction('foo\test'); 21 $x = new \ReflectionClass('foo\bar'); 24 $x = new \ReflectionClass('foo\foo');
|
H A D | bug70805_2.phpt | 21 $a = new A; 22 $a->b = new B; 32 $t = [new C];
|
H A D | each_002.phpt | 6 $a = new stdClass; 10 $a = new stdClass; 13 $a = array(new stdClass);
|
H A D | rope_with_exception.phpt | 8 throw new Exception(); 13 $x = new Obj; 22 $x = new Obj; 31 $x = new Obj;
|
H A D | bug31102.phpt | 15 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 D | try_finally_023.phpt | 8 throw new Exception(2); 14 throw new Exception(1); 17 foreach ([new Dtor] as $v) {
|
/PHP-7.3/ext/date/tests/ |
H A D | bug68406.phpt | 8 $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 D | traversable_throwing_exception.phpt | 12 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 D | bug73538.phpt | 8 $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 D | imap_createmailbox_basic.phpt | 10 * 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 D | pharfileinfo_construct.phpt | 14 $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 D | findfile.inc | 38 parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path))); 40 $it = new AppendIterator(); 42 $it->append(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
|