Home
last modified time | relevance | path

Searched refs:Y (Results 1 – 25 of 283) sorted by path

12345678910>>...12

/PHP-8.0/.github/actions/setup-mssql/
H A Daction.yml9 -e "ACCEPT_EULA=Y" \
/PHP-8.0/
H A DCONTRIBUTING.md343 | PHP-X.Y.Z | These branches are used for the release managers for tagging the releases, hence they…
/PHP-8.0/Zend/
H A Dbench.php117 $Y[$i] = $X[$i];
120 print "$Y[$last]\n";
140 $Y[$i] = $X[$i]; --$i;
141 $Y[$i] = $X[$i]; --$i;
142 $Y[$i] = $X[$i]; --$i;
143 $Y[$i] = $X[$i]; --$i;
144 $Y[$i] = $X[$i]; --$i;
153 print "$Y[$last]\n";
161 $Y[$i] = 0;
165 $Y[$i] += $X[$i];
[all …]
/PHP-8.0/Zend/tests/assert/
H A Dexpect_015.phpt26 const Y = self::X, Z = "aaa";
171 public const Y = self::X, Z = 'aaa';
/PHP-8.0/Zend/tests/
H A Dbug44141.phpt14 class Y extends X
18 return new Y($x);
22 $y = Y::cheat(5);
26 Fatal error: Uncaught Error: Call to private X::__construct() from scope Y in %s:%d
28 #0 %s(%d): Y::cheat(5)
H A Dbug60536_001.phpt9 class Y extends X {
15 class Z extends Y {
H A Dbug71414.phpt19 class Y extends X implements InterfaceY {
H A Dcoalesce_assign_optimization.phpt6 $a[X] ??= Y;
13 define('Y', 2);
H A Dcode_before_loop_var_free.phpt8 Y;
H A Dexception_during_variance_autoload.phpt8 new Y;
10 if ($class == 'Y') {
18 function method(): Y {}
22 Y
27 #0 %s(%d): {closure}('Y')
31 …error: Could not check compatibility between B::method(): Y and A::method(): X, because class Y is…
H A Dgc_038.phpt128 class Y {
134 $x = new Y;
H A Dget_class_methods_001.phpt12 class Y extends X {
17 var_dump(get_class_methods('Y'));
23 var_dump(get_class_methods('Y'));
26 Y::test();
H A Dget_class_methods_003.phpt22 class Y extends X implements I {
30 var_dump(get_class_methods('Y'));
37 new Y;
H A Dns_010.phpt6 use X as Y;
18 new Y\Foo();
21 Y\Foo::bar();
24 echo Y\Foo::C;
27 echo Y\Foo::$var;
H A Dns_020.phpt6 use X as Y;
12 Y\foo();
H A Dns_037.phpt6 use X as Y;
18 new Y\X();
21 Y\X::bar();
24 echo Y\X::C;
27 echo Y\X::$var;
H A Dns_040.phpt6 use X as Y;
15 function f3($x=Y\A) {
35 echo Y\A;
H A Dns_065.inc2 namespace X\Y;
H A Dns_065.phpt5 use X\Y as test, X\Z as test2;
13 X\Y\foo
H A Dstr_offset_004.phpt23 $str[-20] = 'Y';
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_class_loading.phpt8 public ?Y $propY;
38 class Y {}
41 $r = new Y;
49 Cannot assign stdClass to property Test::$propY of type ?Y
50 object(Y)#4 (0) {
/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dinheritance.phpt14 class Y extends X {
H A Dmultiple_classes.phpt7 public X|Y|Z|int $prop;
8 public function method(X|Y|Z|int $arg): X|Y|Z|int {
57 class Y {}
60 $test->prop = new Y;
62 var_dump($test->method(new Y));
70 Cannot assign stdClass to property Test::$prop of type X|Y|Z|int
71 Test::method(): Argument #1 ($arg) must be of type X|Y|Z|int, stdClass given, called in %s on line …
80 object(Y)#4 (0) {
82 object(Y)#6 (0) {
/PHP-8.0/Zend/tests/type_declarations/union_types/variance/
H A Dinvalid_003.phpt7 class Y extends X {}
10 public function method(): Y|string {}
18 Fatal error: Declaration of B::method(): X|string must be compatible with A::method(): Y|string in …
H A Dvalid.phpt7 class Y extends X {}
10 public X|Y $prop;
15 public function method3(Y|B $a): X|A {}
24 public function method3(A|X $a): B|Y {}

Completed in 48 milliseconds

12345678910>>...12