Home
last modified time | relevance | path

Searched refs:createFromInterface (Results 1 – 9 of 9) sorted by relevance

/PHP-8.0/ext/date/tests/
H A DDateTimeImmutable_createFromInterface-001.phpt2 Tests for DateTimeImmutable::createFromInterface
9 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
12 $i = DateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
17 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
20 $i = DateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
25 $i = DateTimeImmutable::createFromInterface( date_create( $current ) );
28 $i = DateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
H A DDateTime_createFromInterface-001.phpt2 Tests for DateTime::createFromInterface
9 $i = DateTime::createFromInterface( date_create( $current ) );
12 $i = DateTime::createFromInterface( date_create_immutable( $current ) );
17 $i = DateTime::createFromInterface( date_create( $current ) );
20 $i = DateTime::createFromInterface( date_create_immutable( $current ) );
25 $i = DateTime::createFromInterface( date_create( $current ) );
28 $i = DateTime::createFromInterface( date_create_immutable( $current ) );
H A DDateTimeImmutable_createFromInterface-002.phpt2 Tests for DateTimeImmutable::createFromInterface inheritance
11 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
14 $i = MyDateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
19 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
22 $i = MyDateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
27 $i = MyDateTimeImmutable::createFromInterface( date_create( $current ) );
30 $i = MyDateTimeImmutable::createFromInterface( date_create_immutable( $current ) );
H A DDateTime_createFromInterface-002.phpt2 Tests for DateTime::createFromInterface with inheritance
11 $i = MyDateTime::createFromInterface( date_create( $current ) );
14 $i = MyDateTime::createFromInterface( date_create_immutable( $current ) );
19 $i = MyDateTime::createFromInterface( date_create( $current ) );
22 $i = MyDateTime::createFromInterface( date_create_immutable( $current ) );
27 $i = MyDateTime::createFromInterface( date_create( $current ) );
30 $i = MyDateTime::createFromInterface( date_create_immutable( $current ) );
H A Dbug-gh8471.phpt19 $immutable = \DateTimeImmutable::createFromInterface($mutable);
39 $mutable = \DateTime::createFromInterface($immutable);
/PHP-8.0/ext/date/
H A Dphp_date.stub.php154 public static function createFromInterface(DateTimeInterface $object): DateTime {} function in DateTime
326 public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} function in DateTimeImmutable
H A Dphp_date_arginfo.h481 ZEND_METHOD(DateTime, createFromInterface);
494 ZEND_METHOD(DateTimeImmutable, createFromInterface);
580 …ZEND_ME(DateTime, createFromInterface, arginfo_class_DateTime_createFromInterface, ZEND_ACC_PUBLIC…
620 …ZEND_ME(DateTimeImmutable, createFromInterface, arginfo_class_DateTimeImmutable_createFromInterfac…
H A Dphp_date.c2493 PHP_METHOD(DateTime, createFromInterface) in PHP_METHOD() argument
2535 PHP_METHOD(DateTimeImmutable, createFromInterface) in PHP_METHOD() argument
/PHP-8.0/
H A DUPGRADING770 . Added DateTime::createFromInterface() and
771 DateTimeImmutable::createFromInterface().

Completed in 33 milliseconds