/PHP-5.4/ext/spl/tests/ |
H A D | arrayObject_exchangeArray_basic3.phpt | 11 $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 D | iterator_026.phpt | 8 $it = new RecursiveArrayIterator($ar); 9 $it = new RecursiveCachingIterator($it); 10 $it = new RecursiveIteratorIterator($it);
|
H A D | recursiveiteratoriterator_nextelement_basic.phpt | 9 $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 D | uasort_object1.phpt | 76 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 D | mysqli_pconn_conn_multiple.phpt | 2 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 D | mysqli_connect_twice.phpt | 2 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 D | bug67081.phpt | 9 $domDocument = new DOMDocument(); 14 $domDocument = new DOMDocument(); 19 $domDocument = new DOMDocument(); 24 $domDocument = new DOMDocument();
|
/PHP-5.4/ext/xmlreader/tests/ |
H A D | 011.phpt | 5 $reader = new XMLReader(); 15 $reader = new XMLReader(); 23 $reader = new XMLReader();
|
/PHP-5.4/ext/simplexml/tests/ |
H A D | bug46047.phpt | 7 $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 D | write5.phar.inc | 6 $phar = new Phar($fname); 8 $phar = new Phar(__FILE__); 16 $phar2 = new Phar(__FILE__);
|
H A D | write6.phar | 2 $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 D | create_new_phar_c.phpt | 2 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 D | private_006b.phpt | 18 $t1 = new first(); 24 //$t2 = new second(); 33 $t3 = new third();
|
H A D | ctor_dtor.phpt | 2 ZE2 The new constructor/destructor is called 26 $t = new early(); 29 $t = new late();
|
/PHP-5.4/Zend/tests/ |
H A D | bug47343.phpt | 14 $this->data['foo'] = new B($this); 15 $this->data['bar'] = new B($this); 35 $Aobj = new A;
|
H A D | bug37632.phpt | 31 $b = new B1; 32 $b->doTest(new C1); 59 B2::doTest(new C2); 83 new C3; 112 new C4;
|
H A D | bug24635.phpt | 8 function __construct() { $this->page = new PageClass(); } 12 $section = new SectionClass("PageClass::Display"); 25 $site = new SiteClass();
|
H A D | bug52361.phpt | 8 throw new Exception(__CLASS__); 15 $a = new aaa(); 16 throw new Exception(__FUNCTION__);
|
H A D | bug64239_2.phpt | 19 $b = new B(); 28 $a = new A(); 31 $c = new C();
|
H A D | dereference_003.phpt | 12 $x[] = new foo; 16 return array(1.2, array(new self)); 29 $foo = new foo;
|
/PHP-5.4/ext/openssl/tests/ |
H A D | bug38255.phpt | 18 $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 D | foreachLoopIteratorAggregate.003.phpt | 43 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 D | r2_groupB_001s.phpt | 9 $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 D | bug45866.phpt | 7 $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 D | dateformat_calendars_variant2.phpt | 13 $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',
|