/php-src/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type3-fs.phpt | 19 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 D | strftime_basic.phpt | 9 $format = '%b %d %Y %H:%M:%S'; 13 var_dump( strftime($format, $timestamp) ); 16 var_dump( strftime($format) );
|
H A D | strftime_variation11.phpt | 12 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 D | strftime_variation12.phpt | 18 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 D | strftime_variation15.phpt | 16 'Current time %H:%M:%S format' => "%T", 47 --Current time %H:%M:%S format--
|
H A D | strftime_variation16.phpt | 22 'Current time %H:%M:%S format' => "%T", 53 --Current time %H:%M:%S format--
|
H A D | strftime_variation17.phpt | 12 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 D | strftime_variation18.phpt | 18 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 D | strftime_variation3.phpt | 2 Test strftime() function : usage variation - Passing week related format strings to format argument.
|
H A D | strftime_variation4.phpt | 2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
|
H A D | strftime_variation5.phpt | 2 Test strftime() function : usage variation - Passing date related format strings to format argument.
|
H A D | strftime_variation6.phpt | 2 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 D | strftime_variation7.phpt | 2 Test strftime() function : usage variation - Passing day related format strings to format argument.
|
H A D | strftime_variation8.phpt | 2 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 D | test-parse-from-format.phpt | 12 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 D | timestamp-in-dst.phpt | 7 var_dump( date_create( '@1202996091' )->format( 'c' ) );
|
/php-src/ext/dom/ |
H A D | document.c | 1563 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 D | xml_document.c | 260 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 D | print.c | 29 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 D | print.h | 23 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 D | log.h | 63 const char *format, ...);
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Patch-utilities-and-data-structure-to-be-able-to-gen.patch | 41 - 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 D | 0001-Shrink-size-of-static-binary-search-tree.patch | 91 value = '"{}"'.format(toHex(index[ split[0] ]['values'][0]['characters']))
|
H A D | README.md | 8 This contains the following patch files in mailbox format.
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_saveHTMLFile_formatOutput.phpt | 2 DOMDocument::saveHTMLFile() should format output on demand
|