Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-5.3/ext/date/tests/
H A Dstrftime_variation11.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 --
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 --
H A Dgmstrftime_variation17.phpt11 /* Prototype : string gmstrftime(string format [, int timestamp])
24 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
25 $format = "%e";
26 var_dump( gmstrftime($format) );
27 var_dump( gmstrftime($format, $timestamp) );
34 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Dgmstrftime_variation18.phpt11 /* Prototype : string gmstrftime(string format [, int timestamp])
24 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
25 $format = "%e";
26 var_dump( gmstrftime($format) );
27 var_dump( gmstrftime($format, $timestamp) );
34 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation17.phpt11 /* Prototype : string strftime(string format [, int timestamp])
24 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
25 $format = "%e";
26 var_dump( strftime($format) );
27 var_dump( strftime($format, $timestamp) );
33 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation18.phpt11 /* Prototype : string strftime(string format [, int timestamp])
24 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
25 $format = "%e";
26 var_dump( strftime($format) );
27 var_dump( strftime($format, $timestamp) );
33 -- Testing strftime() function with Day of the month as decimal single digit format --
/PHP-5.3/ext/standard/tests/strings/
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_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 Dvprintf_variation11.phpt9 /* Prototype : string vprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of octal values for the format defined in $format.
34 // Each sub array contains octal values which correspond to each format string in $format
50 foreach($formats as $format) {
52 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation11_64bit.phpt9 /* Prototype : string vprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of octal values for the format defined in $format.
34 // Each sub array contains octal values which correspond to each format string in $format
50 foreach($formats as $format) {
52 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation9.phpt5 /* Prototype : string vprintf(string format, array args)
29 // Arrays of char values for the format defined in $format.
30 // Each sub array contains char values which correspond to each format string in $format
43 // looping to test vprintf() with different char formats from the above $format array
46 foreach($formats as $format) {
48 $result = vprintf($format, $args_array[$counter-1]);
H A Dvsprintf_variation11.phpt9 /* Prototype : string vsprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of octal values for the format defined in $format.
34 // Each sub array contains octal values which correspond to each format string in $format
50 foreach($formats as $format) {
52 var_dump( vsprintf($format, $args_array[$counter-1]) );
H A Dvsprintf_variation11_64bit.phpt9 /* Prototype : string vsprintf(string format, array args)
16 * the '$format' and '$args' arguments of the function
33 // Arrays of octal values for the format defined in $format.
34 // Each sub array contains octal values which correspond to each format string in $format
50 foreach($formats as $format) {
52 var_dump( vsprintf($format, $args_array[$counter-1]) );
H A Dvsprintf_variation9.phpt5 /* Prototype : string vsprintf(string format, array args)
29 // Arrays of char values for the format defined in $format.
30 // Each sub array contains char values which correspond to each format string in $format
43 // looping to test vsprintf() with different char formats from the above $format array
46 foreach($formats as $format) {
48 var_dump( vsprintf($format, $args_array[$counter-1]) );
H A Dvfprintf_basic1.phpt2 Test vfprintf() function : basic functionality - string format
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
10 echo "*** Testing vfprintf() : basic functionality - using string format ***\n";
13 $format = "format";
42 *** Testing vfprintf() : basic functionality - using string 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 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 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 ***
H A Dsscanf_basic5.phpt2 Test sscanf() function : basic functionality - exponential format
6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] )
7 * Description: Parses input from a string according to a format
11 echo "*** Testing sscanf() : basic functionality -using exponential format ***\n";
18 // extract details using short format
25 // extract details using long format
35 *** Testing sscanf() : basic functionality -using exponential format ***
H A Dvsprintf_variation19.phpt2 Test vsprintf() function : usage variations - with whitespaces in format strings
9 /* Prototype : string vsprintf(string $format , array $args)
14 echo "*** Testing vsprintf() : with white spaces in format strings ***\n";
16 // initializing the format array
48 foreach($formats as $format) {
50 var_dump( vsprintf($format, $args_array[$counter-1]) );
57 *** Testing vsprintf() : with white spaces in format strings ***
H A Dvsprintf_variation19_64bit.phpt2 Test vsprintf() function : usage variations - with whitespaces in format strings
9 /* Prototype : string vsprintf(string $format , array $args)
14 echo "*** Testing vsprintf() : with white spaces in format strings ***\n";
16 // initializing the format array
48 foreach($formats as $format) {
50 var_dump( vsprintf($format, $args_array[$counter-1]) );
57 *** Testing vsprintf() : with white spaces in format strings ***
/PHP-5.3/ext/standard/tests/url/
H A Dget_headers_error_002.phpt2 Test get_headers() function: wrong type for argument format
8 /* Prototype : proto array get_headers(string url[, int format])
18 echo "\n-- Testing get_headers() function with format argument as type string --\n";
22 echo "\n-- Testing get_headers() function with format argument as type array --\n";
31 echo "\n-- Testing get_headers() function with format argument as type object --\n";
40 -- Testing get_headers() function with format argument as type string --
45 -- Testing get_headers() function with format argument as type array --
50 -- Testing get_headers() function with format argument as type object --

Completed in 25 milliseconds

12345678910>>...28