Home
last modified time | relevance | path

Searched refs:new (Results 401 – 425 of 4661) sorted by relevance

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

/PHP-5.4/ext/date/tests/
H A DDateTime_getTimeZone_basic1.phpt14 $object = new DateTime("2009-01-30 17:57:32");
19 $object = new DateTime("2009-01-30 17:57:32");
22 $la_time = new DateTimeZone("America/Los_Angeles");
H A Dbug41842.phpt2 Bug #41842 (Cannot create years < 0100 & negative years with date_create or new DateTime)
7 $date = new DateTime('-2007-06-28 00:00:00');
H A Dbug54283.phpt2 Bug #54283 (new DatePeriod(NULL) causes crash)
7 var_dump(new DatePeriod(NULL));
/PHP-5.4/tests/classes/
H A Dctor_visibility.phpt24 new Derived;
39 new TestPriv;
55 new DerivedPriv;
/PHP-5.4/Zend/tests/
H A Dbug53511.phpt7 throw new Exception("ops 1");
12 $e = new Foo();
14 throw new Exception("ops 2");
H A Dgc_017.phpt27 $a = new Node('A');
28 $b = new Node('B');
29 $c = new Node('C');
H A Dgc_030.phpt11 throw new Exception("foobar");
15 $f1 = new foo;
16 $f2 = new foo;
H A Dns_062.phpt8 echo get_class(new stdClass)."\n";
9 echo get_class(new A)."\n";
H A Dbug30080.phpt11 new foo(array(new stdClass));
H A Dclass_alias_007.phpt12 var_dump(new foo, new bar);
H A Dbug39017.phpt2 Bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults)
6 foreach(($a=(object)new A()) as $v);
H A Dns_010.phpt17 new Foo();
18 new Y\Foo();
19 new \X\Foo();
/PHP-5.4/ext/spl/tests/
H A Dbug31348.phpt6 $i = new ArrayIterator($a);
8 $ci = new CachingIterator($i);
H A Diterator_010.phpt8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
H A Diterator_017.phpt8 foreach(new LimitIterator(new EmptyIterator(), 0, 3) as $key => $val)
H A Dbug49723.phpt6 $it = new ArrayIterator(array());
8 $lit = new LimitIterator($it, 0, 5);
H A Dbug46115.phpt5 $h = new RecursiveArrayIterator(array());
6 $x = new reflectionmethod('RecursiveArrayIterator', 'asort');
H A Dbug62616.phpt5 $ai = new ArrayIterator(array(0,1));
9 $ii = new IteratorIterator($ai);
H A Dfixedarray_004.phpt2 SPL: FixedArray: adding new elements
6 $a = new SplFixedArray(10);
H A Diterator_043.phpt6 $it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
H A Drecursive_tree_iterator_003.phpt8 new RecursiveTreeIterator(new ArrayIterator(array()));
H A Darray_012.phpt9 $it = new ArrayIterator($a);
30 $o = new test;
31 $it = new ArrayIterator($o);
H A Diterator_051.phpt18 $ar = new ArrayIterator(array('1'=>0,'1,2'=>1,'1,2,3'=>2,0=>3,'FooBar'=>4,','=>5,',,'=>6));
19 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::GET_MATCH, RegexIterator::USE_KEY);
22 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::GET_MATCH, RegexIterator::USE_KEY);
/PHP-5.4/ext/reflection/tests/
H A DReflectionFunction_getExtensionName.phpt7 $function = new ReflectionFunction('sort');
10 $function = new ReflectionFunction('foo');
H A DReflectionFunction_getExtension.phpt7 $function = new ReflectionFunction('sort');
10 $function = new ReflectionFunction('foo');

Completed in 22 milliseconds

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