Home
last modified time | relevance | path

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

12345678910

/PHP-8.3/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-8.3/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_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");
46 …: DatePeriod::__construct(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given
47 …::createFromISO8601String(): ISO interval must contain an interval, "R4/2012-07-01T00:00:00Z" given
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
/PHP-8.3/ext/zlib/
H A Dzlib.c79 inflateEnd(&intern->Z); in inflate_context_free_obj()
114 deflateEnd(&intern->Z); in deflate_context_free_obj()
182 deflateEnd(&ctx->Z); in php_zlib_output_handler_ex()
387 z_stream Z; in php_zlib_encode() local
399 Z.avail_in = in_len; in php_zlib_encode()
403 deflateEnd(&Z); in php_zlib_encode()
429 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; in php_zlib_inflate_rounds()
473 z_stream Z; in php_zlib_decode() local
488 inflateEnd(&Z); in php_zlib_decode()
494 inflateEnd(&Z); in php_zlib_decode()
[all …]
/PHP-8.3/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"
/PHP-8.3/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-8.3/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-8.3/ext/pcre/tests/
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', array('[a-z]', //Array of Regexes
16 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
39 Arg value is /[a-zA-Z]
44 Arg value is [a-zA-Z]/
49 Arg value is /[a-zA-Z]/F
57 Arg value is /[a-zA-Z]/
H A Dpreg_grep_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
15 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
16 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
43 Arg value is /[a-zA-Z]
48 Arg value is [a-zA-Z]/
53 Arg value is /[a-zA-Z]/F
61 Arg value is /[a-zA-Z]/
H A Dpreg_match_error1.phpt11 '/[a-zA-Z]', //Regex without closing delimiter
12 '[a-zA-Z]/', //Regex without opening delimiter
13 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
14 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
40 Arg value is /[a-zA-Z]
45 Arg value is [a-zA-Z]/
50 Arg value is /[a-zA-Z]/F
58 Arg value is /[a-zA-Z]/
H A Dpreg_split_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
15 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
16 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
42 Arg value is /[a-zA-Z]
47 Arg value is [a-zA-Z]/
52 Arg value is /[a-zA-Z]/F
60 Arg value is /[a-zA-Z]/
H A Dpreg_match_all_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
15 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
16 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string
45 Arg value is /[a-zA-Z]
51 Arg value is [a-zA-Z]/
57 Arg value is /[a-zA-Z]/F
67 Arg value is /[a-zA-Z]/
H A Dpreg_replace_callback_error1.phpt13 '/[a-zA-Z]', //Regex without closing delimiter
14 '[a-zA-Z]/', //Regex without opening delimiter
15 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes
16 '[A-Z]', '[0-9]'), '/[0-9]/'); //Regex string
36 Arg value is /[a-zA-Z]
41 Arg value is [a-zA-Z]/
46 Arg value is /[a-zA-Z]/F
/PHP-8.3/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-8.3/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-8.3/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-8.3/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-8.3/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 {}

Completed in 27 milliseconds

12345678910