Home
last modified time | relevance | path

Searched refs:new (Results 351 – 375 of 4661) sorted by relevance

1...<<11121314151617181920>>...187

/PHP-5.4/ext/spl/tests/
H A DarrayObject_exchangeArray_basic3.phpt11 $original = new C;
12 $ao = new ArrayObject($original);
13 $swapIn = new C;
27 $original = new C;
28 $ao = new ArrayObject($original);
40 $original = new C;
41 $ao = new ArrayObject($original);
H A Diterator_026.phpt8 $it = new RecursiveArrayIterator($ar);
9 $it = new RecursiveCachingIterator($it);
10 $it = new RecursiveIteratorIterator($it);
H A Drecursiveiteratoriterator_nextelement_basic.phpt9 $sub_iterator = new RecursiveArrayIterator($sample_array);
11 $iterator = new RecursiveIteratorIterator($sub_iterator);
21 $iterator = new NextElementRecursiveIteratorIterator($sub_iterator);
/PHP-5.4/ext/standard/tests/array/
H A Duasort_object1.phpt76 0 => new SimpleClass1(10),
77 1 => new SimpleClass1(1),
78 2 => new SimpleClass1(100),
79 3 => new SimpleClass1(50)
86 0 => new SimpleClass2(2, 3.4, "mango"),
87 1 => new SimpleClass2(10, 1.2, "apple"),
88 2 => new SimpleClass2(5, 2.5, "orange"),
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_pconn_conn_multiple.phpt2 Calling connect() on an open persistent connection to create a new persistent connection
33 …printf("[005] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
44 if (!$link = new my_mysqli($phost, $user, $passwd, $db, $port, $socket))
58 …printf("[011] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
95 …printf("[020] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
106 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
120 …printf("[026] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
H A Dmysqli_connect_twice.phpt2 Calling connect() on an open connection to create a new connection
27 …printf("[005] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
38 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
52 …printf("[011] Expecting new connection and new thread id. Old thread id %d, new thread id %d\n", $…
/PHP-5.4/ext/dom/tests/
H A Dbug67081.phpt9 $domDocument = new DOMDocument();
14 $domDocument = new DOMDocument();
19 $domDocument = new DOMDocument();
24 $domDocument = new DOMDocument();
/PHP-5.4/ext/xmlreader/tests/
H A D011.phpt5 $reader = new XMLReader();
15 $reader = new XMLReader();
23 $reader = new XMLReader();
/PHP-5.4/ext/simplexml/tests/
H A Dbug46047.phpt7 $xml = new SimpleXMLElement('<foo><bar><![CDATA[]]></bar><baz/></foo>',
11 $xml = new SimpleXMLElement('<foo><bar></bar><baz/></foo>');
14 $xml = new SimpleXMLElement('<foo><bar/><baz/></foo>');
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dwrite5.phar.inc6 $phar = new Phar($fname);
8 $phar = new Phar(__FILE__);
16 $phar2 = new Phar(__FILE__);
H A Dwrite6.phar2 $phar = new Phar(__FILE__);
7 $arr = $phar->buildFromIterator(new RecursiveDirectoryIterator($d, RecursiveDirectoryIterator::SKIP…
11 $phar2 = new Phar(__FILE__);
/PHP-5.4/ext/phar/tests/
H A Dcreate_new_phar_c.phpt2 Phar: create a completely new phar
13 'brand new!');
15 $phar = new Phar(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php');
/PHP-5.4/tests/classes/
H A Dprivate_006b.phpt18 $t1 = new first();
24 //$t2 = new second();
33 $t3 = new third();
H A Dctor_dtor.phpt2 ZE2 The new constructor/destructor is called
26 $t = new early();
29 $t = new late();
/PHP-5.4/Zend/tests/
H A Dbug47343.phpt14 $this->data['foo'] = new B($this);
15 $this->data['bar'] = new B($this);
35 $Aobj = new A;
H A Dbug37632.phpt31 $b = new B1;
32 $b->doTest(new C1);
59 B2::doTest(new C2);
83 new C3;
112 new C4;
H A Dbug24635.phpt8 function __construct() { $this->page = new PageClass(); }
12 $section = new SectionClass("PageClass::Display");
25 $site = new SiteClass();
H A Dbug52361.phpt8 throw new Exception(__CLASS__);
15 $a = new aaa();
16 throw new Exception(__FUNCTION__);
H A Dbug64239_2.phpt19 $b = new B();
28 $a = new A();
31 $c = new C();
H A Ddereference_003.phpt12 $x[] = new foo;
16 return array(1.2, array(new self));
29 $foo = new foo;
/PHP-5.4/ext/openssl/tests/
H A Dbug38255.phpt18 $t = new test;
23 var_dump(openssl_verify("foo", new stdClass, $pub_key_id, OPENSSL_ALGO_MD5));
24 var_dump(openssl_verify("foo", new stdClass, array(), OPENSSL_ALGO_MD5));
27 var_dump(openssl_verify(new stdClass, new stdClass, array(), 10000));
/PHP-5.4/tests/lang/
H A DforeachLoopIteratorAggregate.003.phpt43 return new EnglishMealIterator;
49 return new A1;
55 return new A2;
60 foreach (new A1 as $k=>$v) {
65 foreach (new A2 as $k=>$v) {
70 foreach (new A3 as $k=>$v) {
/PHP-5.4/ext/soap/tests/interop/Round2/GroupB/
H A Dr2_groupB_001s.phpt9 $param = new SoapParam(new SoapVar(array(
10 new SoapVar("arg", XSD_STRING, null, null, "varString"),
11 new SoapVar(34, XSD_INT, null, null, "varInt"),
12 new SoapVar(34.345, XSD_FLOAT, null, null, "varFloat")
14 $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=…
/PHP-5.4/ext/date/tests/
H A Dbug45866.phpt7 $date = new DateTime( '2009-07-29 16:44:23 Europe/London' );
11 $date = new DateTime( '2009-07-29 16:44:23 Europe/London' );
15 $date = new DateTime( '2009-07-29 16:44:23 Europe/London' );
/PHP-5.4/ext/intl/tests/
H A Ddateformat_calendars_variant2.phpt13 $fmt1 = new IntlDateFormatter('en_US',
18 $fmt2 = new IntlDateFormatter('en_US',
23 $fmt3 = new IntlDateFormatter('en_US@calendar=hebrew',
32 new IntlDateFormatter('en_US@calendar=hebrew',

Completed in 67 milliseconds

1...<<11121314151617181920>>...187