Home
last modified time | relevance | path

Searched refs:microsecond (Results 1 – 13 of 13) sorted by relevance

/php-src/ext/date/tests/
H A DgetSetMicroseconds.phpt33 foreach ($microsecondList as $microsecond) {
36 echo 'DateTime::setMicrosecond('.var_export($microsecond, true).'): ';
38 var_dump($dt->setMicrosecond($microsecond));
44 echo 'DateTimeImmutable::setMicrosecond('.var_export($microsecond, true).'): ';
46 var_dump($dti->setMicrosecond($microsecond));
52 echo 'MyDateTime::setMicrosecond('.var_export($microsecond, true).'): ';
54 var_dump($myDt->setMicrosecond($microsecond));
60 echo 'MyDateTimeImmutable::setMicrosecond('.var_export($microsecond, true).'): ';
62 var_dump($myDti->setMicrosecond($microsecond));
181 DateTime::setMicrosecond(-1): DateRangeError: DateTime::setMicrosecond(): Argument #1 ($microsecond
[all …]
H A Dbug63435.phpt2 Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
H A Dbug64887.phpt16 '-8 microsecond',
/php-src/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_int.phpt7 …public function setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false): DateT…
13 …= 0, bool $microsecond = false): DateTime must be compatible with DateTime::setTime(int $hour, int…
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_toString_Internal.phpt25 Parameter #3 [ <optional> int $microsecond = 0 ]
/php-src/ext/date/
H A Dphp_date.stub.php201 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {} argument
423 …public function setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {} argument
443 public function setMicrosecond(int $microsecond): static {} argument
536 …public function setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTimeIm… argument
547 public function setMicrosecond(int $microsecond): static {} argument
H A Dphp_date_arginfo.h132 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
318 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
338 ZEND_ARG_TYPE_INFO(0, microsecond, IS_LONG, 0)
397 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microsecond, IS_LONG, 0, "0")
H A Dphp_date.c2380 static void php_date_set_time_fraction(timelib_time *time, int microsecond) in php_date_set_time_fraction() argument
2382 time->us = microsecond; in php_date_set_time_fraction()
/php-src/ext/standard/tests/streams/
H A Dstream_select_null_usec.phpt2 stream_select allows null for microsecond timeout if timeout is null
/php-src/ext/date/lib/
H A Dparse_date.re190 { "microsecond", TIMELIB_MICROSEC, 1 },
1138 reltextunit = 'ms' | 'µs' | (('msec'|'millisecond'|'µsec'|'microsecond'|'usec'|'sec'|'second'|'min'…
2425 case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */
2433 …add_pbf_error(s, TIMELIB_ERR_NO_SIX_DIGIT_MICROSECOND, "A six digit microsecond could not be found…
/php-src/
H A DUPGRADING195 DateTime[Immutable]::setMicrosecond(int $microsecond): static.
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます29871 >>0 byte &0x10 microsecond
29885 >>0 lelong &0x10 microsecond
35711 0 ulelong 0xa1b2c3d4 pcap capture file, microsecond ts (little-endian)
35726 0 ubelong 0xa1b2cd34 pcap capture file, microsecond ts, extensions (big-endian)
35728 0 ulelong 0xa1b2cd34 pcap capture file, microsecond ts, extensions (little-endian)
H A Dmagic29871 >>0 byte &0x10 microsecond
29885 >>0 lelong &0x10 microsecond
35711 0 ulelong 0xa1b2c3d4 pcap capture file, microsecond ts (little-endian)
35726 0 ubelong 0xa1b2cd34 pcap capture file, microsecond ts, extensions (big-endian)
35728 0 ulelong 0xa1b2cd34 pcap capture file, microsecond ts, extensions (little-endian)

Completed in 272 milliseconds