Home
last modified time | relevance | path

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

12345678910>>...32

/php-src/ext/standard/tests/strings/
H A Dvprintf_variation17.phpt7 * are passed to the '$format' and '$args' arguments of the function
21 // Arrays of scientific values for the format defined in $format.
22 // Each sub array contains scientific values which correspond to each format string in $format
31 // looping to test vprintf() with different scientific formats from the above $format array
34 foreach($formats as $format) {
36 $result = vprintf($format, $args_array[$counter-1]);
H A Dpack64_32.phpt55 64-bit format codes are not available for 32-bit versions of PHP
56 64-bit format codes are not available for 32-bit versions of PHP
57 64-bit format codes are not available for 32-bit versions of PHP
58 64-bit format codes are not available for 32-bit versions of PHP
59 64-bit format codes are not available for 32-bit versions of PHP
60 64-bit format codes are not available for 32-bit versions of PHP
61 64-bit format codes are not available for 32-bit versions of PHP
62 64-bit format codes are not available for 32-bit versions of PHP
H A Dprintf_basic9.phpt2 Test printf() function : basic functionality - hexadecimal format
5 echo "*** Testing printf() : basic functionality - using hexadecimal format ***\n";
9 // Initialising different format strings
10 $format = "format";
24 $result = printf($format);
54 *** Testing printf() : basic functionality - using hexadecimal format ***
57 format
H A Dvprintf_basic4.phpt2 Test vprintf() function : basic functionality - bool format
5 echo "*** Testing vprintf() : basic functionality - using bool format ***\n";
8 $format = "format";
30 *** Testing vprintf() : basic functionality - using bool format ***
H A Dvprintf_basic5.phpt2 Test vprintf() function : basic functionality - char format
5 echo "*** Testing vprintf() : basic functionality - using char format ***\n";
8 $format = "format";
30 *** Testing vprintf() : basic functionality - using char format ***
H A Dvprintf_basic6.phpt2 Test vprintf() function : basic functionality - exponential format
5 echo "*** Testing vprintf() : basic functionality - using exponential format ***\n";
8 $format = "format";
30 *** Testing vprintf() : basic functionality - using exponential format ***
H A Dprintf_basic1.phpt2 Test printf() function : basic functionality - string format
5 echo "*** Testing printf() : basic functionality - using string format ***\n";
8 $format = "format";
17 $result = printf($format);
39 *** Testing printf() : basic functionality - using string format ***
42 format
H A Dvprintf_basic1.phpt2 Test vprintf() function : basic functionality - string format
5 echo "*** Testing vprintf() : basic functionality - using string format ***\n";
8 $format = "format";
29 *** Testing vprintf() : basic functionality - using string format ***
H A Dvfprintf_basic9.phpt2 Test vfprintf) function : basic functionality - hexadecimal format
5 echo "*** Testing vfprintf) : basic functionality - using hexadecimal format ***\n";
7 // Initialising different format strings
8 $format = "format";
47 *** Testing vfprintf) : basic functionality - using hexadecimal format ***
H A Dvfprintf_basic4.phpt2 Test vfprintf() function : basic functionality - bool format
5 echo "*** Testing vfprintf() : basic functionality - using bool format ***\n";
8 $format = "format";
36 *** Testing vfprintf() : basic functionality - using bool format ***
H A Dvfprintf_basic5.phpt2 Test vfprintf() function : basic functionality - char format
5 echo "*** Testing vfprintf() : basic functionality - using char format ***\n";
8 $format = "format";
36 *** Testing vfprintf() : basic functionality - using char format ***
H A Dvfprintf_basic6.phpt2 Test vfprintf() function : basic functionality - exponential format
5 echo "*** Testing vfprintf() : basic functionality - using exponential format ***\n";
8 $format = "format";
37 *** Testing vfprintf() : basic functionality - using exponential format ***
H A Dvsprintf_basic3.phpt2 Test vsprintf() function : basic functionality - float format
5 echo "*** Testing vsprintf() : basic functionality - using float format ***\n";
9 $format = "format";
33 *** Testing vsprintf() : basic functionality - using float format ***
H A Dvfprintf_basic8.phpt2 Test vfprintf() function : basic functionality - octal format
5 echo "*** Testing vfprintf() : basic functionality - using octal format ***\n";
8 $format = "format";
36 *** Testing vfprintf() : basic functionality - using octal format ***
H A Dvprintf_basic7.phpt2 Test vprintf() function : basic functionality - unsigned format
9 echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
34 *** Testing vprintf() : basic functionality - using unsigned format ***
H A Dvprintf_basic7_64bit.phpt2 Test vprintf() function : basic functionality - unsigned format
9 echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
33 *** Testing vprintf() : basic functionality - using unsigned format ***
H A Dvprintf_variation13.phpt11 * the '$format' and '$args' arguments of the function
28 // Arrays of hexa values for the format defined in $format.
29 // Each sub array contains hexa values which correspond to each format string in $format
42 // looping to test vprintf() with different char octal from the above $format array
45 foreach($formats as $format) {
47 $result = vprintf($format, $args_array[$counter-1]);
/php-src/ext/date/tests/
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 Dstrftime_variation4.phpt2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
51 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dgmstrftime_variation4.phpt2 Test gmstrftime() function : usage variation - Passing month related format strings to format argum…
31 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
34 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
39 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
42 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
47 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
50 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
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 Didate_variation5.phpt2 Test idate() function : usage variation - Passing supported Time format characters to format argume…
14 '12 hour format' => 'h',
15 '24 hour format' => 'H',
35 --12 hour format--
38 --24 hour format--
H A Dgh10583.phpt7 var_dump($dt->format('c'));
8 var_dump($dt->modify('+1 s')->format('c'));
11 var_dump($dt->format('c'));
12 var_dump($dt->modify('+1 s')->format('c'));
H A Dstrftime_basic.phpt9 $format = '%b %d %Y %H:%M:%S';
13 var_dump( strftime($format, $timestamp) );
16 var_dump( strftime($format) );
22 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
25 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dgmstrftime_basic.phpt8 $format = '%b %d %Y %H:%M:%S';
12 var_dump( gmstrftime($format, $timestamp) );
15 var_dump( gmstrftime($format) );
21 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
24 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …

Completed in 30 milliseconds

12345678910>>...32