Home
last modified time | relevance | path

Searched refs:new (Results 251 – 275 of 4967) sorted by relevance

1...<<11121314151617181920>>...199

/PHP-5.5/ext/xml/tests/
H A Dbug32001.phpt131 new testcase("UTF-8", 0, 0, 0),
132 new testcase("UTF-8", 0, 0, 1),
133 new testcase("UTF-8", 0, 1, 0),
134 new testcase("UTF-8", 0, 1, 1),
135 new testcase("UTF-16BE", 0, 0, 0),
136 new testcase("UTF-16BE", 0, 1, 0),
137 new testcase("UTF-16BE", 0, 1, 1),
138 new testcase("UTF-16LE", 0, 0, 0),
139 new testcase("UTF-16LE", 0, 1, 0),
140 new testcase("UTF-16LE", 0, 1, 1),
[all …]
/PHP-5.5/ext/reflection/tests/
H A Dbug67068.phpt9 $object = new MyClass;
10 $reflector = new \ReflectionMethod($object, 'method');
13 $closureReflector = new \ReflectionFunction($closure);
H A Dtraits003.phpt17 $x = new ReflectionClass('foo');
20 $x = new ReflectionClass('bar');
23 $x = new ReflectionClass('baz');
H A DReflectionClass_isCloneable_002.phpt8 $obj = new ReflectionClass('foo');
13 $obj = new ReflectionClass('bar');
18 $obj = new ReflectionClass('baz');
H A Dbug39884.phpt12 $test1 = new stubParamTest();
13 $test2 = new stubParamTest();
15 $refParam = new ReflectionParameter(array('stubParamTest', 'paramTest'), 'param');
H A Dbug49719.phpt14 $b = new B;
15 $ref = new ReflectionClass($b);
33 $b2 = new ReflectionClass('B2');
36 var_dump($prop->getValue(new b2));
H A DReflectionMethod_getStaticVariables_basic.phpt24 $methodInfo = new ReflectionMethod('TestClass::foo');
28 $methodInfo = new ReflectionMethod('TestClass::bar');
32 $methodInfo = new ReflectionMethod('TestClass::noStatics');
36 $methodInfo = new ReflectionMethod('ReflectionClass::getName');
/PHP-5.5/ext/phar/tests/cache_list/files/
H A Dwrite11.phar.inc6 $phar = new Phar($fname);
8 $p = new Phar(__FILE__);
10 $p2 = new Phar(__FILE__);
H A Dwrite12.phar.inc6 $phar = new Phar($fname);
8 $p = new Phar(__FILE__);
10 $p2 = new Phar(__FILE__);
H A Dwrite9.phar.inc6 $phar = new Phar($fname);
8 $p = new Phar(__FILE__);
10 $p2 = new Phar(__FILE__);
H A Dwrite13.phar.inc6 $phar = new Phar($fname);
8 $p = new Phar(__FILE__);
10 $p2 = new Phar(__FILE__);
/PHP-5.5/Zend/tests/
H A Dclass_alias_021.phpt14 var_dump(new bar);
15 var_dump(new stdClass);
16 var_dump(new \baz);
H A Dindirect_method_call_004.phpt11 $this->z = new stdclass;
18 var_dump(clone (new bar)->z);
19 var_dump(clone (new bar)->getZ());
H A Dbug32226.phpt12 throw new Exception();
19 throw new Exception();
25 $a = new A();
H A Dbug31102.phpt16 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
19 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
20 throw new Exception(__METHOD__);
31 eval("\$bug = new Test$test();");
/PHP-5.5/ext/spl/tests/
H A Dspl_006.phpt6 $it = new AppendIterator();
7 $it->append(new ArrayIterator(array(1,2)));
8 $it->append(new ArrayIterator(array(2,3)));
H A DarrayObject_magicMethods3.phpt31 $obj = new UsesMagic;
33 $ao = new ArrayObject($obj, ArrayObject::ARRAY_AS_PROPS);
36 $ao->dynamic = 'new';
37 $ao->dynamic = 'new.changed';
83 string(11) "new.changed"
98 string(11) "new.changed"
107 string(11) "new.changed"
119 string(11) "new.changed"
134 string(11) "new.changed"
153 string(11) "new.changed"
[all …]
H A Darray_013.phpt14 $it = new ArrayIterator($a);
26 foreach(new NoRewindIterator($it) as $key => $val)
42 $o = new test;
43 $it = new ArrayIterator($o);
55 foreach(new NoRewindIterator($it) as $key => $val)
H A Dspl_autoload_014.phpt26 $al1 = new Autoloader('d1');
27 $al2 = new WorkingAutoloader('d2');
33 $x = new TestX;
38 $y = new TestY;
H A Dbug68128.phpt6 $array = new ArrayIterator(array('a', array('b', 'c')));
7 $regex = new RegexIterator($array, '/Array/');
13 $rArrayIterator = new RecursiveArrayIterator(array('test1', array('tet3', 'test4', 'test5')));
14 $rRegexIterator = new RecursiveRegexIterator($rArrayIterator, '/^(t)est(\d*)/',
/PHP-5.5/tests/lang/
H A Dbug21669.phpt2 Bug #21669 ("$obj = new $this->var;" doesn't work)
14 $obj = new $this->name; /* Parse error */
18 $factory = new Factory;
H A Dcompare_objects_basic1.phpt28 $obj1 = new class1();
29 $obj2 = new class2();
30 $obj3 = new class3();
31 $obj4 = new class4();
32 $obj5 = new class5();
H A Dbug26866.phpt12 throw new Exception('Exception!');
13 return new bar();
16 $foo = new foo();
/PHP-5.5/ext/intl/tests/
H A Dformatter_get_set_text_attribute.phpt49 // Set new attribute's value and see if it works out.
57 … $res_str .= "Formatting number with new value: " . ut_nfmt_format( $fmt, $test_number ) . "\n";
59 // Check if the new value has been set.
87 Formatting number with new value: _+_12,345.123
93 Formatting number with new value: 12,345.123_+_
99 Formatting number with new value: _-_12,345.123
105 Formatting number with new value: -12,345.123_-_
111 Formatting number with new value: ^^^^^^^^^^^12,345.123
117 Formatting number with new value: blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahb…
/PHP-5.5/ext/xmlreader/tests/
H A Dexpand.phpt6 $reader = new XMLReader();
16 <books><book>new book</book></books>';
18 $dom = new DOMDocument();
21 $reader = new XMLReader();

Completed in 24 milliseconds

1...<<11121314151617181920>>...199