Home
last modified time | relevance | path

Searched refs:format (Results 301 – 325 of 798) sorted by relevance

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

/PHP-5.5/ext/date/tests/
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 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";
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 Ddate_format_basic1.phpt5 /* Prototype : string date_format ( DateTime $object , string $format )
6 * Description: Returns date formatted according to given format
8 * Alias to functions: DateTime::format
H A Dgmstrftime_variation3.phpt2 Test gmstrftime() function : usage variation - Passing week related format strings to format argume…
5 /* Prototype : string gmstrftime(string format [, int timestamp])
H A Doo_001.phpt16 var_dump($d->format("Y-m-d H:i:s"));
19 var_dump($d->format("Y-m-d H:i:s"));
44 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc…
H A Dstrftime_variation3.phpt2 Test strftime() function : usage variation - Passing week related format strings to format argument.
5 /* Prototype : string strftime(string format [, int timestamp])
/PHP-5.5/ext/standard/tests/strings/
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 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 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 ***
H A Dstr_word_count1.phpt16 Warning: str_word_count(): Invalid format value -1 in %s on line %d
21 Warning: str_word_count(): Invalid format value -1 in %s on line %d
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug67072_2.phpt35 Warning: Erroneous data format for unserializing 'MySplFileObject' in %s on line 4
47 Warning: Erroneous data format for unserializing 'SplFileObject' in %s on line 9
52 Warning: Erroneous data format for unserializing 'MySplFileObject' in %s on line 9
66 Warning: Erroneous data format for unserializing 'Closure' in %s on line 9
/PHP-5.5/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')));
H A Ddateformat_calendars_variant3.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')));
H A Ddateformat_calendars_variant2.phpt29 var_dump($fmt1->format(strtotime('2012-01-01 00:00:00 +0000')));
30 var_dump($fmt2->format(strtotime('2012-01-01 00:00:00 +0000')));
31 var_dump($fmt3->format(strtotime('2012-01-01 00:00:00 +0000')));
/PHP-5.5/ext/standard/tests/file/
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_variation41.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 unsigned format types */
15 echo "*** Test fscanf(): different unsigned format types with resource ***\n";
77 *** Test fscanf(): different unsigned format types with resource ***
H A Dfscanf_variation47.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 scientific format types */
15 echo "*** Test fscanf(): different scientific format types with resource ***\n";
77 *** Test fscanf(): different scientific format types with resource ***
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_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 ***

Completed in 22 milliseconds

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