Home
last modified time | relevance | path

Searched refs:format (Results 276 – 300 of 798) sorted by relevance

1...<<11121314151617181920>>...32

/PHP-5.5/ext/intl/tests/
H A Dmsgfmt_format_intlcalendar_variant2.phpt16 echo $msgf->format(array($cal)), "\n";
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
23 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant4.phpt16 echo $msgf->format(array($cal)), "\n";
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
23 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant3.phpt17 echo $msgf->format(array($cal)), "\n";
23 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
24 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_error1.phpt2 MessageFormatter::format() insufficient numeric arguments
16 var_dump($mf->format(array(7)));
H A Dbug58756_MessageFormatter.phpt22 echo "msgf: " . $msgf->format(array($time)) . "\n";
28 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
29 $msgf->format(array($time, 'time')), "\n";
H A Dbug58756_MessageFormatter_variant2.phpt22 echo "msgf: " . $msgf->format(array($time)) . "\n";
28 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
29 $msgf->format(array($time, 'time')), "\n";
/PHP-5.5/ext/standard/
H A Dscanf.h44 PHPAPI int ValidateFormat(char *format, int numVars, int *totalVars);
45 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval ***args,
/PHP-5.5/ext/date/tests/
H A DDateTime_extends_basic1.phpt14 public static $format = "F j, Y, g:i:s a";
18 return parent::format(self::$format);
H A DDateTime_fix_createFromFormat.phpt17 // Create a DateTime object from format
20 echo "Format method: " . $orig->format("D., M. j, Y g:iA") . "\n";
21 echo "createFromFormat method: " . $fromFormat->format("D., M. j, Y g:iA") . "\n";
H A Ddate-set-timestamp.phpt7 echo $d->format( "Y-m-d H:i e\n" );
11 echo $d->format( "Y-m-d H:i e\n" );
H A Dbug41844.phpt9 echo $date->format(DATE_ISO8601), "\n";
13 echo $date->format(DATE_ISO8601), "\n";
H A Dbug50475.phpt11 var_dump($date->format('Y-m-d H:i:s'));
14 var_dump($date->format('Y-m-d H:i:s'));
H A Dbug63435.phpt2 Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
9 $res = $datetime->format("u");
H A Dstrftime_error.phpt5 /* Prototype : string strftime(string format [, int timestamp])
16 $format = '%b %d %Y %H:%M:%S';
19 var_dump( strftime($format, $timestamp, $extra_arg) );
H A Dbug52063.phpt7 echo $a->format(DateTime::COOKIE);
10 echo $a->format(DateTime::COOKIE);
H A Ddate_create-2.phpt9 echo $d->format('D, d M Y H:i:s T'), "\n";
12 echo $d->format('D, d M Y H:i:s T'), "\n";
H A Ddate_error.phpt5 /* Prototype : string date ( string $format [, int $timestamp ] )
15 $format = "m.d.y";
23 var_dump (checkdate($format, $timestamp, $extra_arg));
H A Dgmstrftime_variation4.phpt2 Test gmstrftime() function : usage variation - Passing month related format strings to format argum…
5 /* Prototype : string gmstrftime(string format [, int timestamp])
/PHP-5.5/ext/standard/tests/strings/
H A Dmoney_format_variation1.phpt2 Test money_format() function : usage variations - test values for $format argument
11 /* Prototype : string money_format ( string $format , float $number )
20 echo "*** Testing money_format() function: with unexpected inputs for 'format' argument ***\n";
95 foreach($formats as $format) {
97 echo gettype(money_format($format, $value))."\n";
107 *** Testing money_format() function: with unexpected inputs for 'format' argument ***
H A Dsscanf_variation2.phpt2 Test sscanf() function : usage variations - unexpected inputs for '$format' argument
5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] )
6 * Description: Parses input from a string according to a format
10 echo "*** Testing sscanf() function: with unexpected inputs for 'format' argument ***\n";
85 *** Testing sscanf() function: with unexpected inputs for 'format' argument ***
H A Dnumber_format_basic.phpt38 echo "\n-- number_format tests.....English format --\n";
44 echo "\n-- number_format tests.....French format --\n";
82 -- number_format tests.....English format --
96 -- number_format tests.....French format --
H A Dprintf_variation2.phpt5 /* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] )
6 * Description: Produces output according to format .
15 $format = '%s';
94 $result = printf($format, $value);
99 $result = printf($format, $value, $arg2);
/PHP-5.5/ext/standard/tests/file/
H A Dfscanf_error.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
34 // number of formats in format strings not matching the no of variables
41 // different invalid format strings
48 foreach($invalid_formats as $format) {
52 var_dump( fscanf($file_handle, $format) );
H A Dfscanf_variation54.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
53 foreach($formats as $format) {
54 var_dump( fscanf($file_handle,$format) );
/PHP-5.5/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) );

Completed in 25 milliseconds

1...<<11121314151617181920>>...32