Home
last modified time | relevance | path

Searched refs:format (Results 251 – 275 of 771) sorted by path

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

/php-src/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-fs.phpt19 echo 'fs1 ' . $end->format($date_format) . " - $interval_spec = "
20 . $end->sub($interval)->format($date_format) . "\n";
25 echo 'fs2 ' . $end->format($date_format) . " - $interval_spec = "
26 . $end->sub($interval)->format($date_format) . "\n";
31 echo 'fs3 ' . $end->format($date_format) . " - $interval_spec = "
32 . $end->sub($interval)->format($date_format) . "\n";
37 echo 'fs4 ' . $end->format($date_format) . " - $interval_spec = "
38 . $end->sub($interval)->format($date_format) . "\n";
44 . $end->sub($interval)->format($date_format) . "\n";
50 . $end->sub($interval)->format($date_format) . "\n";
[all …]
H A Dstrftime_basic.phpt9 $format = '%b %d %Y %H:%M:%S';
13 var_dump( strftime($format, $timestamp) );
16 var_dump( strftime($format) );
H A Dstrftime_variation11.phpt12 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
13 $format = "%h";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
21 -- Testing strftime() function with Abbreviated month name format %h --
H A Dstrftime_variation12.phpt18 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
19 $format = "%h";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
27 -- Testing strftime() function with Abbreviated month name format %h --
H A Dstrftime_variation15.phpt16 'Current time %H:%M:%S format' => "%T",
47 --Current time %H:%M:%S format--
H A Dstrftime_variation16.phpt22 'Current time %H:%M:%S format' => "%T",
53 --Current time %H:%M:%S format--
H A Dstrftime_variation17.phpt12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
13 $format = "%e";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
20 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation18.phpt18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
19 $format = "%e";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
26 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation3.phpt2 Test strftime() function : usage variation - Passing week related format strings to format argument.
H A Dstrftime_variation4.phpt2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
H A Dstrftime_variation5.phpt2 Test strftime() function : usage variation - Passing date related format strings to format argument.
H A Dstrftime_variation6.phpt2 Test strftime() function : usage variation - Passing time related format strings to format argument.
15 'Hour as decimal by 24-hour format' => "%H",
16 'Hour as decimal by 12-hour format' => "%I",
18 'AM/PM format for a time' => "%p",
34 --Hour as decimal by 24-hour format--
42 --Hour as decimal by 12-hour format--
58 --AM/PM format for a time--
H A Dstrftime_variation7.phpt2 Test strftime() function : usage variation - Passing day related format strings to format argument.
H A Dstrftime_variation8.phpt2 Test strftime() function : usage variation - Passing literal related strings to format argument.
11 $format = "%%";
13 echo "\n-- Testing strftime() function with a literal % character to format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
21 -- Testing strftime() function with a literal % character to format --
H A Dtest-parse-from-format.phpt12 foreach( $formats as $format )
15 $formatted = $date->format( $format ) ;
16 $date2 = date_create_from_format( $format, $formatted );
17 var_dump( $format, $formatted, $date2 );
21 var_dump(date_parse_from_format( $format, $formatted ) );
H A Dtimestamp-in-dst.phpt7 var_dump( date_create( '@1202996091' )->format( 'c' ) );
/php-src/ext/dom/
H A Ddocument.c1563 bool format = doc_props->formatoutput; in PHP_METHOD() local
1598 bool format = doc_props->formatoutput; in dom_document_save_xml() local
1620 if (format) { in dom_document_save_xml()
2064 int bytes, format; in PHP_METHOD() local
2085 format = doc_props->formatoutput; in PHP_METHOD()
2086 bytes = htmlSaveFileFormat(file, docp, encoding, format); in PHP_METHOD()
2104 int format; in PHP_METHOD() local
2116 format = doc_props->formatoutput; in PHP_METHOD()
2140 htmlNodeDumpFormatOutput(outBuf, docp, node, NULL, format); in PHP_METHOD()
2146 htmlNodeDumpFormatOutput(outBuf, docp, node, NULL, format); in PHP_METHOD()
[all …]
H A Dxml_document.c260 static zend_string *php_new_dom_dump_node_to_str_ex(xmlNodePtr node, int options, bool format, cons… in php_new_dom_dump_node_to_str_ex() argument
270 status = dom_xml_serialize(ctxt, out, node, format); in php_new_dom_dump_node_to_str_ex()
287 static zend_string *php_new_dom_dump_node_to_str(xmlDocPtr doc, xmlNodePtr node, bool format, const… in php_new_dom_dump_node_to_str() argument
289 return php_new_dom_dump_node_to_str_ex(node, 0, format, encoding); in php_new_dom_dump_node_to_str()
297 …_node_to_file(const char *filename, xmlDocPtr doc, xmlNodePtr node, bool format, const char *encod… in php_new_dom_dump_node_to_file() argument
311 status = dom_xml_serialize(ctxt, out, node, format); in php_new_dom_dump_node_to_file()
323 static zend_long php_new_dom_dump_doc_to_file(const char *filename, xmlDocPtr doc, bool format, con… in php_new_dom_dump_doc_to_file() argument
325 return php_new_dom_dump_node_to_file(filename, doc, (xmlNodePtr) doc, format, encoding); in php_new_dom_dump_doc_to_file()
/php-src/ext/dom/lexbor/lexbor/core/
H A Dprint.c29 va_start(va, format); in lexbor_printf_size()
44 begin = format; in lexbor_vprintf_size()
48 c = *format; in lexbor_vprintf_size()
51 c = format[1]; in lexbor_vprintf_size()
75 format++; in lexbor_vprintf_size()
82 format++; in lexbor_vprintf_size()
92 va_start(va, format); in lexbor_sprintf()
107 begin = format; in lexbor_vsprintf()
112 c = *format; in lexbor_vsprintf()
149 format++; in lexbor_vsprintf()
[all …]
H A Dprint.h23 lexbor_printf_size(const char *format, ...);
26 lexbor_vprintf_size(const char *format, va_list va);
29 lexbor_sprintf(lxb_char_t *dst, size_t size, const char *format, ...);
32 lexbor_vsprintf(lxb_char_t *dst, size_t size, const char *format, va_list va);
/php-src/ext/dom/lexbor/lexbor/css/
H A Dlog.h63 const char *format, ...);
/php-src/ext/dom/lexbor/patches/
H A D0001-Patch-utilities-and-data-structure-to-be-able-to-gen.patch41 - hash_key.append(key_id, '(void *) {}'.format(idx))
54 - hash_key.append(key_id, '(void *) {}'.format(idx + 0x80))
79 result.append("{{{}, {}, {}}},".format(entry[0], entry[1], entry[2]))
93 result.append("{{{}, {}, {}}}\n".format(entry[0], entry[1], entry[2]))
H A D0001-Shrink-size-of-static-binary-search-tree.patch91 value = '"{}"'.format(toHex(index[ split[0] ]['values'][0]['characters']))
H A DREADME.md8 This contains the following patch files in mailbox format.
/php-src/ext/dom/tests/
H A DDOMDocument_saveHTMLFile_formatOutput.phpt2 DOMDocument::saveHTMLFile() should format output on demand

Completed in 58 milliseconds

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