Searched refs:createFromTimestamp (Results 1 – 8 of 8) sorted by relevance
/PHP-8.4/ext/date/tests/ |
H A D | createFromTimestamp.phpt | 2 Tests for DateTime[Immutable]::createFromTimestamp 33 var_dump(DateTime::createFromTimestamp($ts)); 40 var_dump(DateTimeImmutable::createFromTimestamp($ts)); 48 var_dump(MyDateTime::createFromTimestamp(0)); 55 var_dump(MyDateTimeImmutable::createFromTimestamp(0)); 62 DateTime::createFromTimestamp(1696883232): object(DateTime)#%d (3) { 126 DateTime::createFromTimestamp(0.123456): object(DateTime)#%d (3) { 158 DateTime::createFromTimestamp(0): object(DateTime)#%d (3) { 174 DateTime::createFromTimestamp(0.0): object(DateTime)#%d (3) { 190 DateTime::createFromTimestamp(-0.0): object(DateTime)#%d (3) { [all …]
|
H A D | createFromTimestamp_32bit.phpt | 2 Tests for DateTime[Immutable]::createFromTimestamp 32bit variant 24 echo 'DateTime::createFromTimestamp(' . var_export($ts, true) . '): '; 26 var_dump(DateTime::createFromTimestamp($ts)); 31 echo 'DateTimeImmutable::createFromTimestamp(' . var_export($ts, true) . '): '; 33 var_dump(DateTimeImmutable::createFromTimestamp($ts)); 41 DateTime::createFromTimestamp(2147483647): object(DateTime)#%d (3) { 49 DateTimeImmutable::createFromTimestamp(2147483647): object(DateTimeImmutable)#%d (3) { 57 DateTime::createFromTimestamp(-2147483647-1): object(DateTime)#%d (3) { 73 DateTime::createFromTimestamp(2147483647.5): object(DateTime)#%d (3) { 89 DateTime::createFromTimestamp(-2147483647.5): object(DateTime)#%d (3) { [all …]
|
H A D | gh14383.phpt | 2 Bug GH-14383 (DateTime::createFromTimestamp overflowed microseconds value) 25 echo DateTime::createFromTimestamp($usec)->format('s.u'), "\n"; 31 echo DateTime::createFromTimestamp(-$usec)->format('s.u'), "\n";
|
/PHP-8.4/ext/date/ |
H A D | php_date.stub.php | 371 public static function createFromTimestamp(int|float $timestamp): static {} function in DateTime 482 public static function createFromTimestamp(int|float $timestamp): static {} function in DateTimeImmutable
|
H A D | php_date_arginfo.h | 574 ZEND_METHOD(DateTime, createFromTimestamp); 584 ZEND_METHOD(DateTimeImmutable, createFromTimestamp); 693 …ZEND_ME(DateTime, createFromTimestamp, arginfo_class_DateTime_createFromTimestamp, ZEND_ACC_PUBLIC… 720 …ZEND_ME(DateTimeImmutable, createFromTimestamp, arginfo_class_DateTimeImmutable_createFromTimestam…
|
H A D | php_date.c | 2740 PHP_METHOD(DateTime, createFromTimestamp) in PHP_METHOD() argument 2815 PHP_METHOD(DateTimeImmutable, createFromTimestamp) in PHP_METHOD() argument
|
/PHP-8.4/ |
H A D | NEWS | 874 . Added DateTime[Immutable]::createFromTimestamp. (Marc Bennewitz)
|
H A D | UPGRADING | 774 DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static.
|
Completed in 35 milliseconds