Home
last modified time | relevance | path

Searched refs:createFromDateString (Results 1 – 16 of 16) sorted by relevance

/PHP-8.2/ext/date/tests/
H A Ddate_interval_non_relative_warning.phpt2 GH-8458 (DateInterval::createFromDateString does not warn when non-relative items are present)
13 $d = DateInterval::createFromDateString($format);
22 Warning: DateInterval::createFromDateString(): String 'next weekday 15:30' contains non-relative el…
24 Warning: DateInterval::createFromDateString(): String '+5 hours noon' contains non-relative element…
26 Warning: DateInterval::createFromDateString(): String '-8 days March 23' contains non-relative elem…
28 Warning: DateInterval::createFromDateString(): String '+72 seconds UTC' contains non-relative eleme…
H A Dbug60774.phpt2 …val::format("%a") is always zero when an interval is created using the createFromDateString method)
5 $i= DateInterval::createFromDateString('2 days');
H A Ddate_period.phpt8 $di = DateInterval::createFromDateString( 'first day of next month' );
19 $di = DateInterval::createFromDateString( 'last thursday of next month' );
H A Dbug50055.phpt9 $i = DateInterval::createFromDateString('third Tuesday of next month');
17 $i2 = DateInterval::createFromDateString('third Tuesday of last month');
H A Dbug78751.phpt6 $oDateInterval = DateInterval::createFromDateString('1 day');
H A Dbug70153.phpt5 $i1 = \DateInterval::createFromDateString('+1 month');
H A Dbug52668.phpt8 $interval = DateInterval::createFromDateString('next day');
H A Dbug44562.phpt14 $interval = DateInterval::createFromDateString( "1 day" );
H A DDatePeriod_no_advance_on_valid.phpt8 $interval = DateInterval::createFromDateString('1 day');
H A Ddate_period-immutable.phpt9 $di = DateInterval::createFromDateString( 'first day of next month' );
H A DDateInterval_serialize-003.phpt7 $d = DateInterval::createFromDateString('next weekday');
H A Dgh10747-4.phpt22 $i = new I(new DateTimeImmutable('2023-03-03 16:24'), DateInterval::createFromDateString('+1 hour')…
H A DDatePeriod_serialize-004.phpt8 $i = DateInterval::createFromDateString('first monday of next month');
/PHP-8.2/ext/date/
H A Dphp_date.stub.php673 public static function createFromDateString(string $datetime): DateInterval|false {} function in DateInterval
H A Dphp_date_arginfo.h727 …ZEND_ME_MAPPING(createFromDateString, date_interval_create_from_date_string, arginfo_class_DateInt…
/PHP-8.2/
H A DNEWS2111 . Fixed GH-8458 (DateInterval::createFromDateString does not throw if

Completed in 22 milliseconds