Home
last modified time | relevance | path

Searched refs:format (Results 101 – 125 of 804) sorted by relevance

12345678910>>...33

/PHP-7.4/ext/date/tests/
H A Dstrftime_variation17.phpt5 /* Prototype : string strftime(string format [, int timestamp])
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) );
27 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dbug55253.phpt15 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
16 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
18 echo $interval->format('Add %h hours %i minutes') . "\n";
22 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
23 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
29 echo $interval->format('Subtract %h hours %i minutes from expected') . "\n";
33 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n";
34 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
H A Ddate_period-immutable.phpt14 echo $dt->format( "l Y-m-d\n" );
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
16 echo $dt->format( "l Y-m-d\n\n" );
22 echo $dt->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
24 echo $dt->format( "l Y-m-d\n\n" );
H A Dgmstrftime_variation12.phpt11 /* Prototype : string gmstrftime(string format [, int timestamp])
24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n";
25 $format = "%h";
26 var_dump( gmstrftime($format) );
27 var_dump( gmstrftime($format, $timestamp) );
34 -- Testing gmstrftime() function with Abbreviated month name format %h --
H A Dstrftime_variation12.phpt11 /* Prototype : string strftime(string format [, int timestamp])
24 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
25 $format = "%h";
26 var_dump( strftime($format) );
27 var_dump( strftime($format, $timestamp) );
34 -- Testing strftime() function with Abbreviated month name format %h --
/PHP-7.4/ext/intl/tests/
H A Dmsgfmt_format_error4.phpt2 MessageFormatter::format() invalid UTF-8 for arg key or value
16 var_dump($mf->format(array("foo" => 7, "\x80" => "bar")));
18 var_dump($mf->format(array("foo" => "\x80")));
20 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d
23 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
/PHP-7.4/ext/exif/tests/
H A Dbug76557.phpt11 Warning: exif_read_data(bug76557.jpg): Process tag(x010F=Make): Illegal format code 0x3030, suppose…
13 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
15 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
17 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
19 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
21 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
23 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
25 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
27 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
29 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
/PHP-7.4/ext/standard/tests/strings/
H A Dvprintf_variation17.phpt5 /* Prototype : string vsprintf(string format, array args)
12 * are passed to the '$format' and '$args' arguments of the function
26 // Arrays of scientific values for the format defined in $format.
27 // Each sub array contains scientific values which correspond to each format string in $format
36 // looping to test vprintf() with different scientific formats from the above $format array
39 foreach($formats as $format) {
41 $result = vprintf($format, $args_array[$counter-1]);
H A Dvfprintf_variation15.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * are passed to the '$format' and '$args' arguments of the function
30 // Arrays of unsigned values for the format defined in $format.
31 // Each sub array contains unsigned values which correspond to each format string in $format
45 // looping to test vfprintf() with different unsigned formats from the above $format array
48 foreach($formats as $format) {
50 vfprintf($fp, $format, $args_array[$counter-1]);
H A Dvfprintf_variation15_64bit.phpt9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
16 * are passed to the '$format' and '$args' arguments of the function
30 // Arrays of unsigned values for the format defined in $format.
31 // Each sub array contains unsigned values which correspond to each format string in $format
45 // looping to test vfprintf() with different unsigned formats from the above $format array
48 foreach($formats as $format) {
50 vfprintf($fp, $format, $args_array[$counter-1]);
H A Dvfprintf_variation3.phpt5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
12 * the '$format' and '$args' arguments of the function
30 // Arrays of int values for the format defined in $format.
31 // Each sub array contains int values which correspond to each format string in $format
44 // looping to test vfprintf() with different int formats from the above $format array
53 foreach($formats as $format) {
55 vfprintf($fp, $format, $args_array[$counter-1]);
H A Dvfprintf_variation5.phpt5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
12 * the '$format' and '$args' arguments of the function
30 // Arrays of float values for the format defined in $format.
31 // Each sub array contains float values which correspond to each format string in $format
49 // looping to test vprintf() with different float formats from the above $format array
52 foreach($formats as $format) {
54 vfprintf($fp, $format, $args_array[$counter-1]);
H A Dvfprintf_basic9.phpt2 Test vfprintf) function : basic functionality - hexadecimal format
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
10 echo "*** Testing vfprintf) : basic functionality - using hexadecimal format ***\n";
12 // Initialising different format strings
13 $format = "format";
53 *** Testing vfprintf) : basic functionality - using hexadecimal format ***
H A Dvfprintf_basic7_64bit.phpt2 Test vfprintf() function : basic functionality - unsigned format
9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
14 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n";
17 $format = "format";
47 *** Testing vfprintf() : basic functionality - using unsigned format ***
H A Dvfprintf_basic4.phpt2 Test vfprintf() function : basic functionality - bool format
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
10 echo "*** Testing vfprintf() : basic functionality - using bool format ***\n";
13 $format = "format";
42 *** Testing vfprintf() : basic functionality - using bool format ***
H A Dvfprintf_basic5.phpt2 Test vfprintf() function : basic functionality - char format
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
10 echo "*** Testing vfprintf() : basic functionality - using char format ***\n";
13 $format = "format";
42 *** Testing vfprintf() : basic functionality - using char format ***
H A Dvfprintf_basic6.phpt2 Test vfprintf() function : basic functionality - exponential format
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
11 echo "*** Testing vfprintf() : basic functionality - using exponential format ***\n";
14 $format = "format";
44 *** Testing vfprintf() : basic functionality - using exponential format ***
H A Dvfprintf_basic7.phpt2 Test vfprintf() function : basic functionality - unsigned format
9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
14 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n";
17 $format = "format";
47 *** Testing vfprintf() : basic functionality - using unsigned format ***
H A Dvprintf_variation13.phpt9 /* Prototype : string vprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
47 // looping to test vprintf() with different char octal from the above $format array
50 foreach($formats as $format) {
52 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation13_64bit.phpt9 /* Prototype : string vprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
47 // looping to test vprintf() with different char octal from the above $format array
50 foreach($formats as $format) {
52 $result = vprintf($format, $args_array[$counter-1]);
H A Dvsprintf_variation13.phpt9 /* Prototype : string vsprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
47 // looping to test vsprintf() with different char octal from the above $format array
50 foreach($formats as $format) {
52 var_dump( vsprintf($format, $args_array[$counter-1]) );
H A Dvsprintf_variation13_64bit.phpt9 /* Prototype : string vsprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of hexa values for the format defined in $format.
34 // Each sub array contains hexa values which correspond to each format string in $format
47 // looping to test vsprintf() with different char octal from the above $format array
50 foreach($formats as $format) {
52 var_dump( vsprintf($format, $args_array[$counter-1]) );
H A Dvfprintf_variation17.phpt5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
12 * are passed to the '$format' and '$args' arguments of the function
26 // Arrays of scientific values for the format defined in $format.
27 // Each sub array contains scientific values which correspond to each format string in $format
41 // looping to test vfprintf() with different scientific formats from the above $format array
44 foreach($formats as $format) {
46 vfprintf($fp, $format, $args_array[$counter-1]);
H A Dvprintf_basic3.phpt2 Test vprintf() function : basic functionality - float format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using float format ***\n";
14 $format = "format";
53 *** Testing vprintf() : basic functionality - using float format ***
/PHP-7.4/main/
H A Dphp_syslog.c38 PHPAPI void php_syslog(int priority, const char *format, ...) /* {{{ */ in php_syslog() argument
51 va_start(args, format); in php_syslog()
52 vsyslog(priority, format, args); in php_syslog()
57 PHPAPI void php_syslog(int priority, const char *format, ...) /* {{{ */ in php_syslog() argument
74 va_start(args, format); in php_syslog()
75 zend_printf_to_smart_string(&fbuf, format, args); in php_syslog()

Completed in 29 milliseconds

12345678910>>...33