Home
last modified time | relevance | path

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

/php-src/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 DDateTimeImmutable_createFromInterface_exceptions.phpt2 DateTimeImmutable::createFromInterface exception
23 $m = DateTimeImmutable::createFromInterface( $i );
30 $m = DateTimeImmutable::createFromInterface( $i );
H A Dbug-gh8471.phpt19 $immutable = \DateTimeImmutable::createFromInterface($mutable);
39 $mutable = \DateTime::createFromInterface($immutable);
H A DDateTimeImmutable_uninitialised_exceptions.phpt28 check(fn() => DateTimeImmutable::createFromInterface($mdti));
H A DDateTime_uninitialised_exceptions.phpt28 check(fn() => DateTime::createFromInterface($mdt));
/php-src/ext/date/
H A Dphp_date.stub.php362 …public static function createFromInterface(DateTimeInterface $object): DateTime {} // TODO return … function in DateTime
556 …public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} // TOD… function in DateTimeImmutable
H A Dphp_date_arginfo.h573 ZEND_METHOD(DateTime, createFromInterface);
595 ZEND_METHOD(DateTimeImmutable, createFromInterface);
691 …ZEND_ME(DateTime, createFromInterface, arginfo_class_DateTime_createFromInterface, ZEND_ACC_PUBLIC…
738 …ZEND_ME(DateTimeImmutable, createFromInterface, arginfo_class_DateTimeImmutable_createFromInterfac…
H A Dphp_date.c2682 PHP_METHOD(DateTime, createFromInterface) in PHP_METHOD() argument
2757 PHP_METHOD(DateTimeImmutable, createFromInterface) in PHP_METHOD() argument

Completed in 38 milliseconds