Home
last modified time | relevance | path

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

/PHP-8.4/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-8.4/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-8.4/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_toString_Internal.phpt25 Parameter #3 [ <optional> int $microsecond = 0 ]
/PHP-8.4/ext/date/
H A Dphp_date.stub.php204 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {} argument
426 …public function setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {} argument
446 public function setMicrosecond(int $microsecond): static {} argument
539 …public function setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTimeIm… argument
550 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.c2384 static void php_date_set_time_fraction(timelib_time *time, int microsecond) in php_date_set_time_fraction() argument
2386 time->us = microsecond; in php_date_set_time_fraction()
/PHP-8.4/ext/standard/tests/streams/
H A Dstream_select_null_usec.phpt2 stream_select allows null for microsecond timeout if timeout is null
/PHP-8.4/ext/date/lib/
H A Dparse_date.re190 { "microsecond", TIMELIB_MICROSEC, 1 },
1142 reltextunit = 'ms' | 'µs' | (('msec'|'millisecond'|'µsec'|'microsecond'|'usec'|'sec'|'second'|'min'…
2429 case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */
2437 …add_pbf_error(s, TIMELIB_ERR_NO_SIX_DIGIT_MICROSECOND, "A six digit microsecond could not be found…
/PHP-8.4/
H A DUPGRADING777 DateTime[Immutable]::setMicrosecond(int $microsecond): static.
/PHP-8.4/ext/fileinfo/tests/
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)
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)

Completed in 191 milliseconds