/PHP-5.3/ext/standard/tests/strings/ |
H A D | vfprintf_variation16.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 68 // looping to test vfprintf() with different unsigned formats from the above $format array
|
H A D | vfprintf_variation16_64bit.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * are passed to the '$format' and '$args' arguments of the function 29 // Arrays of signed and other type of values for the format defined in $format. 30 // Each sub array contains signed values which correspond to each format in $format 68 // looping to test vfprintf() with different unsigned formats from the above $format array
|
H A D | vprintf_variation1.phpt | 2 Test vprintf() function : usage variations - unexpected values for the format argument 5 /* Prototype : string vprintf(string $format, array $args) 11 * Test vprintf() when different unexpected format strings are passed to 12 * the '$format' argument of the function 15 echo "*** Testing vprintf() : with unexpected values for format argument ***\n"; 86 // loop through each element of the array for format 104 *** Testing vprintf() : with unexpected values for format argument ***
|
H A D | vprintf_variation14.phpt | 9 /* Prototype : string vprintf(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 70 // looping to test vprintf() with different hexa formats from the above $format array
|
H A D | vprintf_variation14_64bit.phpt | 9 /* Prototype : string vprintf(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 70 // looping to test vprintf() with different hexa formats from the above $format array
|
H A D | vsprintf_variation1.phpt | 2 Test vsprintf() function : usage variations - unexpected values for the format argument 5 /* Prototype : string vsprintf(string $format, array $args) 11 * Test vsprintf() when different unexpected format strings are passed to 12 * the '$format' argument of the function 15 echo "*** Testing vsprintf() : with unexpected values for format argument ***\n"; 86 // loop through each element of the array for format 102 *** Testing vsprintf() : with unexpected values for format argument ***
|
H A D | vfprintf_variation10.phpt | 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 71 // looping to test vfprintf() with different char formats from the above $format array
|
H A D | vfprintf_variation12.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 75 // looping to test vfprintf() with different octal formats from the above $format array
|
H A D | vfprintf_variation12_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 octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 75 // looping to test vfprintf() with different octal formats from the above $format array
|
H A D | vfprintf_variation4.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 69 // looping to test vfprintf() with different int formats from the above $format array
|
H A D | vfprintf_variation4_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 int values for the format defined in $format. 30 // Each sub array contains non int values which correspond to each format in $format 69 // looping to test vfprintf() with different int formats from the above $format array
|
H A D | vfprintf_variation8.phpt | 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * the '$format' and '$args' arguments of the function 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 67 // looping to test vfprintf() with different string formats from the above $format array
|
H A D | vsprintf_variation14.phpt | 9 /* Prototype : string vsprintf(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 70 // looping to test vsprintf() with different hexa formats from the above $format array
|
H A D | vsprintf_variation14_64bit.phpt | 9 /* Prototype : string vsprintf(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 70 // looping to test vsprintf() 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 | 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
|
/PHP-5.3/ext/date/tests/ |
H A D | idate_basic.phpt | 5 /* Prototype : int idate(string format [, int timestamp]) 14 $format = 'Y'; 18 var_dump( idate($format) );
|
H A D | bug39782.phpt | 8 echo $dttTest->format('D M j Y - H:i:s') . "\n"; 11 echo $dttTest->format('D M j Y - H:i:s') . "\n"; 14 echo $dttTest->format('D M j Y - H:i:s') . "\n";
|
H A D | bug49778.phpt | 2 Bug #49778 (DateInterval::format("%a") is always zero when an interval is created from an ISO strin… 7 echo $i->format("%d"), "\n"; 8 echo $i->format("%a"), "\n";
|
H A D | bug52062-64bit.phpt | 12 var_dump($d->format('Y-m-d H:i:s U')); 16 var_dump($d->format('Y-m-d H:i:s U')); 20 var_dump($i->format('%s'));
|
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 ) );
|
/PHP-5.3/main/ |
H A D | snprintf.c | 383 if (format == 'F') { in php_conv_fp() 399 if (format == 'F') { in php_conv_fp() 439 if (format != 'F') { in php_conv_fp() 444 *s++ = format; /* either e or E */ in php_conv_fp() 1213 cc = format_converter(&od, format, ap); in strx_printv() 1228 va_start(ap, format); in ap_php_slprintf() 1229 strx_printv(&cc, buf, len, format, ap); in ap_php_slprintf() 1243 strx_printv(&cc, buf, len, format, ap); in ap_php_vslprintf() 1257 va_start(ap, format); in ap_php_snprintf() 1302 va_start(ap, format); in ap_php_asprintf() [all …]
|
/PHP-5.3/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.3/ext/standard/ |
H A D | datetime.c | 90 char *strptime(const char *s, const char *format, struct tm *tm); 99 char *format; in PHP_FUNCTION() local 104 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_lengt… in PHP_FUNCTION() 110 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|