Home
last modified time | relevance | path

Searched refs:new (Results 151 – 175 of 4839) sorted by relevance

12345678910>>...194

/PHP-5.5/ext/date/tests/
H A Dbug54597.phpt7 $tz = new DateTimeZone("Europe/Amsterdam");
8 $dateObject = new DateTime( 'January 0099', $tz );
10 $dateObject = new DateTime( 'January 1, 0099', $tz );
12 $dateObject = new DateTime( '0099-01', $tz );
/PHP-5.5/Zend/tests/
H A Dns_085.phpt10 new foo;
11 new bar;
18 new foo1;
19 new foo;
H A Dbug39346.phpt19 $test = new test(2);
20 $test = new test(1);
21 $test = new test(2);
22 $test = new test(3);
H A Dclass_alias_020.phpt22 var_dump(new \foo, new \bar);
24 var_dump(new \foo\foo, new \foo\bar);
H A Dbug31177.phpt8 throw new Exception;
12 return new DbGowRecordSet($this->query());
16 new DbGowRecordSet($this->query());
28 $db = new DbGow;
H A Dbug51822.phpt17 $this->test = new DestructableObject;
28 //Test::$mystatic = new DestructorCreator();
30 $x = new Test();
33 Test::$mystatic = new DestructorCreator();
H A Dns_060.phpt8 $a = new B;
9 $b = new A;
14 $a = new B;
15 $b = new A;
H A Dns_081.phpt10 new foo;
11 new bar;
17 new foo1;
18 new foo;
H A Dns_084.phpt10 new foo;
11 new bar;
17 new foo1;
18 new foo;
H A Dns_087.phpt10 new foo;
11 new bar;
19 new foo1;
20 new foo;
H A Dobjects_023.phpt6 $arr = array(new stdClass, 'stdClass');
8 new $arr[0]();
9 new $arr[1]();
/PHP-5.5/ext/reflection/tests/
H A DReflectionObject_FileInfo_basic.phpt5 $rc = new ReflectionObject(new C);
10 $rc = new ReflectionObject(new stdclass);
H A Dbug46064.phpt10 $o = new x;
14 var_dump($h = new reflectionproperty($o, 'z'));
24 var_dump(new reflectionproperty($o, 'zz'));
29 var_dump(new reflectionproperty($o, 'zzz'));
40 $p = new reflectionproperty($this, 'foobar');
45 new bar;
H A DReflectionObject_isInstance_basic.phpt11 $instances = array( "myA" => new A,
12 "myB" => new B,
13 "myX" => new X );
16 $ro = new ReflectionObject(new $class);
/PHP-5.5/ext/spl/tests/
H A Dspl_cachingiterator___toString_basic.phpt9 $ai = new ArrayIterator(array(new stdClass(), new stdClass()));
10 $ci = new CachingIterator($ai);
H A DarrayObject_getFlags_basic2.phpt5 $ao = new ArrayObject(array(), ArrayObject::STD_PROP_LIST|ArrayObject::ARRAY_AS_PROPS);
8 $ao2 = new ArrayObject($ao);
12 $ai = new ArrayIterator($ao);
15 $ao2 = new ArrayObject($ao, 0);
H A Dheap_009.phpt21 $heap = new SplMinHeap;
25 $heap = new SplMinHeap;
30 $heap = new SplMaxHeap;
34 $heap = new SplMaxHeap;
39 $heap = new SplPriorityQueue;
43 $heap = new SplPriorityQueue;
/PHP-5.5/Zend/tests/traits/
H A Dbug60717.phpt63 $o = new HTMLHelper;
64 $o = new HTMLHelper2;
65 $o = new HTMLHelper3;
66 $o = new HTMLHelper4;
67 $o = new HTMLHelper5;
68 $o = new HTMLHelper6;
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_class_mysqli_warning.phpt17 $warning = new mysqli_warning();
18 $warning = new mysqli_warning(null);
19 $warning = new mysqli_warning(null, null);
21 $mysqli = new mysqli();
22 $warning = new mysqli_warning($mysqli);
24 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
25 $stmt = new mysqli_stmt($mysqli);
26 $warning = new mysqli_warning($stmt);
29 $warning = new mysqli_warning($stmt);
31 $obj = new stdClass();
[all …]
/PHP-5.5/ext/dom/tests/
H A Ddom_create_element.phpt10 $dom = new domDocument;
19 $dom = new domDocument;
28 $dom = new domDocument;
37 $dom = new domDocument;
46 $dom = new domDocument;
55 $dom = new domDocument;
64 $dom = new domDocument;
73 $dom = new domDocument;
82 $dom = new domDocument;
91 $dom = new domDocument;
[all …]
/PHP-5.5/ext/phar/tests/
H A Dphar_ctx_001.phpt22 $phar = new Phar($fname);
34 file_put_contents($pname . '/a', b'new a', 0); // no compression
35 file_put_contents($pname . '/b', b'new b', 0, $context);
36 file_put_contents($pname . '/d', b'new d', 0, $context2);
38 $phar = new Phar($fname);
73 string(5) "new a"
76 string(5) "new b"
87 string(5) "new d"
94 string(5) "new b"
/PHP-5.5/ext/standard/tests/array/
H A Dasort_object1.phpt48 1 => new for_integer_asort(11), 2 => new for_integer_asort(66),
49 3 => new for_integer_asort(23), 4 => new for_integer_asort(-5),
50 5 => new for_integer_asort(0.001), 6 => new for_integer_asort(0)
55 "a" => new for_string_asort("axx"), "b" => new for_string_asort("t"),
56 "c" => new for_string_asort("w"), "d" => new for_string_asort("py"),
57 "e" => new for_string_asort("apple"), "f" => new for_string_asort("Orange"),
58 "g" => new for_string_asort("Lemon"), "h" => new for_string_asort("aPPle")
H A Dksort_object.phpt46 11 => new Integer(11), 66 => new Integer(66),
47 23 => new Integer(23), -5 => new Integer(-5),
48 1 => new Integer(0.001), 0 => new Integer(0)
53 "axx" => new String("axx"), "t" => new String("t"),
54 "w" => new String("w"), "py" => new String("py"),
55 "apple" => new String("apple"), "Orange" => new String("Orange"),
56 "Lemon" => new String("Lemon"), "aPPle" => new String("aPPle")
H A Dkrsort_object.phpt45 10 => new Integer(11), 20 => new Integer(66),
46 3 => new Integer(23), 4 => new Integer(-5),
47 50 => new Integer(0.001), 6 => new Integer(0)
52 "axx" => new String("axx"), "t" => new String("t"),
53 "w" => new String("w"), "py" => new String("py"),
54 "apple" => new String("apple"), "Orange" => new String("Orange"),
55 "Lemon" => new String("Lemon"), "aPPle" => new String("aPPle")
/PHP-5.5/tests/classes/
H A Dinheritance_005.phpt22 echo "About to construct new B: \n";
23 $b = new B;
31 echo "About to construct new C: \n";
32 $c = new C;
44 About to construct new B:
50 About to construct new C:

Completed in 23 milliseconds

12345678910>>...194