Home
last modified time | relevance | path

Searched refs:X (Results 51 – 75 of 552) sorted by relevance

12345678910>>...23

/PHP-8.2/Zend/tests/type_declarations/intersection_types/
H A Dadded_interface_intersection_type.phpt6 interface X {}
10 class A implements X, Y, Z {}
13 public X&Y $intersect;
16 function foo(): X&Y {
20 function bar(X&Y $o): void {
/PHP-8.2/ext/standard/tests/strings/
H A Dvsprintf_basic9.phpt13 $format11 = "%X";
14 $format22 = "%X %X";
15 $format33 = "%X %X %X";
H A Dvprintf_basic9.phpt13 $format11 = "%X";
14 $format22 = "%X %X";
15 $format33 = "%X %X %X";
H A Dvfprintf_basic9.phpt13 $format11 = "%X";
14 $format22 = "%X %X";
15 $format33 = "%X %X %X";
/PHP-8.2/Zend/tests/
H A Dns_010.phpt5 namespace X;
6 use X as Y;
19 new \X\Foo();
22 \X\Foo::bar();
25 echo \X\Foo::C;
28 echo \X\Foo::$var;
H A Dclass_constant_inheritance_mutable_data.phpt12 const X = 'X' . self::Y;
21 var_dump(B::X, B::X2);
24 class X {
27 class Y extends X {
29 var_dump(X::C, Y::C);
H A Dns_040.phpt5 namespace X;
6 use X as Y;
12 function f2($x=\X\A) {
18 function f4($x=\X\A) {
34 echo \X\A;
36 echo \X\A;
/PHP-8.2/ext/ffi/tests/
H A D017.phpt10 var_dump(FFI::new("struct X {void x();}"));
15 var_dump(FFI::new("struct X {struct X x;}"));
20 var_dump(FFI::new("struct X {struct X *ptr;}"));
29 object(FFI\CData:struct X)#%d (1) {
/PHP-8.2/ext/reflection/tests/
H A DReflectionObject_isInstance_basic.phpt7 class X {}
9 $classes = array("A", "B", "X");
13 "myX" => new X );
31 is myA a X? bool(false)
32 is myB a X? bool(false)
33 is myX a X? bool(true)
/PHP-8.2/Zend/tests/constants/final_constants/
H A Dfinal_const5.phpt8 final public const X = 1;
13 const X = 2;
18 Fatal error: C::X cannot override final constant I::X in %s on line %d
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid_covariance_intersection_to_union1.phpt6 interface X {}
9 class TestOne implements X, Y {}
10 class TestTwo implements X {}
14 public function foo(): X&Y;
24 Fatal error: Declaration of B::foo(): TestOne|TestTwo must be compatible with A::foo(): X&Y in %s o…
H A Dinvalid_covariance_intersection_to_union3.phpt6 interface X {}
10 class TestOne implements X, Z {}
11 class TestTwo implements X, Y {}
15 public function foo(): X&Z;
25 Fatal error: Declaration of B::foo(): TestOne|TestTwo must be compatible with A::foo(): X&Z in %s o…
H A Dinvalid_invariance1.phpt6 interface X {}
10 public X&Y $prop;
13 public X&Y&Z $prop;
18 Fatal error: Type of B::$prop must be X&Y (as in class A) in %s on line %d
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload6.phpt17 function m(): X {}
21 } elseif ($class == 'X') {
22 class X extends B {}
23 var_dump(new X);
38 object(X)#2 (0) {
H A Dclass_order_autoload5.phpt10 public function method(): X {}
18 } else if ($class == 'X') {
19 class X {
22 var_dump(new X);
24 class Y extends X {
47 object(X)#2 (0) {
H A Denum_forward_compat.phpt8 if ($class === 'X') {
9 class X {}
16 public function method(X $param) : object {}
25 string(1) "X"
/PHP-8.2/ext/fileinfo/libmagic/
H A Dencoding.c239 #define X 3 /* character appears in non-ISO extended ASCII (Mac, IBM PC) */ macro
253 X, X, X, X, X, T, X, X, X, X, X, X, X, X, X, X, /* 0x8X */
254 X, X, X, X, X, X, X, X, X, X, X, X, X, X, X, X, /* 0x9X */
296 LOOKS(extended, t != T && t != I && t != X)
555 #undef X
/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/
H A Dinvalid_covariance_intersection_to_union1.phpt6 interface X {}
11 class TestOne implements X, Y {}
12 class TestTwo implements X {}
16 public function foo(): (X&Y)|L;
26 Fatal error: Declaration of B::foo(): TestOne|TestTwo must be compatible with A::foo(): (X&Y)|L in …
H A Dinvalid_covariance_intersection_to_union3.phpt6 interface X {}
10 class TestOne implements X, Z {}
11 class TestTwo implements X, Y {}
15 public function foo(): X&Z;
25 Fatal error: Declaration of B::foo(): TestOne|TestTwo must be compatible with A::foo(): X&Z in %s o…
H A Dinvalid_covariance_drop_type1.phpt8 interface X {}
13 public function foo(): (A&B)|X {
20 public function foo(): A|X {
27 Fatal error: Declaration of FooChild::foo(): A|X must be compatible with Foo::foo(): (A&B)|X in %s …
H A Dinvalid_invariance1.phpt6 interface X {}
10 public (X&Y)|L $prop;
13 public (X&Y&Z)|L $prop;
18 Fatal error: Type of B::$prop must be (X&Y)|L (as in class A) in %s on line %d
H A Dinvalid_invariance1_var.phpt6 interface X {}
10 public (X&Y&Z)|L $prop;
13 public (X&Y)|L $prop;
18 Fatal error: Type of B::$prop must be (X&Y&Z)|L (as in class A) in %s on line %d
/PHP-8.2/Zend/tests/match/
H A Dmatch_scdf_cleanup.phpt5 var_dump(X||match(X and true or true){false=>X});
8 Fatal error: Uncaught Error: Undefined constant "X" in %smatch_scdf_cleanup.php:2
/PHP-8.2/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp932_1.phpt26 $item = "�e�X�g�}���`�o�C�g�E�p�X"; // cp932 string
49 getting basename of %s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4
50 string(%d) "�e�X�g�}���`�o�C�g�E�p�X4"
52 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4"
/PHP-8.2/ext/iconv/tests/
H A Dbug52941.phpt10 X-Foo: =?ks_c_5601-1987?B?UkU6odk=?= Foo
11 X-Bar: =?ks_c_5601-1987?B?UkU6odk=?= =?UTF-8?Q?Foo?=
19 var_dump($decoded['X-Foo']);
20 var_dump($decoded['X-Bar']);
27 var_dump($decoded['X-Foo']);
28 var_dump($decoded['X-Bar']);

Completed in 30 milliseconds

12345678910>>...23