Home
last modified time | relevance | path

Searched refs:new (Results 626 – 650 of 4661) sorted by relevance

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

/PHP-5.4/ext/spl/tests/
H A Dregexiterator_getpregflags.phpt25 $r = new TestRegexIterator(new myIterator, $rege);
H A Dspl_iterator_recursive_getiterator_error.phpt8 $i = new ArrayIterator(array(1,1,1,1,1));
9 $iii = new IteratorIterator($i);
H A Diterator_012.phpt8 $it = new NoRewindIterator(new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C')));
H A Diterator_019.phpt8 $it = new NoRewindIterator(new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C')));
/PHP-5.4/Zend/tests/
H A Dbug30725.phpt10 throw new Exception();
16 $it = new Test;
H A Dbug43332_2.phpt11 $foo = new foo;
13 $foo->bar(new stdclass); // Error, ok!
H A Dbug64354.phpt7 throw new Exception("serialize");
15 $data = array(new B);
H A Dns_027.phpt16 $x = new Foo;
18 $x = new Foo\Bar\Foo;
H A Dbug29368.phpt11 throw new Exception;
21 $bar = new Foo;
H A Dbug47771.phpt6 throw new Exception('TEST_EXCEPTION');
23 $T =new Test(throw_exc());
H A Dbug54013.phpt14 $c = new a;
17 $reflectionClass = new ReflectionClass($c);
/PHP-5.4/ext/date/tests/
H A DDateInterval_format_a.phpt15 $date1 = new DateTime('2000-01-01 00:00:00');
16 $date2 = new DateTime('2001-03-04 04:05:06');
H A D015.phpt6 $dto = new DateTime();
9 $dto->setTimezone(new DateTimeZone('US/Eastern'));
/PHP-5.4/ext/reflection/tests/
H A DReflectionClass_newInstanceArgs_001.phpt35 $rcA = new ReflectionClass('A');
36 $rcB = new ReflectionClass('B');
37 $rcC = new ReflectionClass('C');
38 $rcD = new ReflectionClass('D');
39 $rcE = new ReflectionClass('E');
H A Dbug47254.phpt20 $B = new B();
21 $R = new ReflectionObject($B);
/PHP-5.4/ext/intl/tests/
H A Ddateformat_get_set_pattern2.phpt44 … $res_str .= "\nResult of formatting timestamp=0 with the new pattern is : \n$formatted";
66 Result of formatting timestamp=0 with the new pattern is :
72 Result of formatting timestamp=0 with the new pattern is :
78 Result of formatting timestamp=0 with the new pattern is :
84 Result of formatting timestamp=0 with the new pattern is :
H A Ddateformat_get_set_pattern.phpt44 … $res_str .= "\nResult of formatting timestamp=0 with the new pattern is : \n$formatted";
66 Result of formatting timestamp=0 with the new pattern is :
72 Result of formatting timestamp=0 with the new pattern is :
78 Result of formatting timestamp=0 with the new pattern is :
84 Result of formatting timestamp=0 with the new pattern is :
/PHP-5.4/ext/standard/tests/array/
H A Dsizeof_object2.phpt70 /* 1 */ new test(),
71 new test1(),
72 new test2(),
73 new child_test2(),
74 /* 5 */ new concrete_class()
H A Darray_filter_object.phpt82 new SimpleClass(),
83 new EmptyClass(),
84 new ChildClass(),
85 new FinalClass(),
86 new StaticClass()
/PHP-5.4/tests/lang/
H A Dbug22510.phpt36 $this->instance = new foo();
43 $this->instance = new foo();
50 $this->instance = new foo();
79 $bar = &new bar();
94 Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d
/PHP-5.4/ext/soap/tests/bugs/
H A Dbug36226-2.phpt21 $this->server = new SoapServer($wsdl, $options);
32 $soapClient = new TestSoapClient($wsdl,
46 $logOffEvents[] = new LogOffEvent(34567, $timestamp, "Smoked");
47 //$logOffEvents[] = new LogOffEvent(34568, $timestamp, "SmokeFree");
48 $ivrEvents = new IVREvents("1.0", 101, 12345, 'IVR', $logOnEvent, $logOffEvents);
/PHP-5.4/ext/standard/tests/serialize/
H A Dbug64354_2.phpt7 throw new Exception("Failed");
13 throw new Exception("Failed");
/PHP-5.4/ext/dom/tests/
H A Dbug37277.phpt7 $dom1 = new DomDocument('1.0', 'UTF-8');
14 $dom2 = new DomDocument('1.0', 'UTF-8');
/PHP-5.4/ext/mysqli/tests/
H A D063.phpt12 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
14 $stmt = new mysqli_stmt($mysql, "SELECT 'foo' FROM DUAL");
/PHP-5.4/ext/soap/tests/
H A Dserver027.phpt17 $foo = new Foo();
18 $server = new SoapServer(null,array('uri'=>"http://testuri.org"));

Completed in 27 milliseconds

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