Home
last modified time | relevance | path

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

12345678910>>...216

/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error6.phpt11 var_dump(new A);
16 var_dump(new B);
21 var_dump(new X);
26 var_dump(new Y);
30 var_dump(new B);
H A Dclass_order_autoload1.phpt11 var_dump(new A);
16 var_dump(new B);
20 var_dump(new C);
24 var_dump(new C);
/PHP-7.4/Zend/tests/
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 Dbug69446.phpt12 $bar->y = new stdClass;
16 $foo = new stdClass;
18 $foo->bad = new bad;
19 $foo->bad->x = new stdClass;
H A Dinstanceof_001.phpt6 $a = new stdClass;
9 var_dump(new stdCLass instanceof stdClass);
11 $b = create_function('', 'return new stdClass;');
14 $c = array(new stdClass);
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 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])),
/PHP-7.4/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-7.4/ext/phar/tests/
H A Dphar_ctx_001.phpt22 $phar = new Phar($fname);
34 file_put_contents($pname . '/a', 'new a', 0); // no compression
35 file_put_contents($pname . '/b', 'new b', 0, $context);
36 file_put_contents($pname . '/d', '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"
H A Dtest_signaturealgos.phpt14 $a = new Phar(__DIR__ . '/files/sha1.phar');
17 $a = new Phar(__DIR__ . '/files/sha512.phar');
20 $a = new Phar(__DIR__ . '/files/sha256.phar');
23 $a = new Phar(__DIR__ . '/files/md5.phar');
26 $a = new Phar(__DIR__ . '/files/openssl.phar');
/PHP-7.4/ext/phar/tests/zip/
H A Dcorrupt_008.phpt8 new PharData(__DIR__ . '/files/compress_unsup1.zip');
13 new PharData(__DIR__ . '/files/compress_unsup2.zip');
18 new PharData(__DIR__ . '/files/compress_unsup3.zip');
23 new PharData(__DIR__ . '/files/compress_unsup4.zip');
28 new PharData(__DIR__ . '/files/compress_unsup5.zip');
33 new PharData(__DIR__ . '/files/compress_unsup6.zip');
38 new PharData(__DIR__ . '/files/compress_unsup7.zip');
43 new PharData(__DIR__ . '/files/compress_unsup9.zip');
48 new PharData(__DIR__ . '/files/compress_unsup10.zip');
53 new PharData(__DIR__ . '/files/compress_unsup14.zip');
[all …]
/PHP-7.4/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 DReflectionClass_isAnonymous.phpt8 $declaredClass = new ReflectionClass('TestClass');
9 $anonymousClass = new ReflectionClass(new class {});
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 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');
/PHP-7.4/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.4/ext/standard/tests/array/
H A Dsort_object1.phpt45 new for_integer_sort(11), new for_integer_sort(66),
46 new for_integer_sort(23), new for_integer_sort(-5),
47 new for_integer_sort(0.001), new for_integer_sort(0)
52 new for_string_sort("axx"), new for_string_sort("t"),
53 new for_string_sort("w"), new for_string_sort("py"),
54 new for_string_sort("apple"), new for_string_sort("Orange"),
55 new for_string_sort("Lemon"), new for_string_sort("aPPle")
H A Darsort_object1.phpt48 1 => new for_integer_arsort(11), 2 => new for_integer_arsort(66),
49 3 => new for_integer_arsort(23), 4 => new for_integer_arsort(-5),
50 5 => new for_integer_arsort(0.001), 6 => new for_integer_arsort(0)
55 "a" => new for_string_arsort("axx"), "b" => new for_string_arsort("t"),
56 "c" => new for_string_arsort("w"), "d" => new for_string_arsort("py"),
57 "e" => new for_string_arsort("apple"), "f" => new for_string_arsort("Orange"),
58 "g" => new for_string_arsort("Lemon"), "h" => new for_string_arsort("aPPle")
/PHP-7.4/ext/standard/tests/general_functions/
H A Dis_object.phpt65 $this->foo_object = new foo();
67 $this->public_var1 = new foo();
74 $myClass_object = new myClass();
75 $foo_object = new foo();
76 $Value_object = new Value();
80 new stdclass,
81 new foo,
82 new concreteClass,
83 new Value,
84 new myClass,
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_atomic.h102 static inline atomic_uint_t atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* … in atomic_cas_64() argument
104 __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_64()
106 return new; in atomic_cas_64()
119 static inline atomic_uint_t atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* … in atomic_cas_32() argument
121 __asm__ __volatile__("cas [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_32()
123 return new; in atomic_cas_32()

Completed in 80 milliseconds

12345678910>>...216