/PHP-5.3/ext/standard/tests/strings/ |
H A D | vfprintf_variation14_64bit.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non hexa values for the format defined in $format. 30 // Each sub array contains non hexa values which correspond to each format in $format 75 // looping to test vfprintf() with different hexa formats from the above $format array
|
H A D | vsprintf_variation18.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non scientific values for the format defined in $format. 26 // Each sub array contains non scientific values which correspond to each format in $format 59 // looping to test vsprintf() with different scientific formats from the above $format array
|
H A D | vfprintf_variation1.phpt | 9 /* Prototype : int vfprintf(resource stream, string format, array args) 33 function writeAndDump($fp, $format, $args) 36 $length = vfprintf( $fp, $format, $args ); 44 writeAndDump( $fp, "format", null ); 68 string(6) "format"
|
H A D | unpack_error.phpt | 6 /* Prototype : array unpack ( string $format , string $data ) 20 echo "\n-- Testing unpack() function with invalid format character --\n"; 38 -- Testing unpack() function with invalid format character -- 40 Warning: unpack(): Invalid format type Z in %s on line %d
|
H A D | vprintf_error.phpt | 5 /* Prototype : int vprintf(string $format , array $args) 13 $format = "%s"; 22 var_dump( vprintf($format) ); 25 var_dump( vprintf($format, $args, $extra_arg) );
|
H A D | vsprintf_error.phpt | 5 /* Prototype : string vsprintf(string $format , array $args) 13 $format = "%s"; 22 var_dump( vsprintf($format) ); 25 var_dump( vsprintf($format, $args, $extra_arg) );
|
H A D | sscanf_error.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 7 * Description: Parses input from a string according to a format 13 $format = "%s %s"; 23 var_dump( sscanf($str, $format, $str1, $str2, $extra_str) );
|
H A D | sprintf_f_2.phpt | 20 $format = 'There are %d monkeys in the %s'; 21 var_dump(sprintf($format, $num, $location)); 24 $format = 'The %s contains %d monkeys'; 25 var_dump(sprintf($format, $num, $location)); 28 $format = 'The %2$s contains %1$d monkeys'; 29 var_dump(sprintf($format, $num, $location)); 32 $format = 'The %2$s contains %1$d monkeys. 34 var_dump(sprintf($format, $num, $location));
|
H A D | unpack.phpt | 2 Invalid format type validation 9 Warning: unpack(): Invalid format type - in %sunpack.php on line %d
|
H A D | money_format_variation1.phpt | 2 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 D | sscanf_variation2.phpt | 2 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 ***
|
/PHP-5.3/ext/date/tests/ |
H A D | strftime_variation23.phpt | 5 /* Prototype : string strftime(string format [, int timestamp]) 16 $format = '%b %d %Y %H:%M:%S'; 20 var_dump( strftime($format, $timestamp) ); 24 var_dump( strftime($format, $timestamp) );
|
H A D | bug45866.phpt | 9 echo $date->format( 'r' ), "\n"; 13 echo $date->format( 'r' ), "\n"; 17 echo $date->format( 'r' ), "\n";
|
H A D | date_format_variation2.phpt | 2 …st date_format() function : usage variation - Passing unexpected values to second argument $format. 5 /* Prototype : string date_format ( DateTime $object , string $format ) 6 * Description: Returns date formatted according to given format 8 * Alias to functions: DateTime::format 11 echo "*** Testing date_format() : usage variation - unexpected values to second argument \$format*… 100 foreach($inputs as $variation =>$format) { 102 var_dump( date_format($object, $format) ); 111 *** Testing date_format() : usage variation - unexpected values to second argument $format***
|
H A D | DateTime_extends_basic1.phpt | 14 public static $format = "F j, Y, g:i:s a"; 18 return parent::format(self::$format);
|
H A D | date-set-timestamp.phpt | 7 echo $d->format( "Y-m-d H:i e\n" ); 11 echo $d->format( "Y-m-d H:i e\n" );
|
H A D | bug63435.phpt | 2 Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond 9 $res = $datetime->format("u");
|
H A D | bug41844.phpt | 9 echo $date->format(DATE_ISO8601), "\n"; 13 echo $date->format(DATE_ISO8601), "\n";
|
/PHP-5.3/main/ |
H A D | spprintf.h | 40 PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(pri… 42 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FOR…
|
/PHP-5.3/ext/intl/tests/ |
H A D | symfony_format_type_int32_intl3.phpt | 10 …berFormatter":0:{}i:1;d:2147483648;i:2;s:14:"-2,147,483,648";i:3;s:83:"->format() TYPE_INT32 forma… 15 $unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); 30 string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range."
|
H A D | symfony_format_type_int32_intl6.phpt | 10 …atter":0:{}i:1;d:2147483648;i:2;s:21:"(SFD2,147,483,648.00)";i:3;s:83:"->format() TYPE_INT32 forma… 15 $unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); 30 string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range."
|
H A D | symfony_format_type_int32_intl7.phpt | 10 …matter":0:{}i:1;d:-2147483649;i:2;s:19:"SFD2,147,483,647.00";i:3;s:83:"->format() TYPE_INT32 forma… 15 $unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); 30 string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range."
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | number_format_basic.phpt | 30 echo "\n number_format tests.....English format\n"; 36 echo "\n number_format tests.....French format\n"; 71 number_format tests.....English format 85 number_format tests.....French format
|
/PHP-5.3/ext/standard/ |
H A D | scanf.h | 44 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.3/ext/standard/tests/file/ |
H A D | fscanf_error.phpt | 7 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) );
|