Home
last modified time | relevance | path

Searched refs:Z (Results 1 – 25 of 231) sorted by relevance

12345678910

/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_inheritance_success2.phpt11 class Z extends S {}
22 public const S CONST1 = Z;
23 public const Z CONST2 = Z;
24 public const S CONST3 = Z;
25 public const S&Stringable CONST4 = Z;
30 define("Z", new Z());
39 object(Z)#%d (%d) {
41 object(Z)#%d (%d) {
43 object(Z)#%d (%d) {
45 object(Z)#%d (%d) {
[all …]
/php-src/ext/date/tests/
H A Dbug52808.phpt8 "2008-05-11T15:30:00Z/2007-03-01T13:00:00Z",
9 "2007-05-11T15:30:00Z/2008-03-01T13:00:00Z",
10 "2007-05-11T15:30:00Z 2008-03-01T13:00:00Z",
12 "2007-05-11T15:30:00Z/",
13 "2007-05-11T15:30:00Z",
14 "2007-05-11T15:30:00Z/:00Z",
96 DateMalformedIntervalStringException: Failed to parse interval (2007-05-11T15:30:00Z/)
97 DateMalformedIntervalStringException: Failed to parse interval (2007-05-11T15:30:00Z)
98 DateMalformedIntervalStringException: Unknown or bad format (2007-05-11T15:30:00Z/:00Z)
H A Ddate_format_timezone.phpt19 echo "Z\n";
20 $date = date_create("2020-03-10 22:30:41Z");
29 string(1) "Z"
42 Z
43 string(1) "Z"
H A Ddate_interval_prop_dim.phpt5 class Z extends DateInterval{}
6 $z = new Z('P2Y4DT6H8M');
16 Deprecated: Creation of dynamic property Z::$prop is deprecated in %s on line %d
H A Dgh10447.phpt2 Bug GH-10447 ('p' format specifier does not yield 'Z' for 00:00)
12 2023-01-25T00:00:00Z
13 2023-01-25T00:00:00Z
H A Ddate_period_bad_iso_format.phpt19 new DatePeriod("R4/2012-07-01T00:00:00Z");
25 DatePeriod::createFromISO8601String("R4/2012-07-01T00:00:00Z");
31 new DatePeriod("2012-07-01T00:00:00Z/P7D");
37 DatePeriod::createFromISO8601String("2012-07-01T00:00:00Z/P7D");
49 …: DatePeriod::__construct(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given
50 …::createFromISO8601String(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given
/php-src/ext/zlib/
H A Dzlib.c78 inflateEnd(&intern->Z); in inflate_context_free_obj()
113 deflateEnd(&intern->Z); in deflate_context_free_obj()
181 deflateEnd(&ctx->Z); in php_zlib_output_handler_ex()
386 z_stream Z; in php_zlib_encode() local
398 Z.avail_in = in_len; in php_zlib_encode()
402 deflateEnd(&Z); in php_zlib_encode()
428 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; in php_zlib_inflate_rounds()
472 z_stream Z; in php_zlib_decode() local
487 inflateEnd(&Z); in php_zlib_decode()
493 inflateEnd(&Z); in php_zlib_decode()
[all …]
/php-src/ext/soap/tests/schema/
H A Dschema064.phpt45Z</dateTime><time xsi:type="xsd:time">01:02:03Z</time><date xsi:type="xsd:date">1976-04-05Z</date>…
48 string(20) "1976-04-05T01:02:03Z"
50 string(9) "01:02:03Z"
52 string(11) "1976-04-05Z"
54 string(8) "1976-04Z"
56 string(5) "1976Z"
58 string(8) "--04-05Z"
60 string(6) "---05Z"
62 string(7) "--04--Z"
H A Dschema086.phpt27 new DateTime("2023-10-14 13:37:42.1234Z"),
86Z</dateTime><time xsi:type="xsd:time">13:37:42.123400Z</time><date xsi:type="xsd:date">2023-10-14Z
89 string(27) "2023-10-14T13:37:42.123400Z"
91 string(16) "13:37:42.123400Z"
93 string(11) "2023-10-14Z"
95 string(8) "2023-10Z"
97 string(5) "2023Z"
99 string(8) "--10-14Z"
101 string(6) "---14Z"
103 string(7) "--10--Z"
/php-src/Zend/tests/type_declarations/dnf_types/
H A Ddnf_2_intersection.phpt9 interface Z {}
12 class B implements W, Z {}
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/Zend/tests/type_declarations/union_types/
H A Dmultiple_classes.phpt7 public X|Y|Z|int $prop;
8 public function method(X|Y|Z|int $arg): X|Y|Z|int {
49 class Z {}
52 $test->prop = new Z;
54 var_dump($test->method(new Z));
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 …
76 object(Z)#6 (0) {
78 object(Z)#4 (0) {
/php-src/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid3.phpt8 interface Z {}
10 class TestParent implements X, Y, Z {}
11 class TestChild implements Z {}
16 public function method1(X&Y&Z $a): X&Y {}
22 public function method1(X&Y $a): X&Y&Z {}
H A Dinvalid6.phpt6 // Let Y and Z be loadable.
8 interface Z {}
14 function method(): Y&Z {}
20 Fatal error: Could not check compatibility between Test2::method(): Y&Z and Test::method(): X&Y, be…
H A Dinvalid_covariance_intersection_to_union3.phpt8 interface Z extends Y {}
10 class TestOne implements X, Z {}
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…
/php-src/ext/mbstring/tests/
H A Dphp_gr_jp_dev_884-2.phpt11 var_dump(mb_ereg_replace("C?$", "Z", "ABC"));
12 var_dump(preg_replace("/C?$/", "Z", "ABC"));
13 var_dump(mb_ereg_replace("C*$", "Z", "ABC"));
14 var_dump(preg_replace("/C*$/", "Z", "ABC"));
/php-src/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error5.phpt24 public function method(Z $a) {}
27 } else if ($class == 'Z') {
28 class Z extends Y {
31 var_dump(new Z);
44 Fatal error: Declaration of Y::method(Z $a) must be compatible with X::method(Y $a) in %s on line %d
/php-src/Zend/tests/type_declarations/intersection_types/
H A Dtyped_reference.phpt8 interface Z {}
10 class A implements X, Y, Z {}
15 public X&Z $z;
30 Cannot assign B to reference held by property Test::$z of type X&Z
H A Dassigning_intersection_types.phpt8 interface Z {}
11 class TestChild extends TestParent implements Z {}
15 public X&Y&Z $prop;
17 public function method1(X&Y $a): X&Y&Z {
49 Cannot assign TestParent to property A::$prop of type X&Y&Z
/php-src/Zend/tests/type_declarations/dnf_types/variance/
H A Dinvalid_covariance_intersection_to_union3.phpt8 interface Z extends Y {}
10 class TestOne implements X, Z {}
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 Dvalid6.phpt8 interface Z {}
11 public function test(): X|Z {}
14 public function test(): (X&Y)|Z {}
/php-src/ext/pcre/tests/
H A Dpreg_match_caseless_restrict.phpt15 var_dump(preg_match('/AskZ/iur', "As\u{212a}Z")); // no match
19 var_dump(preg_match('/AskZ/iu', "As\u{212a}Z")); // match
26 var_dump(preg_match('/A\x{17f}\x{212a}Z/iu', 'AskZ')); // match
27 var_dump(preg_match('/A\x{17f}\x{212a}Z/iur', 'AskZ')); // no match
33 var_dump(preg_match('/[AskZ]+/iur', "As\u{212a}Z")); // match
37 var_dump(preg_match('/[AskZ]+/iu', "As\u{212a}Z")); // match
44 var_dump(preg_match('/[^s]+/iur', "A\u{17f}Z")); // match
45 var_dump(preg_match('/[^s]+/iu', "A\u{17f}Z")); // match
46 var_dump(preg_match('/[^s]+/iu', "A\u{17f}Z")); // match
47 var_dump(preg_match('/[^k]+/iur', "A\u{212a}Z")); // match
[all …]
H A Dpreg_replace_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
15 '/[a-zA-Z]/F',
18 '[A-Z]',
21 '/[a-zA-Z]/', //Regex string
/php-src/ext/standard/tests/strings/
H A Dpack_Z.phpt2 pack()/unpack(): "Z" format
10 pack("Z*", "foo"),
11 unpack("Z*", "foo\0\rbar\0 \t\r\n"),
21 Warning: unpack(): Type Z: not enough input values, need 2 values but only 1 was provided in %s on …
/php-src/Zend/tests/
H A Dbug60536_001.phpt16 class Z extends Y {
21 $a = new Z();
26 Warning: Undefined property: Z::$x in %s on line %d
H A Dbug69180-backtrace.phpt35 class Z extends Model {
69 $m = new Z();
97 string(8) "Z::__get"
98 string(10) "Z::__x_get"
105 [2] => Z::__x_get
106 [3] => Z::__get

Completed in 28 milliseconds

12345678910