Searched refs:new (Results 276 – 300 of 4661) sorted by relevance
1...<<11121314151617181920>>...187
/PHP-5.4/Zend/tests/traits/ |
H A D | noctor001.phpt | 16 $rfoofoo = new ReflectionMethod('Foo::Foo'); 19 $rbarfoo = new ReflectionMethod('Bar::Foo'); 22 $rbarbar = new ReflectionMethod('Bar::Bar');
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_069.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 11 $recItIt = new RecursiveIteratorIterator($recArrIt);
|
H A D | arrayObject_magicMethods4.phpt | 35 $obj = new C; 36 $ao = new UsesMagic($obj); 39 $ao['dynamic'] = 'new'; 40 $ao['dynamic'] = 'new.changed'; 86 string(11) "new.changed" 103 string(11) "new.changed" 112 string(11) "new.changed" 124 string(11) "new.changed" 141 string(11) "new.changed" 160 string(11) "new.changed" [all …]
|
H A D | arrayObject_magicMethods6.phpt | 35 $obj = new C; 36 $ao = new UsesMagic($obj, ArrayObject::ARRAY_AS_PROPS); 39 $ao->dynamic = 'new'; 40 $ao->dynamic = 'new.changed'; 86 string(11) "new.changed" 103 string(11) "new.changed" 112 string(11) "new.changed" 124 string(11) "new.changed" 141 string(11) "new.changed" 160 string(11) "new.changed" [all …]
|
H A D | array_011.phpt | 7 //foreach (new ArrayIterator($a) as $k => $v) 8 foreach (new LimitIterator(new ArrayIterator($a), 1, 3) as $k => $v)
|
H A D | arrayObject_exchangeArray_basic2.phpt | 6 $ao = new ArrayObject(); 12 $obj = new stdClass; 19 $obj = new ArrayObject(array('key'=>'ArrayObject element')); 25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element')); 31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element')));
|
H A D | bug53071.phpt | 12 $myA = new myClass(); 13 $myB = new SplObjectStorage(); 14 $myC = new myClass();
|
H A D | iterator_040.phpt | 15 $it = new RecursiveArrayIterator($ar); 16 $it = new MyRecursiveFilterIterator($it); 17 $it = new RecursiveIteratorIterator($it);
|
H A D | iterator_071.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::CHILD_FIRST);
|
H A D | arrayObject___construct_basic6.phpt | 10 $ao = new ArrayObject(array(1,2,3)); 14 $ao = new ArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST); 18 $ao = new MyArrayObject(array(1,2,3)); 21 $ao = new MyArrayObject(array(1,2,3), ArrayObject::STD_PROP_LIST);
|
/PHP-5.4/ext/reflection/tests/ |
H A D | ReflectionClass_isInterface_basic.phpt | 13 $reflectionClass = new ReflectionClass('TestInterface'); 14 $reflectionClass2 = new ReflectionClass('TestClass'); 15 $reflectionClass3 = new ReflectionClass('DerivedInterface');
|
H A D | ReflectionProperty_getValue_error.phpt | 17 $instance = new TestClass(); 18 $instanceWithNoProperties = new AnotherClass(); 19 $propInfo = new ReflectionProperty('TestClass', 'pub2'); 31 $propInfo = new ReflectionProperty('TestClass', 'stat'); 41 $propInfo = new ReflectionProperty('TestClass', 'prot'); 49 $propInfo = new ReflectionProperty('TestClass', 'pub2');
|
/PHP-5.4/ext/xsl/tests/ |
H A D | prepare.inc | 2 $dom = new domDocument; 8 $xsl = new domDocument; 14 $proc = new xsltprocessor;
|
/PHP-5.4/Zend/tests/ |
H A D | bug46308.phpt | 19 main::$dataAccessor = new dataAccessor; 27 main::$dummy = new dummy(); 28 main::$dataAccessor = new relay();
|
H A D | callable_type_hint_002.phpt | 13 $rf = new ReflectionFunction("foo"); 16 $rm = new ReflectionMethod("bar", "foo"); 19 $rc = new ReflectionFunction($closure);
|
H A D | bug55156.phpt | 10 $x = new \ReflectionFunction('foo\test'); 19 $x = new \ReflectionClass('foo\bar'); 22 $x = new \ReflectionClass('foo\foo');
|
H A D | clone_002.phpt | 6 $a = clone clone $b = new stdClass; 10 $c = clone clone clone $b = new stdClass; 15 $d = clone $a = $b = new foo;
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug64354_3.phpt | 7 throw new Exception("Failed"); 20 $data = array(new A, new B);
|
H A D | bug28325.phpt | 14 $a = new a(); 15 $a->b = new b(); 16 $a->b->c = new c();
|
/PHP-5.4/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 22 new RecursiveCachingIterator( 23 new ParentIterator( 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.4/ext/spl/examples/ |
H A D | directorygraphiterator.inc | 22 new RecursiveCachingIterator( 23 new ParentIterator( 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 10 * Description: Creates a new mailbox specified by mailbox . 33 echo "Your new mailbox '$newname' has the following status:\n"; 41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n"; 47 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n"; 51 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n"; 62 Your new mailbox 'phpnewbox' has the following status:
|
/PHP-5.4/ext/date/tests/ |
H A D | bug45529.phpt | 6 $tz1 = new DateTimeZone('UTC'); 10 $d = new DateTime('2008-01-01 12:00:00+0200'); 13 $d = new DateTime('2008-01-01 12:00:00+0200');
|
/PHP-5.4/ext/phar/tests/tar/ |
H A D | create_new_and_modify.phpt | 16 file_put_contents($pname . '/a.php', "brand new!\n"); 18 $phar = new Phar($fname); 27 $phar = new Phar($fname); 41 brand new!
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | create_new_and_modify.phpt | 16 file_put_contents($pname . '/a.php', "brand new!\n"); 18 $phar = new Phar($fname); 27 $phar = new Phar($fname); 41 brand new!
|
Completed in 27 milliseconds
1...<<11121314151617181920>>...187