/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error6.phpt | 11 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 D | class_order_autoload1.phpt | 11 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 D | bug31177.phpt | 8 throw new Exception; 12 return new DbGowRecordSet($this->query()); 16 new DbGowRecordSet($this->query()); 28 $db = new DbGow;
|
H A D | bug51822.phpt | 17 $this->test = new DestructableObject; 28 //Test::$mystatic = new DestructorCreator(); 30 $x = new Test(); 33 Test::$mystatic = new DestructorCreator();
|
H A D | bug69446.phpt | 12 $bar->y = new stdClass; 16 $foo = new stdClass; 18 $foo->bad = new bad; 19 $foo->bad->x = new stdClass;
|
H A D | instanceof_001.phpt | 6 $a = new stdClass; 9 var_dump(new stdCLass instanceof stdClass); 11 $b = create_function('', 'return new stdClass;'); 14 $c = array(new stdClass);
|
H A D | ns_060.phpt | 8 $a = new B; 9 $b = new A; 14 $a = new B; 15 $b = new A;
|
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])),
|
/PHP-7.4/Zend/tests/traits/ |
H A D | bug60717.phpt | 63 $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 D | phar_ctx_001.phpt | 22 $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 D | test_signaturealgos.phpt | 14 $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 D | corrupt_008.phpt | 8 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 D | bug77882.phpt | 8 throw new Exception(); 17 new Test(); 22 $ref = new ReflectionClass('Test'); 28 $ref = new ReflectionClass('Test');
|
H A D | ReflectionClass_isAnonymous.phpt | 8 $declaredClass = new ReflectionClass('TestClass'); 9 $anonymousClass = new ReflectionClass(new class {});
|
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 | 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');
|
/PHP-7.4/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.4/ext/standard/tests/array/ |
H A D | sort_object1.phpt | 45 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 D | arsort_object1.phpt | 48 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 D | is_object.phpt | 65 $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 D | fpm_atomic.h | 102 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()
|