Home
last modified time | relevance | path

Searched refs:Y (Results 51 – 75 of 430) sorted by relevance

12345678910>>...18

/php-src/ext/date/tests/
H A Dbug54851.phpt14 $datePre = DateTime::createFromFormat("!D d M Y", "Fri 17 may 2011");
15 $datePost = DateTime::createFromFormat("!d M Y D", "17 may 2011 Fri");
18 var_dump($datePre->format("Y-m-d") == $datePost->format("Y-m-d"));
29 $date1 = DateTime::createFromFormat("!D d M Y", "Fri 19 November 2011");
33 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d'));
36 $date1 = DateTime::createFromFormat("!D d M Y", "Sat 19 November 2011");
40 var_dump($date1->format('Y-m-d') == $date2->format('Y-m-d'));
H A Dbug80664.phpt7 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
9 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
11 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
13 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n\n";
17 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
19 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
H A Ddate_diff.phpt22 // echo $dates[$i]->format( "Y-m-d\n" );
28 $dates[$i]->format( 'Y-m-d' ),
29 $dates[$j]->format( 'Y-m-d' ),
48 $dates[$i]->format( 'Y-m-d' ), " + ",
50 $current->format( 'Y-m-d' ), " (",
51 $dates[$j]->format( 'Y-m-d' ), ")\n";
H A Dbug43003.phpt8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
H A Dforward-transition-construction.phpt8 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
11 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
14 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
17 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
20 echo $date->format('Y-m-d H:i:s T/e - U') . "\n";
H A Dtest-parse-from-format.phpt26 string(13) "Y-m-d\TH:i:sP"
37 string(16) "l, d-M-Y H:i:s T"
48 string(13) "Y-m-d\TH:i:sO"
103 string(16) "D, d M Y H:i:s O"
114 string(16) "D, d M Y H:i:s O"
125 string(13) "Y-m-d\TH:i:sP"
136 string(15) "Y-m-d\TH:i:s.vP"
147 string(16) "D, d M Y H:i:s O"
158 string(13) "Y-m-d\TH:i:sP"
/php-src/ext/reflection/tests/types/
H A Dunion_types.phpt69 Name: Y
70 String: Y
128 Type X|Y|int:
133 Name: Y
134 String: Y
139 Type X|Y|int:
144 Name: Y
145 String: Y
150 Type X|Y|int:
155 Name: Y
[all …]
/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dinvalid_invariance1.phpt7 interface Y {}
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.phpt7 interface Y {}
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
H A Dinvalid_invariance2.phpt7 interface Y {}
8 class A implements X, Y {}
12 public (X&Y)|B $prop;
21 Fatal error: Type of Test2::$prop must be (X&Y)|B (as in class Test) in %s on line %d
H A Dinvalid_covariance_intersection_to_union2.phpt7 interface Y {}
9 class TestOne implements X, Y {}
13 public function foo(): X&Y;
23 Fatal error: Declaration of B::foo(): TestOne|int must be compatible with A::foo(): X&Y in %s on li…
/php-src/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload4.phpt6 // Same as autoload3 test case, but with X, Y being interfaces.
15 public function method(): Y {}
23 } else if ($class == 'Y') {
24 interface Y extends X {
27 var_dump(interface_exists('Y'));
H A Dclass_order_autoload_error4.phpt14 public function method(): Y {}
22 } else if ($class == 'Y') {
23 class Y extends X {
26 var_dump(new Y);
39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
H A Dclass_order_autoload_error6.phpt14 public function method(): Y {}
22 } else if ($class == 'Y') {
23 class Y extends X {
26 var_dump(new Y);
39 Fatal error: Could not check compatibility between Y::method(): Unknown and X::method(): X, because…
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid_invariance2.phpt7 interface Y {}
8 class A implements X, Y {}
11 public X&Y $prop;
20 Fatal error: Type of Test2::$prop must be X&Y (as in class Test) in %s on line %d
H A Dinvalid_covariance_intersection_to_union2.phpt7 interface Y {}
9 class TestOne implements X, Y {}
13 public function foo(): X&Y;
23 Fatal error: Declaration of B::foo(): TestOne|int must be compatible with A::foo(): X&Y in %s on li…
/php-src/ext/opcache/tests/jit/
H A Dgh10271.phpt17 $sol['Y']['k']=-14.400586941152;
18 $sol['Y']['e']=392.95090925357;
19 $sol['Y'][1]=-0.035664413413272;
33 $y = $sol['Y']['k']*$tang['KSI'] + $sol['Y']['e']*$tang['ETA'] + $sol['Y'][1];
/php-src/Zend/tests/exceptions/
H A Dexception_during_variance_autoload_2.phpt6 class Y {}
13 function method(): Y {}
17 Fatal error: During inheritance of B, while autoloading Y: Uncaught Exception in %s:%d
19 #0 %s(%d): {closure:%s:%d}('Y')
/php-src/Zend/tests/namespaces/
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_037.phpt6 use X as Y;
18 new Y\X();
21 Y\X::bar();
24 echo Y\X::C;
27 echo Y\X::$var;
/php-src/Zend/tests/
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 Dclass_constant_inheritance_mutable_data.phpt12 const X = 'X' . self::Y;
13 const Y = 'Y';
27 class Y extends X {
29 var_dump(X::C, Y::C);
/php-src/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-src/tests/classes/
H A Dmethod_call_variation_001.phpt2 In $a->$b[Y]() and $a->X[Y]() both $a->$b[Y] and $a->X[Y] represent a global function name
/php-src/ext/reflection/tests/
H A DReflectionMethod_constructor_basic.phpt23 function Y() {
28 $methodInfo = ReflectionMethod::createFromMethodName("X::Y");
31 class Y extends X {
34 $methodInfo = ReflectionMethod::createFromMethodName("Y::Y");

Completed in 34 milliseconds

12345678910>>...18