Searched refs:new (Results 676 – 700 of 4661) sorted by relevance
1...<<21222324252627282930>>...187
/PHP-5.4/ext/mysqli/tests/ |
H A D | 062.phpt | 12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 16 $myresult = new mysqli_result($mysql);
|
/PHP-5.4/ext/spl/tests/ |
H A D | bug62672.phpt | 27 $obj = new ObjB(new ArrayObject());
|
H A D | recursive_tree_iterator_004.phpt | 27 $it = new RecursiveTreeIterator(new RecursiveArrayIterator($ary));
|
H A D | spl_iterator_apply_error.phpt | 8 throw new Exception('Make the iterator break'); 14 $it = new MyArrayIterator(array(1, 21, 22));
|
H A D | bug62433.phpt | 5 $dots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__))); 6 $ndots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__, FilesystemIterator::S…
|
/PHP-5.4/ext/dom/tests/ |
H A D | DOMNode_insertBefore_error1.phpt | 10 $doc1 = new DOMDocument(); 11 $doc2 = new DOMDocument();
|
/PHP-5.4/Zend/tests/ |
H A D | bug35437.phpt | 7 throw new Exception("Error occuried: " . $errstr); 16 $GLOBALS['t'] = new stdClass;
|
H A D | bug47801.phpt | 22 $a = new A(); 25 $b = new B();
|
H A D | bug48228.phpt | 7 throw new Exception(); 21 $l_aa=new aa();
|
H A D | bug60139.phpt | 25 new Foo; 27 new Bar;
|
H A D | ns_025.phpt | 16 $x = new Foo; 18 $x = new \Foo\Bar\Foo;
|
/PHP-5.4/ |
H A D | README.namespaces | 34 $x = new Zend\DB\Connection; 45 $x = new Zend\DB\Connection(); 46 $y = new DB\connection(); 47 $z = new DbConnection(); 89 current import rules. So if we have "use A\B\C" and then "new C()" it 90 is translated to "new A\B\C()". 101 5) unqualified class names are resolved at run-time. E.q. "new Exception()" 103 of failure uses internal PHP class. Note that using "new A" in namespace 105 using "new \A" you are able to create any class from the global namespace. 111 namespace. So "new A\B\C()" refers to class C from namespace A\B. [all …]
|
/PHP-5.4/ext/reflection/tests/ |
H A D | bug29828.phpt | 19 $r = new ReflectionClass('BlaMore'); 25 $o=new BlaMore;
|
H A D | bug60367.phpt | 21 $method = new ReflectionMethod("b::call"); 24 $method = new ReflectionMethod("A::call");
|
H A D | closures_003.phpt | 8 $method = new ReflectionMethod ($closure, '__invoke'); 15 $parameter = new ReflectionParameter (array ($closure, '__invoke'), 'b');
|
/PHP-5.4/ext/phar/tests/cache_list/ |
H A D | copyonwrite11.phar.phpt | 13 $p = new Phar(__FILE__); 15 $p2 = new Phar(__FILE__);
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug62373.phpt | 10 $b = new B(); 13 $a = new A();
|
/PHP-5.4/tests/classes/ |
H A D | bug23951.phpt | 21 $a = new A; 22 $b = new B;
|
H A D | ctor_failure.phpt | 10 throw new Exception($msg); 20 $o = new Test('Hello');
|
H A D | factory_001.phpt | 23 return new Circle(); 25 return new Square();
|
H A D | property_override_private_private.phpt | 24 $a = new A; 27 $b = new B;
|
H A D | property_override_private_protected.phpt | 24 $a = new A; 27 $b = new B;
|
H A D | property_override_private_public.phpt | 24 $a = new A; 27 $b = new B;
|
H A D | property_override_protected_protected.phpt | 24 $a = new A; 27 $b = new B;
|
H A D | property_override_protected_public.phpt | 24 $a = new A; 27 $b = new B;
|
Completed in 42 milliseconds
1...<<21222324252627282930>>...187