/PHP-7.3/Zend/tests/ |
H A D | ns_081.phpt | 10 new foo; 11 new bar; 17 new foo1; 18 new foo;
|
H A D | ns_084.phpt | 10 new foo; 11 new bar; 17 new foo1; 18 new foo;
|
H A D | ns_087.phpt | 10 new foo; 11 new bar; 19 new foo1; 20 new foo;
|
H A D | class_alias_020.phpt | 22 var_dump(new \foo, new \bar); 24 var_dump(new \foo\foo, new \foo\bar);
|
H A D | bug72767.phpt | 7 $iterator = new LimitIterator( 8 new InfiniteIterator(new ArrayIterator([42])),
|
H A D | ns_086.phpt | 19 new foo; 20 new bar; 27 new foo1; 28 new foo;
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 32 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 D | mysqli_class_mysqli_warning.phpt | 17 $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 D | pcre2_context.c | 229 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 D | bug77882.phpt | 8 throw new Exception(); 17 new Test(); 22 $ref = new ReflectionClass('Test'); 28 $ref = new ReflectionClass('Test');
|
H A D | bug30148.phpt | 17 $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 D | ReflectionObject_isInstance_basic.phpt | 11 $instances = array( "myA" => new A, 12 "myB" => new B, 13 "myX" => new X ); 16 $ro = new ReflectionObject(new $class);
|
H A D | bug46064.phpt | 10 $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 D | ReflectionProperty_setAccessible.phpt | 14 $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 D | ReflectionClass_isAnonymous.phpt | 8 $declaredClass = new ReflectionClass('TestClass'); 9 $anonymousClass = new ReflectionClass(new class {});
|
/PHP-7.3/Zend/tests/try/ |
H A D | try_finally_022.phpt | 9 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 D | recursive_tree_iterator_007.phpt | 8 $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 D | iterator_056.phpt | 23 $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 D | heap_009.phpt | 21 $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 D | dom_create_element.phpt | 10 $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 D | asort_object1.phpt | 48 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 D | krsort_object.phpt | 45 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 D | ksort_object.phpt | 46 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 D | get_object_vars_variation_005.phpt | 12 $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 D | expect_008.phpt | 21 assert(($variable && $variable) || php_sapi_name(), new OdEar("constant message")); 25 new Two(); 26 new Two(); 27 new Two();
|