Home
last modified time | relevance | path

Searched refs:format (Results 251 – 275 of 768) sorted by relevance

1...<<11121314151617181920>>...31

/php-src/ext/standard/
H A Dpack.c238 char *format; in PHP_FUNCTION() local
263 char c = format[i]; in PHP_FUNCTION()
272 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
710 char *format, *input; in PHP_FUNCTION() local
750 c = *format; in PHP_FUNCTION()
764 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
765 format++; in PHP_FUNCTION()
770 format++; in PHP_FUNCTION()
776 name = format; in PHP_FUNCTION()
781 format++; in PHP_FUNCTION()
[all …]
/php-src/ext/intl/tests/
H A Dbug58756_MessageFormatter.phpt22 echo "msgf: " . $msgf->format(array($time)) . "\n";
28 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
29 $msgf->format(array($time, 'time')), "\n";
H A Ddateformat_bug68893.phpt17 string(67) "datefmt_create: invalid date format style: U_ILLEGAL_ARGUMENT_ERROR"
19 string(67) "datefmt_create: invalid time format style: U_ILLEGAL_ARGUMENT_ERROR"
H A Dformatter_format_and_parse_errors.phpt2 ValueErrors for format/parse methods and procedural functions
19 $o->format($num, -20);
41 $o->format($num, NumberFormatter::TYPE_CURRENCY);
59 NumberFormatter::format(): Argument #2 ($type) must be a NumberFormatter::TYPE_* constant
67 NumberFormatter::format(): Argument #2 ($type) cannot be NumberFormatter::TYPE_CURRENCY constant, u…
H A Dbug58756_MessageFormatter_variant2.phpt27 echo "msgf: " . $msgf->format(array($time)) . "\n";
33 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
34 $msgf->format(array($time, 'time')), "\n";
H A Dmsgfmt_format_intlcalendar_variant2.phpt16 echo $msgf->format(array($cal)), "\n";
22 echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
23 $msgf->format(array($time, 'time')), "\n";
/php-src/ext/date/tests/
H A DDateTime_extends_basic1.phpt14 public static $format = "F j, Y, g:i:s a";
18 return parent::format(self::$format);
H A DDateTime_fix_createFromFormat.phpt17 // Create a DateTime object from format
20 echo "Format method: " . $orig->format("D., M. j, Y g:iA") . "\n";
21 echo "createFromFormat method: " . $fromFormat->format("D., M. j, Y g:iA") . "\n";
H A DDateTime_setISODate_basic1.phpt15 echo "Week 40 of 2009 is in \"" . $datetime->format("F") . "\"\n";
19 echo "Week 30 day 3 of 2009 is \"" . $datetime->format("D M j") . "\"\n";
23 echo "..same day last year was \"" . $datetime->format("D M j") . "\"\n";
H A Dbug67118.phpt9 public function __construct($time = 'now', $tz = NULL, $format = NULL)
17 echo "Bad date" . $this->format("Y") . "\n";
28 #0 %s(%d): DateTime->format('Y')
H A Dbug74173.phpt8 echo $prg->format('c') . "\n";
10 echo $prg->format('c') . "\n";
H A Didate_basic.phpt8 $format = 'Y';
12 var_dump( idate($format) );
H A Ddate-set-timestamp.phpt7 echo $d->format( "Y-m-d H:i e\n" );
11 echo $d->format( "Y-m-d H:i e\n" );
H A Dbug41844.phpt9 echo $date->format(DATE_ISO8601), "\n";
13 echo $date->format(DATE_ISO8601), "\n";
H A Dbug50475.phpt11 var_dump($date->format('Y-m-d H:i:s'));
14 var_dump($date->format('Y-m-d H:i:s'));
H A Dbug63435.phpt2 Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
9 $res = $datetime->format("u");
H A Ddate_create-2.phpt7 echo $d->format('D, d M Y H:i:s T'), "\n";
10 echo $d->format('D, d M Y H:i:s T'), "\n";
H A Dbug55407.phpt9 …public static function createFromFormat($format, $time, ?\DateTimeZone $timezone = null): DateTime…
10 return new DateTime(parent::createFromFormat($format, $time, $timezone));
H A DDatePeriod_getter.phpt13 var_dump($period->getStartDate()->format('Y-m-d H:i:s'));
16 var_dump($period->getEndDate()->format('Y-m-d H:i:s'));
19 var_dump($period->getDateInterval()->format('%R%y-%m-%d-%h-%i-%s'));
H A Dbug80610.phpt9 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n" );
15 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n");
21 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n");
H A Dbug44562.phpt25 var_dump ($d->format( DATE_ISO8601 ) );
31 DateMalformedPeriodStringException: Unknown or bad format (2D)
32 DateMalformedPeriodStringException: Unknown or bad format (2D)
H A Dbug52063.phpt7 echo $a->format(DateTime::COOKIE);
10 echo $a->format(DateTime::COOKIE);
/php-src/ext/soap/
H A Dphp_soap.h200 #define soap_error0(severity, format) \ argument
201 php_error(severity, "SOAP-ERROR: " format)
203 #define soap_error1(severity, format, param1) \ argument
204 php_error(severity, "SOAP-ERROR: " format, param1)
206 #define soap_error2(severity, format, param1, param2) \ argument
207 php_error(severity, "SOAP-ERROR: " format, param1, param2)
209 #define soap_error3(severity, format, param1, param2, param3) \ argument
210 php_error(severity, "SOAP-ERROR: " format, param1, param2, param3)
/php-src/ext/phar/tests/
H A Dbug77022.phpt17 foreach([Phar::TAR => 'tar', Phar::ZIP => 'zip'] as $format => $ext) {
19 $phar = new PharData(__DIR__ . '/test77022.' . $ext, format: $format);
/php-src/main/
H A Dphp.h300 PHPAPI size_t php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
301 PHPAPI size_t php_printf_unchecked(const char *format, ...);
312 int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
326 …php_verror(const char *docref, const char *params, int type, const char *format, va_list args) PHP…
329 PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...)
331 PHPAPI ZEND_COLD void php_error_docref_unchecked(const char *docref, int type, const char *format, …
332 …D void php_error_docref1(const char *docref, const char *param1, int type, const char *format, ...)
334 …ref2(const char *docref, const char *param1, const char *param2, int type, const char *format, ...)

Completed in 52 milliseconds

1...<<11121314151617181920>>...31