Home
last modified time | relevance | path

Searched refs:new (Results 201 – 225 of 5774) sorted by relevance

12345678910>>...231

/PHP-7.3/Zend/tests/
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 Dclass_alias_020.phpt22 var_dump(new \foo, new \bar);
24 var_dump(new \foo\foo, new \foo\bar);
H A Dbug72767.phpt7 $iterator = new LimitIterator(
8 new InfiniteIterator(new ArrayIterator([42])),
H A Dns_086.phpt19 new foo;
20 new bar;
27 new foo1;
28 new foo;
/PHP-7.3/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct.phpt32 if (NULL !== ($db = @new PDO()))
37 print tryandcatch(2, '$db = new PDO(chr(0));');
62 $db = new PDO($dsn, $user, $pass);
139 $db = @new PDO($dsn, $user, $pass);
185 $db = new PDO($dsn, $user, $pass);
206 $db = new PDO($dsn, $user, $pass);
214 $db = @new PDO($dsn, $user, $pass);
225 $db = @new PDO($dsn, $user, $pass);
247 $db = new PDO($dsn, $user, $pass);
259 $db = new PDO($dsn, $user, $pass);
[all …]
/PHP-7.3/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-7.3/ext/pcre/pcre2lib/
H A Dpcre2_context.c229 pcre2_general_context *new = in pcre2_general_context_copy() local
232 if (new == NULL) return NULL; in pcre2_general_context_copy()
234 return new; in pcre2_general_context_copy()
241 pcre2_compile_context *new = in pcre2_compile_context_copy() local
244 if (new == NULL) return NULL; in pcre2_compile_context_copy()
246 return new; in pcre2_compile_context_copy()
253 pcre2_match_context *new = in pcre2_match_context_copy() local
256 if (new == NULL) return NULL; in pcre2_match_context_copy()
258 return new; in pcre2_match_context_copy()
266 pcre2_convert_context *new = in pcre2_convert_context_copy() local
[all …]
/PHP-7.3/ext/reflection/tests/
H A Dbug77882.phpt8 throw new Exception();
17 new Test();
22 $ref = new ReflectionClass('Test');
28 $ref = new ReflectionClass('Test');
H A Dbug30148.phpt17 $a = new ReflectionMethod('Root','Root');
18 $b = new ReflectionMethod('Base','Root');
19 $c = new ReflectionMethod('Base','__construct');
20 $d = new ReflectionMethod('Derived','Root');
21 $e = new ReflectionMethod('Derived','__construct');
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);
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 DReflectionProperty_setAccessible.phpt14 $a = new A;
15 $protected = new ReflectionProperty($a, 'protected');
16 $protectedStatic = new ReflectionProperty('A', 'protectedStatic');
17 $private = new ReflectionProperty($a, 'private');
18 $privateStatic = new ReflectionProperty('A', 'privateStatic');
72 $a = new A;
73 $b = new B;
74 $protected = new ReflectionProperty($b, 'protected');
75 $protectedStatic = new ReflectionProperty('B', 'protectedStatic');
76 $private = new ReflectionProperty($a, 'private');
H A DReflectionClass_isAnonymous.phpt8 $declaredClass = new ReflectionClass('TestClass');
9 $anonymousClass = new ReflectionClass(new class {});
/PHP-7.3/Zend/tests/try/
H A Dtry_finally_022.phpt9 throw new Exception();
23 foreach([new stdClass()] as $x) {
24 foreach(new A() as $a) {
25 foreach([new stdClass()] as $y) {
/PHP-7.3/ext/spl/tests/
H A Drecursive_tree_iterator_007.phpt8 $ary = array(new stdClass);
13 $this->it = new RecursiveArrayIterator($it);
20 $it = new RecursiveArrayIteratorAggregated($ary);
22 foreach(new RecursiveTreeIterator($it) as $k => $v) {
H A Diterator_056.phpt23 $it = new myFilterIterator();
29 $it = new myCachingIterator();
35 $it = new myRecursiveCachingIterator();
41 $it = new myParentIterator();
47 $it = new myLimitIterator();
52 $it = new myNoRewindIterator();
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-7.3/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-7.3/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 Dkrsort_object.phpt45 10 => new IntegerObject(11), 20 => new IntegerObject(66),
46 3 => new IntegerObject(23), 4 => new IntegerObject(-5),
47 50 => new IntegerObject(0.001), 6 => new IntegerObject(0)
52 "axx" => new StringObject("axx"), "t" => new StringObject("t"),
53 "w" => new StringObject("w"), "py" => new StringObject("py"),
54 "apple" => new StringObject("apple"), "Orange" => new StringObject("Orange"),
55 "Lemon" => new StringObject("Lemon"), "aPPle" => new StringObject("aPPle")
H A Dksort_object.phpt46 11 => new IntegerObject(11), 66 => new IntegerObject(66),
47 23 => new IntegerObject(23), -5 => new IntegerObject(-5),
48 1 => new IntegerObject(0.001), 0 => new IntegerObject(0)
53 "axx" => new StringObject("axx"), "t" => new StringObject("t"),
54 "w" => new StringObject("w"), "py" => new StringObject("py"),
55 "apple" => new StringObject("apple"), "Orange" => new StringObject("Orange"),
56 "Lemon" => new StringObject("Lemon"), "aPPle" => new StringObject("aPPle")
/PHP-7.3/ext/standard/tests/class_object/
H A Dget_object_vars_variation_005.phpt12 $obj = new stdClass;
13 $ao = new ArrayObject($obj);
19 $obj = new Test;
20 $ao = new ArrayObject($obj);
/PHP-7.3/Zend/tests/assert/
H A Dexpect_008.phpt21 assert(($variable && $variable) || php_sapi_name(), new OdEar("constant message"));
25 new Two();
26 new Two();
27 new Two();

Completed in 30 milliseconds

12345678910>>...231