Home
last modified time | relevance | path

Searched refs:Y (Results 1 – 25 of 416) sorted by relevance

12345678910>>...17

/php-src/ext/standard/tests/math/
H A Datan2_basic.phpt49 Y:23 X:1 float(1.5273454314034)
50 Y:23 X: float(1.5707963267949)
150 Y: X:23 float(0)
152 Y: X:23.45 float(0)
154 Y: X:23 float(0)
155 Y: X:23 float(0)
156 Y: X:23 float(0)
157 Y: X:23.45 float(0)
158 Y: X:2.345e1 float(0)
159 Y: X:1 float(0)
[all …]
H A Dhypot_basic.phpt65 Y:23 X: float(23)
87 Y:-23 X: float(23)
153 Y:23 X: float(23)
175 Y:23 X: float(23)
197 Y:23 X: float(23)
263 Y:1 X: float(1)
265 Y: X:33 float(33)
273 Y: X:39 float(39)
275 Y: X:31 float(31)
283 Y: X:1 float(1)
[all …]
/php-src/ext/date/tests/
H A Dmktime-3-64bit.phpt16 printf("Y: %4d - ", $year);
29 Y: 0 - January 2000-01-01T01:01:01-0500
30 Y: 69 - January 2069-01-01T01:01:01-0500
31 Y: 70 - January 1970-01-01T01:01:01-0500
32 Y: 71 - January 1971-01-01T01:01:01-0500
33 Y: 99 - January 1999-01-01T01:01:01-0500
35 Y: 101 - January 0101-01-01T01:01:01-0%d
36 Y: 105 - January 0105-01-01T01:01:01-0%d
37 Y: 110 - January 0110-01-01T01:01:01-0%d
38 Y: 1900 - January 1900-01-01T01:01:01-0%d
[all …]
H A Dmktime-3.phpt16 printf("Y: %4d - ", $year);
29 Y: 0 - January 2000-01-01T01:01:01-0500
30 Y: 69 - out of range
31 Y: 70 - January 1970-01-01T01:01:01-0500
35 Y: 105 - out of range
36 Y: 1900 - out of range
37 Y: 1901 - out of range
45 Y: 69 - out of range
50 Y: 105 - out of range
51 Y: 1900 - out of range
[all …]
H A Dbug17988.phpt7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n";
13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n";
14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n";
15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n";
16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n";
[all …]
H A Dbug33578.phpt6 echo date('m/d/Y', strtotime('Oct 11')), "\n";
7 echo date('m/d/Y', strtotime('11 Oct')), "\n";
8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n";
9 echo date('m/d/Y', strtotime('Oct11')), "\n";
10 echo date('m/d/Y', strtotime('11Oct')), "\n";
11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n";
12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
H A Dbug26198.phpt2 Bug #26198 (strtotime handling of "M Y" and "Y M" format)
6 echo gmdate("F Y (Y-m-d H:i:s T)\n", strtotime("Oct 2001"));
7 echo gmdate("M Y (Y-m-d H:i:s T)\n", strtotime("2001 Oct"));
H A Dbug51866.phpt8 array( 'Y-m-d', '2001-11-29 13:20:01' ),
9 array( 'Y-m-d+', '2001-11-29 13:20:01' ),
11 array( 'Y-m-d+', '2001-11-29' ),
12 array( 'Y-m-d +', '2001-11-29' ),
13 array( 'Y-m-d +', '2001-11-29 ' ),
27 string(5) "Y-m-d"
46 string(6) "Y-m-d+"
72 string(7) "Y-m-d +"
98 string(6) "Y-m-d+"
111 string(7) "Y-m-d +"
[all …]
H A Dbug74057.phpt5 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-01")))."\n";
6 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-02")))."\n";
7 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Tue 2017-01-03")))."\n";
8 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Wed 2017-01-04")))."\n";
9 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Thu 2017-01-05")))."\n";
10 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Fri 2017-01-06")))."\n";
11 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sat 2017-01-07")))."\n";
12 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-08")))."\n";
13 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-09")))."\n";
H A Dbug32086.phpt13 echo date("Y-m-d H:i:s T\n", $g);
14 echo date("Y-m-d H:i:s T\n", $i);
15 echo date("Y-m-d H:i:s T\n", $j);
16 echo date("Y-m-d H:i:s T\n", $k);
17 echo date("Y-m-d H:i:s T\n", $l);
24 echo date("Y-m-d H:i:s T\n", $g);
25 echo date("Y-m-d H:i:s T\n", $i);
26 echo date("Y-m-d H:i:s T\n", $j);
27 echo date("Y-m-d H:i:s T\n", $k);
28 echo date("Y-m-d H:i:s T\n", $l);
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid3.phpt7 interface Y {}
10 class TestParent implements X, Y, Z {}
14 public X&Y $prop;
16 public function method1(X&Y&Z $a): X&Y {}
17 public function method2(X&Y $a): X {}
20 public X&Y $prop;
22 public function method1(X&Y $a): X&Y&Z {}
23 public function method2(X $a): X&Y {}
H A Dvalid7.phpt6 // It's sufficient that Y is loadable.
7 interface Y {}
12 function method3(): Y|int {}
15 function method(): X&Y {}
16 function method2(): X&Y {}
17 function method3(): X&Y {}
H A Dvalid5.phpt7 interface Y {}
9 class TestOne implements X, Y {}
10 class TestTwo implements X, Y {}
14 public function foo(TestOne|TestTwo $param): X&Y;
19 public function foo(X&Y $param): TestOne|TestTwo;
29 public function foo(Y $param): TestOne;
39 public function foo(Y $param): TestOne;
H A Dinvalid6.phpt6 // Let Y and Z be loadable.
7 interface Y {}
11 function method(): X&Y {}
14 function method(): Y&Z {}
20 Fatal error: Could not check compatibility between Test2::method(): Y&Z and Test::method(): X&Y, be…
/php-src/ext/reflection/tests/types/
H A Ddnf_types_with_null.phpt23 public (X&Y)|null $prop;
35 class x implements Y, Countable {
48 Type X&Y is ReflectionIntersectionType:
52 Name: Y
53 String: Y
62 Type (X&Y)|null is ReflectionUnionType:
68 Name: Y
69 String: Y
72 Type (X&Y)|null is ReflectionUnionType:
78 Name: Y
[all …]
H A Ddnf_types.phpt23 public (X&Y)|Countable $prop;
35 class x implements Y, Countable {
47 Type X&Y is ReflectionIntersectionType:
51 Name: Y
52 String: Y
65 Type X&Y is ReflectionIntersectionType:
69 Name: Y
70 String: Y
76 Type X&Y is ReflectionIntersectionType:
80 Name: Y
[all …]
H A Dintersection_types.phpt19 public X&Y&Countable $prop;
31 class x implements Y, Countable {
42 Type X&Y&Z&Traversable&Countable:
47 Name: Y
48 String: Y
59 Type X&Y&Countable:
64 Name: Y
65 String: Y
70 Type X&Y&Countable:
75 Name: Y
[all …]
/php-src/Zend/tests/type_declarations/dnf_types/
H A Ddnf_intersection_and_single.phpt7 interface Y {}
9 class A implements X, Y {}
14 public (X&Y)|int $prop1;
15 public int|(X&Y) $prop2;
16 public (X&Y)|B $prop3;
17 public B|(X&Y) $prop4;
19 public function foo1((X&Y)|int $v): (X&Y)|int {
23 public function foo2(int|(X&Y) $v): int|(X&Y) {
27 public function bar1(B|(X&Y) $v): B|(X&Y) {
31 public function bar2((X&Y)|B $v): (X&Y)|B {
[all …]
H A Ddnf_intersection_and_null.phpt7 interface Y {}
9 class A implements X, Y {}
13 public (X&Y)|null $prop1;
14 public null|(X&Y) $prop2;
16 public function foo1((X&Y)|null $v): (X&Y)|null {
20 public function foo2(null|(X&Y) $v): null|(X&Y) {
70 Test::foo1(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d
71 Test::foo2(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d
72 Cannot assign C to property Test::$prop1 of type (X&Y)|null
73 Cannot assign C to property Test::$prop2 of type (X&Y)|null
H A Ddnf_2_intersection.phpt8 interface Y {}
11 class A implements X, Y {}
15 function foo1((X&Y)|(W&Z) $v): (X&Y)|(W&Z) {
18 function foo2((W&Z)|(X&Y) $v): (W&Z)|(X&Y) {
22 function bar1(): (X&Y)|(W&Z) {
25 function bar2(): (W&Z)|(X&Y) {
62 bar1(): Return value must be of type (X&Y)|(W&Z), C returned
63 bar2(): Return value must be of type (W&Z)|(X&Y), C returned
/php-src/ext/dba/tests/
H A Ddba_cdb.phpt25 Key 1 exists? Y
26 Key 2 exists? Y
27 Key 3 exists? Y
28 Key 4 exists? Y
29 Key 5 exists? Y
49 Key 1 exists? Y
50 Key 2 exists? Y
51 Key 3 exists? Y
52 Key 4 exists? Y
53 Key 5 exists? Y
/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dvalid7.phpt6 // It's sufficient that Y is loadable.
7 interface Y {}
12 function method3(): Y|int {}
15 function method1(): (X&Y)|Countable {}
16 function method2(): (X&Y)|int {}
17 function method3(): (X&Y)|int {}
/php-src/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error5.phpt14 public function method(): Y {}
19 public function method(Y $a) {}
22 } else if ($class == 'Y') {
23 class Y extends X {
26 var_dump(new Y);
28 class Z extends Y {
44 Fatal error: Declaration of Y::method(Z $a) must be compatible with X::method(Y $a) in %s on line %d
/php-src/ext/reflection/tests/
H A DReflectionClassConstant_getValue.phpt8 const X = self::Y * 2;
9 const Y = 1;
12 const X = self::Y * 2;
13 const Y = 1;
16 const X = self::Y * 2;
17 const Y = 1;
33 Constant [ public int Y ] { 1 }
/php-src/Zend/tests/
H A Dexception_during_variance_autoload.phpt8 new Y;
10 if ($class == 'Y') {
18 function method(): Y {}
22 Y
25 Fatal error: During inheritance of B, while autoloading Y: Uncaught Error: Class "Q" not found in %…
27 #0 %s(%d): {closure:%s:%d}('Y')

Completed in 31 milliseconds

12345678910>>...17