/PHP-5.3/ext/standard/tests/strings/ |
H A D | printf_basic8.phpt | 2 Test printf() function : basic functionality - octal format 11 /* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) 12 * Description: Produces output according to format . 16 echo "*** Testing printf() : basic functionality - using octal format ***\n"; 19 $format = "format"; 28 $result = printf($format); 50 *** Testing printf() : basic functionality - using octal format *** 53 format
|
H A D | printf_basic9.phpt | 2 Test printf() function : basic functionality - hexadecimal format 5 /* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) 6 * Description: Produces output according to format . 10 echo "*** Testing printf() : basic functionality - using hexadecimal format ***\n"; 14 // Initialising different format strings 15 $format = "format"; 29 $result = printf($format); 60 *** Testing printf() : basic functionality - using hexadecimal format *** 63 format
|
H A D | vsprintf_basic9.phpt | 2 Test vsprintf() function : basic functionality - hexadecimal format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using hexadecimal format ***\n"; 12 // Initialising different format strings 13 $format = "format"; 38 *** Testing vsprintf() : basic functionality - using hexadecimal format ***
|
H A D | vsprintf_basic8.phpt | 2 Test vsprintf() function : basic functionality - octal format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using octal format ***\n"; 13 $format = "format"; 28 *** Testing vsprintf() : basic functionality - using octal format ***
|
H A D | vprintf_basic8.phpt | 2 Test vprintf() function : basic functionality - octal format 5 /* Prototype : string vprintf(string $format , array $args) 10 echo "*** Testing vprintf() : basic functionality - using octal format ***\n"; 13 $format = "format"; 36 *** Testing vprintf() : basic functionality - using octal format ***
|
H A D | vsprintf_basic4.phpt | 2 Test vsprintf() function : basic functionality - bool format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using bool format ***\n"; 13 $format = "format"; 28 *** Testing vsprintf() : basic functionality - using bool format ***
|
H A D | vsprintf_basic5.phpt | 2 Test vsprintf() function : basic functionality - char format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using char format ***\n"; 13 $format = "format"; 28 *** Testing vsprintf() : basic functionality - using char format ***
|
H A D | vsprintf_basic6.phpt | 2 Test vsprintf() function : basic functionality - exponential format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using exponential format ***\n"; 13 $format = "format"; 28 *** Testing vsprintf() : basic functionality - using exponential format ***
|
H A D | vfprintf_basic2.phpt | 2 Test vfprintf() function : basic functionality - integer format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Testing vfprintf() : basic functionality - using integer format 14 echo "*** Testing vfprintf() : basic functionality - using integer format ***\n"; 17 $format = "format"; 47 *** Testing vfprintf() : basic functionality - using integer format ***
|
H A D | vprintf_variation15.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 40 // looping to test vprintf() with different unsigned formats from the above $format array 43 foreach($formats as $format) { 45 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vprintf_variation15_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 40 // looping to test vprintf() with different unsigned formats from the above $format array 43 foreach($formats as $format) { 45 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vprintf_variation3.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of int values for the format defined in $format. 31 // Each sub array contains int values which correspond to each format string in $format 44 // looping to test vprintf() with different int formats from the above $format array 47 foreach($formats as $format) { 49 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | printf_basic3.phpt | 2 Test printf() function : basic functionality - float format 5 /* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) 6 * Description: Produces output according to format . 10 echo "*** Testing printf() : basic functionality - using float format ***\n"; 15 $format = "format"; 28 $result = printf($format); 59 *** Testing printf() : basic functionality - using float format *** 62 format
|
H A D | vsprintf_variation15.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 40 // looping to test vsprintf() with different unsigned formats from the above $format array 43 foreach($formats as $format) { 45 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation15_64bit.phpt | 9 /* Prototype : string vsprintf(string format, array args) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 40 // looping to test vsprintf() with different unsigned formats from the above $format array 43 foreach($formats as $format) { 45 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation3.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of int values for the format defined in $format. 31 // Each sub array contains int values which correspond to each format string in $format 44 // looping to test vsprintf() with different int formats from the above $format array 47 foreach($formats as $format) { 49 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vprintf_basic4.phpt | 2 Test vprintf() function : basic functionality - bool format 5 /* Prototype : string vprintf(string $format , array $args) 10 echo "*** Testing vprintf() : basic functionality - using bool format ***\n"; 13 $format = "format"; 36 *** Testing vprintf() : basic functionality - using bool format ***
|
H A D | vprintf_basic5.phpt | 2 Test vprintf() function : basic functionality - char format 5 /* Prototype : string vprintf(string $format , array $args) 10 echo "*** Testing vprintf() : basic functionality - using char format ***\n"; 13 $format = "format"; 36 *** Testing vprintf() : basic functionality - using char format ***
|
H A D | vprintf_basic6.phpt | 2 Test vprintf() function : basic functionality - exponential format 5 /* Prototype : string vprintf(string $format , array $args) 10 echo "*** Testing vprintf() : basic functionality - using exponential format ***\n"; 13 $format = "format"; 36 *** Testing vprintf() : basic functionality - using exponential format ***
|
H A D | vsprintf_basic1.phpt | 2 Test vsprintf() function : basic functionality - string format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using string format ***\n"; 13 $format = "format"; 29 *** Testing vsprintf() : basic functionality - using string format ***
|
H A D | vsprintf_basic7.phpt | 2 Test vsprintf() function : basic functionality - unsigned format 9 /* Prototype : string vsprintf(string $format , aaray $args) 14 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; 17 $format = "format"; 32 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
/PHP-5.3/ext/date/tests/ |
H A D | gmstrftime_variation6.phpt | 2 Test gmstrftime() function : usage variation - Passing time related format strings to format argume… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 20 'Hour as decimal by 24-hour format' => "%H", 21 'Hour as decimal by 12-hour format' => "%I", 23 'AM/PM format for a time' => "%p", 40 --Hour as decimal by 24-hour format-- 44 --Hour as decimal by 12-hour format-- 52 --AM/PM format for a time--
|
H A D | strftime_variation6.phpt | 2 Test strftime() function : usage variation - Passing time related format strings to format argument. 5 /* Prototype : string strftime(string format [, int timestamp]) 21 'Hour as decimal by 24-hour format' => "%H", 22 'Hour as decimal by 12-hour format' => "%I", 24 'AM/PM format for a time' => "%p", 41 --Hour as decimal by 24-hour format-- 45 --Hour as decimal by 12-hour format-- 53 --AM/PM format for a time--
|
H A D | bug40743.phpt | 6 echo $dt->format(DATE_RFC822), "\n"; 7 echo $dt->format('T e Z'), "\n"; 13 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 16 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 20 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 23 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 26 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 29 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
|
/PHP-5.3/ext/intl/tests/ |
H A D | bug48227.phpt | 2 Bug #48227 (NumberFormatter::format leaks memory) 9 var_dump($x->format('')); 10 var_dump($x->format(1)); 11 var_dump($x->format(NULL)); 12 var_dump($x->format($x));
|