Home
last modified time | relevance | path

Searched refs:new (Results 526 – 550 of 4661) sorted by relevance

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

/PHP-5.4/Zend/tests/
H A Dbug32674.phpt37 throw new Exception('shit happend');
47 $obj = new class2();
48 $col = new collection();
H A Dns_074.phpt15 $x(new stdclass);
16 $x(new \stdclass);
H A Dbug63882.phpt7 $testobj1 = new Test;
8 $testobj2 = new Test;
H A Dclass_alias_016.phpt13 var_dump(new \foo);
14 var_dump(new foo);
H A Dobjects_019.phpt8 $foo = array(new stdclass, new stdclass);
/PHP-5.4/ext/spl/tests/
H A Dheap_010.phpt5 $obj = new SplMaxHeap();
14 $obj = new SplMaxHeap2();
H A Dheap_current_variation_001.phpt13 throw new Exception('');
17 $heap = new myHeap();
H A DSplFixedArray_construct_param_SplFixedArray.phpt7 $array = new SplFixedArray(new SplFixedArray(3));
H A Dbug61453.phpt6 $objects = new SplObjectStorage;
8 $object = new StdClass;
H A Diterator_001.phpt67 $it = new LimitIterator(new NumericArrayIterator($a), 1, 3);
75 $it = new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3);
84 $it = new CachingIterator(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3));
H A Dbug54281.phpt9 $it = new RecursiveArrayIteratorIterator(new RecursiveArrayIterator(array()), 2);
H A Dbug67359.phpt7 …$rdi = new recursiveDirectoryIterator(dirname(__FILE__), FilesystemIterator::SKIP_DOTS | Filesyst…
8 $it = new recursiveIteratorIterator( $rdi );
H A DSplDoublyLinkedList_count_param_SplDoublyLinkedList.phpt7 $dll = new SplDoublyLinkedList(2);
8 $dll->count(new SplDoublyLinkedList(2));
H A DSplObjectStorage_offsetGet_missing_object.phpt8 $s = new SplObjectStorage();
9 $o1 = new stdClass();
H A Dspl_007.phpt13 $it = new ArrayIterator(array(1, 2, 3));
15 iterator_apply($it, array(new Foo, "foobar"));
/PHP-5.4/ext/phar/tests/zip/files/
H A Dcorrupt3.php.inc3 $a = new corrupt_zipmaker;
6 $a = new corrupt_zipmaker;
/PHP-5.4/ext/reflection/tests/
H A D003.phpt22 $o = new Bar;
23 $r = new ReflectionMethod('Foo','Test');
H A DReflectionClass_isAbstract_basic.phpt12 $testClass = new ReflectionClass('TestClass');
13 $abstractClass = new ReflectionClass('TestAbstractClass');
H A DReflectionClass_isFinal_basic.phpt12 $normalClass = new ReflectionClass('TestClass');
13 $finalClass = new ReflectionClass('TestFinalClass');
/PHP-5.4/ext/date/tests/
H A Dbug41844.phpt7 $date = new DateTime('2007-06-28');
11 $date = new DateTime('2007-06-28');
/PHP-5.4/tests/classes/
H A Dtostring_002.phpt21 $o = new Test;
24 $o = new Test;
/PHP-5.4/ext/snmp/tests/
H A Dsnmp-object-error.phpt18 var_dump(new SNMP(SNMP::VERSION_1, $hostname));
23 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, ''));
28 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
33 var_dump(new SNMP(7, $hostname, $community));
39 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
56 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
65 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
/PHP-5.4/ext/session/tests/
H A Dbug53141.phpt16 new Bar;
22 $_SESSION['foo'] = new Foo;
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dwrite15.phar.inc6 $phar = new Phar($fname);
8 $p = new Phar(__FILE__);
/PHP-5.4/ext/dom/tests/
H A Dbug49490.phpt7 $doc = new DOMDocument();
10 $xp = new DOMXPath($doc);

Completed in 38 milliseconds

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