/PHP-5.5/ext/xml/tests/ |
H A D | bug32001.phpt | 131 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 D | bug67068.phpt | 9 $object = new MyClass; 10 $reflector = new \ReflectionMethod($object, 'method'); 13 $closureReflector = new \ReflectionFunction($closure);
|
H A D | traits003.phpt | 17 $x = new ReflectionClass('foo'); 20 $x = new ReflectionClass('bar'); 23 $x = new ReflectionClass('baz');
|
H A D | ReflectionClass_isCloneable_002.phpt | 8 $obj = new ReflectionClass('foo'); 13 $obj = new ReflectionClass('bar'); 18 $obj = new ReflectionClass('baz');
|
H A D | bug39884.phpt | 12 $test1 = new stubParamTest(); 13 $test2 = new stubParamTest(); 15 $refParam = new ReflectionParameter(array('stubParamTest', 'paramTest'), 'param');
|
H A D | bug49719.phpt | 14 $b = new B; 15 $ref = new ReflectionClass($b); 33 $b2 = new ReflectionClass('B2'); 36 var_dump($prop->getValue(new b2));
|
H A D | ReflectionMethod_getStaticVariables_basic.phpt | 24 $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 D | write11.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__); 10 $p2 = new Phar(__FILE__);
|
H A D | write12.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__); 10 $p2 = new Phar(__FILE__);
|
H A D | write9.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__); 10 $p2 = new Phar(__FILE__);
|
H A D | write13.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__); 10 $p2 = new Phar(__FILE__);
|
/PHP-5.5/Zend/tests/ |
H A D | class_alias_021.phpt | 14 var_dump(new bar); 15 var_dump(new stdClass); 16 var_dump(new \baz);
|
H A D | indirect_method_call_004.phpt | 11 $this->z = new stdclass; 18 var_dump(clone (new bar)->z); 19 var_dump(clone (new bar)->getZ());
|
H A D | bug32226.phpt | 12 throw new Exception(); 19 throw new Exception(); 25 $a = new A();
|
H A D | bug31102.phpt | 16 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 D | spl_006.phpt | 6 $it = new AppendIterator(); 7 $it->append(new ArrayIterator(array(1,2))); 8 $it->append(new ArrayIterator(array(2,3)));
|
H A D | arrayObject_magicMethods3.phpt | 31 $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 D | array_013.phpt | 14 $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 D | spl_autoload_014.phpt | 26 $al1 = new Autoloader('d1'); 27 $al2 = new WorkingAutoloader('d2'); 33 $x = new TestX; 38 $y = new TestY;
|
H A D | bug68128.phpt | 6 $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 D | bug21669.phpt | 2 Bug #21669 ("$obj = new $this->var;" doesn't work) 14 $obj = new $this->name; /* Parse error */ 18 $factory = new Factory;
|
H A D | compare_objects_basic1.phpt | 28 $obj1 = new class1(); 29 $obj2 = new class2(); 30 $obj3 = new class3(); 31 $obj4 = new class4(); 32 $obj5 = new class5();
|
H A D | bug26866.phpt | 12 throw new Exception('Exception!'); 13 return new bar(); 16 $foo = new foo();
|
/PHP-5.5/ext/intl/tests/ |
H A D | formatter_get_set_text_attribute.phpt | 49 // 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 D | expand.phpt | 6 $reader = new XMLReader(); 16 <books><book>new book</book></books>'; 18 $dom = new DOMDocument(); 21 $reader = new XMLReader();
|