Home
last modified time | relevance | path

Searched refs:format (Results 276 – 300 of 772) sorted by relevance

1...<<11121314151617181920>>...31

/php-src/ext/date/tests/
H A Dbug52063.phpt7 echo $a->format(DateTime::COOKIE);
10 echo $a->format(DateTime::COOKIE);
H A DDateTime_setDate_basic1.phpt12 echo $datetime->format(DATE_RFC2822) . "\n";
16 echo $datetime->format(DATE_RFC2822) . "\n";
H A Dbug68503.phpt6 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\…
8 echo date_diff(new DateTime("2015-02-01"), new DateTime("2015-05-01"))->format( '%yY %mM %dD' ), "\…
H A Dbug75577.phpt2 Test for bug #75577: DateTime::createFromFormat does not accept 'v' format specifier
8 var_dump($s = $d->format(DateTime::RFC3339_EXTENDED));
H A Dbug51866.phpt17 list($format, $str) = $test;
18 var_dump($format, $str);
19 $d = DateTime::createFromFormat($format, $str);
125 string(%d) "Not enough data available to satisfy format"
H A Dbug65003.phpt14 echo $interval->format('%m month, %d days'), "\n"; //1 month, 3 days
17 echo $interval->format('%m month, %d days'), "\n"; //1 month, 0 days
H A Dbug46874.phpt8 echo $date->format("Y-m-d H:i:s\n");
15 echo $date->format("Y-m-d H:i:s\n");
H A Dbug45529.phpt12 echo $d->format(DATE_ISO8601), PHP_EOL;
15 echo $d->format(DATE_ISO8601), PHP_EOL;
H A Dbug73837.phpt14 var_dump($prev_dt->format("Y-m-d H:i:s.u"));
15 var_dump($dt->format("Y-m-d H:i:s.u"));
H A Dbug50392.phpt2 Bug #50392 (date_create_from_format enforces 6 digits for 'u' format character)
23 - Not enough data available to satisfy format
H A DDateTime_clone_basic1.phpt20 echo "Original: " . $orig->format("H:i:s") . "\n";
21 echo "Clone: " . $clone->format("H:i:s") . "\n";
H A Dbug74639.phpt22 if ($interval->format('Y-m-d H:i:s') != $clonedInterval->format('Y-m-d H:i:s')) {
H A Dbug75167.phpt15 echo $date->format('c') . "\n";
16 echo $newDate->format('c');
/php-src/ext/intl/tests/
H A Dmsgfmt_format_intlcalendar_variant3.phpt17 echo $msgf->format(array($cal)), "\n";
23 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
24 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant4.phpt21 echo $msgf->format(array($cal)), "\n";
27 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
28 $msgf->format(array($time, 'time')), "\n";
H A Dgh12243.phpt24 datefmt_create: time format must be UDAT_PATTERN if date format is UDAT_PATTERN: U_ILLEGAL_ARGUMENT…
H A Dbug53735.phpt19 var_dump($fmt->format(23.25));
22 var_dump($f->format(0.26));
H A Ddateformat_calendars.phpt28 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
29 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
H A Ddateformat_calendars_variant2.phpt29 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
31 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
H A Ddateformat_calendars_variant3.phpt29 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
31 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
H A Ddateformat_calendars_variant_icu72-1.phpt28 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
29 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
/php-src/ext/standard/tests/file/
H A Dfscanf_error.phpt22 // number of formats in format strings not matching the no of variables
33 // different invalid format strings
38 foreach($invalid_formats as $format) {
43 var_dump(fscanf($file_handle, $format));
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua28 local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char
221 out:write(format(" %s\n", t[i]))
267 out:write(format(" %s\n", t[i]))
302 local cname = format("@%s", sz)
314 local iname = format("@%s%x", sz, n-1)
333 elseif sz == "f" then name = format("st%d", i)
912 t.disp = format(tp.ctypefmt, tailr)
1802 map_op[name.."_2"] = format(
1831 map_op[fn.."p_1"] = format("ff:DE%02Xr", nr)
1832 map_op[fn.."p_2"] = format("fFf:DE%02Xr", nr)
[all …]
/php-src/ext/ffi/tests/
H A Dbug77632.phpt8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
17 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
/php-src/ext/standard/tests/strings/
H A Dsscanf_error.phpt9 $format = "%s %s";
14 sscanf($str, $format, $str1, $str2, $extra_str);

Completed in 29 milliseconds

1...<<11121314151617181920>>...31