/PHP-5.6/ext/intl/tests/ |
H A D | msgfmt_format_datetime.phpt | 2 MessageFormatter::format(): DateTime accepted to format dates and times 22 var_dump($mf->format(array($dt)));
|
H A D | msgfmt_format_error6.phpt | 2 MessageFormatter::format() invalid type for key not in pattern 18 var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+')))); 22 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
|
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.6/ext/mysqli/ |
H A D | mysqli_exception.c | 39 void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...) in php_mysqli_throw_sql_exception() argument 45 va_start(arg, format); in php_mysqli_throw_sql_exception() 46 vspprintf(&message, 0, format, arg); in php_mysqli_throw_sql_exception()
|
/PHP-5.6/ext/date/tests/ |
H A D | test-parse-from-format.phpt | 10 foreach( $formats as $format ) 13 $formatted = $date->format( $format ) ; 14 $date2 = date_create_from_format( $format, $formatted ); 15 var_dump( $format, $formatted, $date2 ); 19 var_dump(date_parse_from_format( $format, $formatted ) );
|
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 | DatePeriod_getter.phpt | 12 var_dump($period->getStartDate()->format('Y-m-d H:i:s')); 15 var_dump($period->getEndDate()->format('Y-m-d H:i:s')); 18 var_dump($period->getDateInterval()->format('%R%y-%m-%d-%h-%i-%s'));
|
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 | bug67118.phpt | 9 public function __construct($time = 'now', $tz = NULL, $format = NULL) 17 echo "Bad date" . $this->format("Y") . "\n"; 26 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc…
|
H A D | bug71889.phpt | 2 Bug #71889 (DateInterval::format segfault on '%' input) 8 var_dump($di->format("%"));
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | vfprintf_variation14.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 | 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 | vfprintf_variation18.phpt | 5 /* Prototype : int vfprintf ( resource $handle , 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 64 // looping to test vfprintf() with different scientific formats from the above $format array
|
H A D | vprintf_variation18.phpt | 5 /* Prototype : string vprintf(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 vprintf() with different scientific 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 G in %s on line %d
|
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 | 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) );
|
/PHP-5.6/ext/standard/ |
H A D | pack.c | 118 char *format; in PHP_FUNCTION() local 150 char c = format[i]; in PHP_FUNCTION() 159 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION() 588 format = formatarg; in PHP_FUNCTION() 606 c = *format; in PHP_FUNCTION() 611 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION() 612 format++; in PHP_FUNCTION() 617 format++; in PHP_FUNCTION() 623 name = format; in PHP_FUNCTION() 628 format++; in PHP_FUNCTION() [all …]
|
/PHP-5.6/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.6/ext/opcache/ |
H A D | zend_accelerator_debug.c | 31 void zend_accel_error(int type, const char *format, ...) in zend_accel_error() argument 83 va_start(args, format); in zend_accel_error() 84 vfprintf(fLog, format, args); in zend_accel_error()
|