Searched refs:microsecond (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/date/tests/ |
H A D | getSetMicroseconds.phpt | 33 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 D | bug63435.phpt | 2 Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
|
H A D | bug64887.phpt | 16 '-8 microsecond',
|
/php-src/Zend/tests/parameter_default_values/ |
H A D | internal_declaration_error_int.phpt | 7 …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 D | ReflectionParameter_toString_Internal.phpt | 25 Parameter #3 [ <optional> int $microsecond = 0 ]
|
/php-src/ext/date/ |
H A D | php_date.stub.php | 204 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 D | php_date_arginfo.h | 132 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 D | php_date.c | 2347 static void php_date_set_time_fraction(timelib_time *time, int microsecond) in php_date_set_time_fraction() argument 2349 time->us = microsecond; in php_date_set_time_fraction()
|
/php-src/ext/standard/tests/streams/ |
H A D | stream_select_null_usec.phpt | 2 stream_select allows null for microsecond timeout if timeout is null
|
/php-src/ext/date/lib/ |
H A D | parse_date.re | 190 { "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-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 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 D | magic | 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 213 milliseconds