Searched refs:setTimestamp (Results 1 – 13 of 13) sorted by relevance
/PHP-8.2/ext/date/tests/ |
H A D | gh9891.phpt | 2 Bug GH-9891 (DateTime modify with unixtimestamp (@) must work like setTimestamp) 16 echo '$b: setTimestamp(', $b->getTimestamp(), ")\n"; 18 $b->setTimestamp($b->getTimestamp()); 28 $b: setTimestamp(1667327400)
|
H A D | date-set-timestamp.phpt | 2 DateTime::setTimestamp() 10 $d->setTimestamp( 1217184864 );
|
H A D | bug52062.phpt | 2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (32 bit) 21 $d->setTimestamp(100000000000); 39 DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
|
H A D | gh9880.phpt | 9 $nowTime->setTimestamp(1667416695); 12 $dateTime->setTimestamp(1671904800);
|
H A D | bug66545.phpt | 13 $d1->setTimestamp($debut); 14 $d2->setTimestamp($fin);
|
H A D | bug52062-64bit.phpt | 2 Bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp) (64 bit) 15 $d->setTimestamp(100000000000);
|
H A D | bug73858.phpt | 18 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method 19 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method 27 $s = (new DateTime("now"))->setTimestamp(strtotime($ss)); // verbose setup method 33 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method 42 $e = (new DateTime("now"))->setTimestamp(strtotime($es)); // verbose setup method
|
H A D | bug60236.phpt | 10 $t->setTimestamp($ts);
|
H A D | date_time_immutable.phpt | 94 $x = $z->setTimestamp(2012234222); 98 $x = $z->setTimestamp(2012234222); 161 setTimestamp():
|
H A D | bug68549-dst-transition-DateTime-setTimestamp.phpt | 135 $dt->setTimestamp($timestamp);
|
/PHP-8.2/ext/date/ |
H A D | php_date.stub.php | 436 public function setTimestamp(int $timestamp): DateTime {} function in DateTime 530 public function setTimestamp(int $timestamp): DateTimeImmutable {} function in DateTimeImmutable
|
H A D | php_date_arginfo.h | 564 ZEND_METHOD(DateTimeImmutable, setTimestamp); 675 …ZEND_ME_MAPPING(setTimestamp, date_timestamp_set, arginfo_class_DateTime_setTimestamp, ZEND_ACC_PU… 702 …ZEND_ME(DateTimeImmutable, setTimestamp, arginfo_class_DateTimeImmutable_setTimestamp, ZEND_ACC_PU…
|
H A D | php_date.c | 3638 PHP_METHOD(DateTimeImmutable, setTimestamp) in PHP_METHOD() argument
|
Completed in 33 milliseconds