Home
last modified time | relevance | path

Searched refs:format (Results 251 – 275 of 804) sorted by relevance

1...<<11121314151617181920>>...33

/PHP-7.4/ext/standard/tests/strings/
H A Dvfprintf_variation16_64bit.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * are passed to the '$format' and '$args' arguments of the function
29 // Arrays of signed and other type of values for the format defined in $format.
30 // Each sub array contains signed values which correspond to each format in $format
68 // looping to test vfprintf() with different unsigned formats from the above $format array
H A Dvfprintf_variation4.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * the '$format' and '$args' arguments of the function
29 // Arrays of non int values for the format defined in $format.
30 // Each sub array contains non int values which correspond to each format in $format
69 // looping to test vfprintf() with different int formats from the above $format array
H A Dvfprintf_variation8.phpt5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
12 * the '$format' and '$args' arguments of the function
27 // Arrays of non string values for the format defined in $format.
28 // Each sub array contains non string values which correspond to each format in $format
67 // looping to test vfprintf() with different string formats from the above $format array
H A Dvsprintf_variation14_64bit.phpt9 /* Prototype : string vsprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
29 // Arrays of non hexa values for the format defined in $format.
30 // Each sub array contains non hexa values which correspond to each format in $format
70 // looping to test vsprintf() with different hexa formats from the above $format array
H A Dunpack.phpt2 Invalid format type validation
9 Warning: unpack(): Invalid format type - in %sunpack.php on line %d
H A Dvprintf_variation18.phpt5 /* Prototype : string vprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
59 // looping to test vprintf() with different scientific formats from the above $format array
H A Dvfprintf_variation14.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * the '$format' and '$args' arguments of the function
29 // Arrays of non hexa values for the format defined in $format.
30 // Each sub array contains non hexa values which correspond to each format in $format
75 // looping to test vfprintf() with different hexa formats from the above $format array
H A Dvfprintf_variation14_64bit.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * the '$format' and '$args' arguments of the function
29 // Arrays of non hexa values for the format defined in $format.
30 // Each sub array contains non hexa values which correspond to each format in $format
75 // looping to test vfprintf() with different hexa formats from the above $format array
H A Dvfprintf_variation18.phpt5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
12 * the '$format' and '$args' arguments of the function
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
64 // looping to test vfprintf() with different scientific formats from the above $format array
H A Dvsprintf_variation18.phpt5 /* Prototype : string vsprintf(string format, array args)
12 * the '$format' and '$args' arguments of the function
25 // Arrays of non scientific values for the format defined in $format.
26 // Each sub array contains non scientific values which correspond to each format in $format
59 // looping to test vsprintf() with different scientific formats from the above $format array
H A Dvfprintf_variation1.phpt9 /* Prototype : int vfprintf(resource stream, string format, array args)
33 function writeAndDump($fp, $format, $args)
36 $length = vfprintf( $fp, $format, $args );
44 writeAndDump( $fp, "format", null );
68 string(6) "format"
/PHP-7.4/ext/date/tests/
H A Dbug49778.phpt2 Bug #49778 (DateInterval::format("%a") is always zero when an interval is created from an ISO strin…
7 echo $i->format("%d"), "\n";
8 echo $i->format("%a"), "\n";
H A Dbug60774.phpt2 Bug #60774 (DateInterval::format("%a") is always zero when an interval is created using the createF…
7 echo $i->format("%d"), "\n";
8 echo $i->format("%a"), "\n";
H A Dbug71889.phpt2 Bug #71889 (DateInterval::format segfault on '%' input)
8 var_dump($di->format("%"));
H A Dbug45866.phpt9 echo $date->format( 'r' ), "\n";
13 echo $date->format( 'r' ), "\n";
17 echo $date->format( 'r' ), "\n";
H A Dtest-parse-from-format.phpt10 foreach( $formats as $format )
13 $formatted = $date->format( $format ) ;
14 $date2 = date_create_from_format( $format, $formatted );
15 var_dump( $format, $formatted, $date2 );
19 var_dump(date_parse_from_format( $format, $formatted ) );
H A Dbug67118.phpt9 public function __construct($time = 'now', $tz = NULL, $format = NULL)
17 echo "Bad date" . $this->format("Y") . "\n";
26 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc…
H A Dgmdate_variation14.phpt7 /* Prototype : string gmdate(string format [, long timestamp])
16 $format = DATE_ISO8601;
20 var_dump( gmdate($format, $timestamp) );
24 var_dump( gmdate($format, $timestamp) );
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_tif_mm.phpt2 GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering
11 echo "*** Testing getimagesize() : tiff_mm format ***\n";
18 *** Testing getimagesize() : tiff_mm format ***
/PHP-7.4/ext/intl/tests/
H A Ddateformat_formatObject_error.phpt51 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the date/time format type is inv…
54 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must ha…
57 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must ha…
60 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the date format (fir…
63 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the time format (sec…
66 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the format is empty in %s on lin…
H A Dbug69374.phpt2 IntlDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string patte…
10 $pattern1 = '\'tháng\' MM, y'; // yMM format for Vietnamese
11 $pattern2 = 'y년 MMM'; // yMM format for Korean
/PHP-7.4/main/
H A Dsnprintf.c385 if (format == 'F') { in php_conv_fp()
401 if (format == 'F') { in php_conv_fp()
441 if (format != 'F') { in php_conv_fp()
446 *s++ = format; /* either e or E */ in php_conv_fp()
1239 cc = format_converter(&od, format, ap); in strx_printv()
1254 va_start(ap, format); in ap_php_slprintf()
1255 strx_printv(&cc, buf, len, format, ap); in ap_php_slprintf()
1269 strx_printv(&cc, buf, len, format, ap); in ap_php_vslprintf()
1283 va_start(ap, format); in ap_php_snprintf()
1328 va_start(ap, format); in ap_php_asprintf()
[all …]
H A Dspprintf.h27 PHPAPI void php_printf_to_smart_string(smart_string *buf, const char *format, va_list ap);
28 PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap);
/PHP-7.4/ext/standard/tests/time/
H A Dstrptime_error.phpt11 /* Prototype : array strptime ( string $date , string $format )
26 $format = '%b %d %Y %H:%M:%S';
28 $date = strftime($format, $timestamp);
33 var_dump( strptime($date, $format, $extra_arg) );
36 var_dump( strptime('foo', $format) );
/PHP-7.4/ext/standard/
H A Dscanf.h42 PHPAPI int ValidateFormat(char *format, int numVars, int *totalVars);
43 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval *args,

Completed in 43 milliseconds

1...<<11121314151617181920>>...33