Home
last modified time | relevance | path

Searched refs:formatObject (Results 1 – 17 of 17) sorted by relevance

/PHP-8.4/ext/intl/tests/
H A Ddateformat_formatObject_error.phpt2 IntlDateFormatter::formatObject(): error conditions
11 var_dump(IntlDateFormatter::formatObject(new stdclass));
14 var_dump(IntlDateFormatter::formatObject(new A));
17 var_dump(IntlDateFormatter::formatObject(new B));
23 var_dump(IntlDateFormatter::formatObject($cal, -2));
24 var_dump(IntlDateFormatter::formatObject($cal, array()));
25 var_dump(IntlDateFormatter::formatObject($cal, array(1,2,3)));
26 var_dump(IntlDateFormatter::formatObject($cal, array(array(), 1)));
27 var_dump(IntlDateFormatter::formatObject($cal, array(1, -2)));
28 var_dump(IntlDateFormatter::formatObject($cal, ""));
[all …]
H A Ddateformat_formatObject_datetime.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_calendar.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_datetime_variant_icu72-1.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant2.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_calendar_variant2.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant3.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
15 echo IntlDateFormatter::formatObject($cal), "\n";
16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant4.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
15 echo IntlDateFormatter::formatObject($cal), "\n";
16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant5.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
15 echo IntlDateFormatter::formatObject($cal), "\n";
16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant_icu72-1.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_datetime_variant3.phpt2 IntlDateFormatter::formatObject(): DateTime tests
15 echo IntlDateFormatter::formatObject($dt), "\n";
16 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
19 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant4.phpt2 IntlDateFormatter::formatObject(): DateTime tests
15 echo IntlDateFormatter::formatObject($dt), "\n";
16 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
19 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant5.phpt2 IntlDateFormatter::formatObject(): DateTime tests
15 echo IntlDateFormatter::formatObject($dt), "\n";
16 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
19 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Dbug69398-icu74.1.phpt2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE.
14 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE…
15 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
H A Dbug69398.phpt2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE.
15 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE…
16 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
H A Dbug69374.phpt2 IntlDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string patte…
14 echo IntlDateFormatter::formatObject($date, $pattern1, 'vi_VN'), "\n";
15 echo IntlDateFormatter::formatObject ($date, $pattern2, 'ko_KR'), "\n";
/PHP-8.4/ext/intl/dateformat/
H A Ddateformat.stub.php153 …public static function formatObject($datetime, $format = null, ?string $locale = null): string|fal… function in IntlDateFormatter

Completed in 25 milliseconds