Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...35

/PHP-7.2/ext/standard/tests/strings/
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 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 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 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"
H A Dunpack_error.phpt6 /* Prototype : array unpack ( string $format , string $data )
20 echo "\n-- Testing unpack() function with invalid format character --\n";
38 -- Testing unpack() function with invalid format character --
40 Warning: unpack(): Invalid format type B in %s on line %d
/PHP-7.2/ext/intl/tests/
H A Dmsgfmt_format_error2.phpt2 MessageFormatter::format() inconsistent types in named argument
18 var_dump($mf->format(array(7)));
20 Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
H A Dmsgfmt_format_error3.phpt2 MessageFormatter::format() given negative arg key
18 var_dump($mf->format(array("foo" => 7, -1 => "bar")));
20 Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
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 Dmsgfmt_format_error6.phpt2 MessageFormatter::format() invalid type for key not in pattern
18 var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+'))));
20 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
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.2/ext/date/tests/
H A Didate_basic.phpt5 /* Prototype : int idate(string format [, int timestamp])
14 $format = 'Y';
18 var_dump( idate($format) );
H A Dbug39782.phpt8 echo $dttTest->format('D M j Y - H:i:s') . "\n";
11 echo $dttTest->format('D M j Y - H:i:s') . "\n";
14 echo $dttTest->format('D M j Y - H:i:s') . "\n";
H A Dbug75857.phpt11 var_dump($longDate->format('e'));
12 var_dump($mediumDate->format('e'));
13 var_dump($smallDate->format('e'));
H A Dbug52062-64bit.phpt12 var_dump($d->format('Y-m-d H:i:s U'));
16 var_dump($d->format('Y-m-d H:i:s U'));
20 var_dump($i->format('%s'));
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 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 Dbug45866.phpt9 echo $date->format( 'r' ), "\n";
13 echo $date->format( 'r' ), "\n";
17 echo $date->format( 'r' ), "\n";
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.2/main/
H A Dsnprintf.c392 if (format == 'F') { in php_conv_fp()
408 if (format == 'F') { in php_conv_fp()
448 if (format != 'F') { in php_conv_fp()
453 *s++ = format; /* either e or E */ in php_conv_fp()
1252 cc = format_converter(&od, format, ap); in strx_printv()
1267 va_start(ap, format); in ap_php_slprintf()
1268 strx_printv(&cc, buf, len, format, ap); in ap_php_slprintf()
1282 strx_printv(&cc, buf, len, format, ap); in ap_php_vslprintf()
1296 va_start(ap, format); in ap_php_snprintf()
1341 va_start(ap, format); in ap_php_asprintf()
[all …]
/PHP-7.2/ext/gd/libgd/
H A Dgd_errors.h27 void gd_error(const char *format, ...);
28 void gd_error_ex(int priority, const char *format, ...);
/PHP-7.2/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) );

Completed in 37 milliseconds

1...<<11121314151617181920>>...35