Home
last modified time | relevance | path

Searched refs:new (Results 676 – 700 of 4661) sorted by relevance

1...<<21222324252627282930>>...187

/PHP-5.4/ext/mysqli/tests/
H A D062.phpt12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
16 $myresult = new mysqli_result($mysql);
/PHP-5.4/ext/spl/tests/
H A Dbug62672.phpt27 $obj = new ObjB(new ArrayObject());
H A Drecursive_tree_iterator_004.phpt27 $it = new RecursiveTreeIterator(new RecursiveArrayIterator($ary));
H A Dspl_iterator_apply_error.phpt8 throw new Exception('Make the iterator break');
14 $it = new MyArrayIterator(array(1, 21, 22));
H A Dbug62433.phpt5 $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 DDOMNode_insertBefore_error1.phpt10 $doc1 = new DOMDocument();
11 $doc2 = new DOMDocument();
/PHP-5.4/Zend/tests/
H A Dbug35437.phpt7 throw new Exception("Error occuried: " . $errstr);
16 $GLOBALS['t'] = new stdClass;
H A Dbug47801.phpt22 $a = new A();
25 $b = new B();
H A Dbug48228.phpt7 throw new Exception();
21 $l_aa=new aa();
H A Dbug60139.phpt25 new Foo;
27 new Bar;
H A Dns_025.phpt16 $x = new Foo;
18 $x = new \Foo\Bar\Foo;
/PHP-5.4/
H A DREADME.namespaces34 $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 Dbug29828.phpt19 $r = new ReflectionClass('BlaMore');
25 $o=new BlaMore;
H A Dbug60367.phpt21 $method = new ReflectionMethod("b::call");
24 $method = new ReflectionMethod("A::call");
H A Dclosures_003.phpt8 $method = new ReflectionMethod ($closure, '__invoke');
15 $parameter = new ReflectionParameter (array ($closure, '__invoke'), 'b');
/PHP-5.4/ext/phar/tests/cache_list/
H A Dcopyonwrite11.phar.phpt13 $p = new Phar(__FILE__);
15 $p2 = new Phar(__FILE__);
/PHP-5.4/ext/standard/tests/serialize/
H A Dbug62373.phpt10 $b = new B();
13 $a = new A();
/PHP-5.4/tests/classes/
H A Dbug23951.phpt21 $a = new A;
22 $b = new B;
H A Dctor_failure.phpt10 throw new Exception($msg);
20 $o = new Test('Hello');
H A Dfactory_001.phpt23 return new Circle();
25 return new Square();
H A Dproperty_override_private_private.phpt24 $a = new A;
27 $b = new B;
H A Dproperty_override_private_protected.phpt24 $a = new A;
27 $b = new B;
H A Dproperty_override_private_public.phpt24 $a = new A;
27 $b = new B;
H A Dproperty_override_protected_protected.phpt24 $a = new A;
27 $b = new B;
H A Dproperty_override_protected_public.phpt24 $a = new A;
27 $b = new B;

Completed in 42 milliseconds

1...<<21222324252627282930>>...187