Home
last modified time | relevance | path

Searched refs:format (Results 226 – 250 of 768) sorted by relevance

12345678910>>...31

/php-src/ext/date/tests/
H A Ddate_interval_non_relative_warning.phpt12 foreach ($formats as $format) {
14 $d = DateInterval::createFromDateString($format);
22 foreach ($formats as $format) {
23 $d = date_interval_create_from_date_string($format);
H A D012.phpt9 var_dump($dto->format("Y/m/d H:i:s"));
11 var_dump($dto->format("Y/m/d H:i:s"));
13 var_dump($dto->format("Y/m/d H:i:s"));
H A D013.phpt9 var_dump($dto->format("Y.m.d H:i:s"));
11 var_dump($dto->format("Y.m.d H:i:s"));
13 var_dump($dto->format("Y.m.d H:i:s"));
H A Dgmstrftime_basic.phpt8 $format = '%b %d %Y %H:%M:%S';
12 var_dump( gmstrftime($format, $timestamp) );
15 var_dump( gmstrftime($format) );
H A Dstrftime_basic.phpt9 $format = '%b %d %Y %H:%M:%S';
13 var_dump( strftime($format, $timestamp) );
16 var_dump( strftime($format) );
H A Dbug71889.phpt2 Bug #71889 (DateInterval::format segfault on '%' input)
8 var_dump($di->format("%"));
H A Dbug-gh8964-002.phpt16 echo $expectedLower->format( 'H:i:s.u U' ), "\n";
17 echo $actual ->format( 'H:i:s.u U' ), "\n";
18 echo $expectedUpper->format( 'H:i:s.u U' ), "\n";
H A Dbug45866.phpt9 echo $date->format( 'r' ), "\n";
13 echo $date->format( 'r' ), "\n";
21 echo $date->format( 'r' ), "\n";
H A Dtest-parse-from-format.phpt12 foreach( $formats as $format )
15 $formatted = $date->format( $format ) ;
16 $date2 = date_create_from_format( $format, $formatted );
17 var_dump( $format, $formatted, $date2 );
21 var_dump(date_parse_from_format( $format, $formatted ) );
H A Dbug80057.phpt7 $nowStr = $now->format("H:i");
8 $parsedStr = $parsed->format("H:i");
H A DDateInterval_format_a.phpt2 DateInterval::format(), %a
16 echo $interval->format('a=%a') . "\n";
H A Dbug66019.phpt2 Bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)
7 echo $dateObject->format( 'j F Y H:i' );
/php-src/ext/opcache/
H A Dzend_accelerator_debug.h33 void zend_accel_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
34 ZEND_NORETURN void zend_accel_error_noreturn(int type, const char *format, ...) ZEND_ATTRIBUTE_FORM…
/php-src/ext/mysqli/
H A Dmysqli_exception.c30 void php_mysqli_throw_sql_exception(char *sqlstate, int errorno, char *format, ...) in php_mysqli_throw_sql_exception() argument
36 va_start(arg, format); in php_mysqli_throw_sql_exception()
37 vspprintf(&message, 0, format, arg); in php_mysqli_throw_sql_exception()
/php-src/ext/standard/tests/strings/
H A Dvprintf_variation14.phpt11 * the '$format' and '$args' arguments of the function
24 // Arrays of non hexa values for the format defined in $format.
25 // Each sub array contains non hexa values which correspond to each format in $format
65 // looping to test vprintf() with different hexa formats from the above $format array
H A Dvprintf_variation14_64bit.phpt11 * the '$format' and '$args' arguments of the function
24 // Arrays of non hexa values for the format defined in $format.
25 // Each sub array contains non hexa values which correspond to each format in $format
65 // looping to test vprintf() with different hexa formats from the above $format array
H A Dnumber_format_basic.phpt31 echo "\n-- number_format tests.....English format --\n";
37 echo "\n-- number_format tests.....French format --\n";
72 -- number_format tests.....English format --
85 -- number_format tests.....French format --
H A Dvprintf_variation18.phpt7 * the '$format' and '$args' arguments of the function
20 // Arrays of non scientific values for the format defined in $format.
21 // Each sub array contains non scientific values which correspond to each format in $format
54 // looping to test vprintf() with different scientific formats from the above $format array
H A Dsprintf_f_2.phpt20 $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));
/php-src/ext/standard/
H A Dscanf.h37 PHPAPI int ValidateFormat(char *format, int numVars, int *totalVars);
38 PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval *args,
/php-src/main/
H A Dspprintf.h25 PHPAPI void php_printf_to_smart_string(smart_string *buf, const char *format, va_list ap);
26 PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap);
/php-src/ext/intl/tests/
H A Dmsgfmt_format_intlcalendar.phpt16 echo $msgf->format(array($cal)), "\n";
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
23 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_error1.phpt2 MessageFormatter::format() insufficient numeric arguments
14 var_dump($mf->format(array(7)));
/php-src/ext/ffi/tests/
H A Dbug77768.phpt8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
31 int printf(const char *format, ...);
32 int printf(const char *format, ...);
/php-src/ext/session/tests/
H A Dgh13680.phpt19 public static function createFromFormat($format, $datetime, $timezone = null): Wrong {}
25 …between Test::createFromFormat($format, $datetime, $timezone = null): Wrong and DateTime::createFr…

Completed in 24 milliseconds

12345678910>>...31