Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...28

/PHP-5.3/ext/date/tests/
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 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])
H A Didate_error.phpt5 /* Prototype : int idate(string format [, int timestamp])
17 $format = '%b %d %Y %H:%M:%S';
20 var_dump( idate($format, $timestamp, $extra_arg) );
H A Dbug46874.phpt8 echo $date->format("Y-m-d H:i:s\n");
15 echo $date->format("Y-m-d H:i:s\n");
H A Dbug45529.phpt12 echo $d->format(DATE_ISO8601), PHP_EOL;
15 echo $d->format(DATE_ISO8601), PHP_EOL;
H A Dstrftime_variation4.phpt2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
5 /* Prototype : string strftime(string format [, int timestamp])
H A Dgmdate_error.phpt5 /* Prototype : string gmdate(string format [, long timestamp])
15 $format = DATE_ISO8601;
25 var_dump( gmdate($format, $timestamp, $extra_arg) );
H A Dgmstrftime_error.phpt5 /* Prototype : string gmstrftime(string format [, int timestamp])
19 $format = '%b %d %Y %H:%M:%S';
22 var_dump( gmstrftime($format, $timestamp, $extra_arg) );
H A DDateTime_setISODate_basic1.phpt21 echo "Week 40 of 2009 is in \"" . $datetime->format("F") . "\"\n";
25 echo "Week 30 day 3 of 2009 is \"" . $datetime->format("D M j") . "\"\n";
29 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
/PHP-5.3/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) );
/PHP-5.3/ext/standard/tests/file/
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) );
H A Dfscanf_variation10.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
11 /* Test fscanf() to scan resource type using different float format types */
15 echo "*** Test fscanf(): different float format types with resource ***\n";
82 *** Test fscanf(): different float format types with resource ***
H A Dfscanf_variation29.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
11 /* Test fscanf() to scan resource type using different octal format types */
15 echo "*** Test fscanf(): different octal format types with resource ***\n";
82 *** Test fscanf(): different octal format types with resource ***
H A Dfscanf_variation35.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
11 /* Test fscanf() to scan resource type using different hexa format types */
15 echo "*** Test fscanf(): different hexa format types with resource ***\n";
77 *** Test fscanf(): different hexa format types with resource ***
H A Dfscanf_variation4.phpt7 Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] );
8 Description: Parses input from a file according to a format
11 /* Test fscanf() to scan resource type using different integer format types */
15 echo "*** Test fscanf(): different integer format types with resource ***\n";
78 *** Test fscanf(): different integer format types with resource ***
/PHP-5.3/ext/standard/tests/strings/
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);
H A Dvfprintf_error1.phpt9 /* Prototype : int vfprintf(resource stream, string format, array args)
20 $format = 'string_val';
23 var_dump( vfprintf( $fp, $format, $args, $extra_arg ) );
H A Dvfprintf_error2.phpt9 /* Prototype : int vfprintf(resource stream, string format, array args)
20 $format = 'string_val';
21 var_dump( vfprintf($fp, $format) );
H A Dprintf_variation1.phpt2 Test printf() function : usage variations - unexpected values for format argument
5 /* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] )
6 * Description: Produces output according to format .
11 * Testing printf() : with different unexpected values for format argument other than the strings
14 echo "*** Testing printf() : with unexpected values for format argument ***\n";
85 // loop through each element of the array for format
115 *** Testing printf() : with unexpected values for format argument ***
/PHP-5.3/ext/intl/tests/
H A Ddateformat_calendars.phpt28 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
29 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));

Completed in 27 milliseconds

1...<<11121314151617181920>>...28