Searched refs:createFromMutable (Results 1 – 8 of 8) sorted by relevance
2 Tests for DateTimeImmutable::createFromMutable9 $i = DateTimeImmutable::createFromMutable( date_create( $current ) );13 DateTimeImmutable::createFromMutable( date_create_immutable( $current ) );27 TypeError: DateTimeImmutable::createFromMutable(): Argument #1 ($object) must be of type DateTime, …
2 Tests for inherited DateTimeImmutable::createFromMutable11 $i = MyDateTimeImmutable::createFromMutable( date_create( $current ) );15 MyDateTimeImmutable::createFromMutable( date_create_immutable( $current ) );29 TypeError: DateTimeImmutable::createFromMutable(): Argument #1 ($object) must be of type DateTime, …
2 DateTimeImmutable::createFromMutable exception17 $m = DateTimeImmutable::createFromMutable( $i );
9 $immutable = \DateTimeImmutable::createFromMutable($mutable);
29 check(fn() => DateTimeImmutable::createFromMutable($mdt));
553 public static function createFromMutable(DateTime $object): static {} function in DateTimeImmutable
594 ZEND_METHOD(DateTimeImmutable, createFromMutable);737 …ZEND_ME(DateTimeImmutable, createFromMutable, arginfo_class_DateTimeImmutable_createFromMutable, Z…
2736 PHP_METHOD(DateTimeImmutable, createFromMutable) in PHP_METHOD() argument
Completed in 26 milliseconds