diff --git a/reference/datetime/dateinterval/createfromdatestring.xml b/reference/datetime/dateinterval/createfromdatestring.xml index 43dd6916ce76..462ceed45952 100644 --- a/reference/datetime/dateinterval/createfromdatestring.xml +++ b/reference/datetime/dateinterval/createfromdatestring.xml @@ -10,7 +10,7 @@ &reftitle.description; &style.oop; - public static DateIntervalfalseDateInterval::createFromDateString + public static DateIntervalDateInterval::createFromDateString stringdatetime &style.procedural; @@ -53,7 +53,16 @@ &reftitle.returnvalues; - Returns a new DateInterval instance on success, &return.falseforfailure;. + Returns DateTimeImmutable on success. + &return.falseforfailure.style.procedural; + + + + + &reftitle.errors; + + Object Oriented API only: If an invalid Date/Time string is passed, + DateMalformedStringException is thrown. @@ -68,6 +77,17 @@ + + 8.3.0 + + DateInterval::createFromDateString now throws + DateMalformedStringException if an + invalid string is passed. Previously, it returned false, + and a warning was emitted. + date_interval_create_from_date_string has not been + changed. + + 8.2.0 diff --git a/reference/datetime/datetime/modify.xml b/reference/datetime/datetime/modify.xml index ccf57bbe9801..97d738de1345 100644 --- a/reference/datetime/datetime/modify.xml +++ b/reference/datetime/datetime/modify.xml @@ -11,7 +11,7 @@ &reftitle.description; &style.oop; - public DateTimefalseDateTime::modify + public DateTimeDateTime::modify stringmodifier &style.procedural; @@ -42,14 +42,15 @@ &reftitle.returnvalues; - &date.datetime.return.modifiedobjectorfalseforfailure; + Returns DateTime on success. + &return.falseforfailure.style.procedural; &reftitle.errors; - Object Orientated API only: If an invalid Date/Time string is passed, + Object Oriented API only: If an invalid Date/Time string is passed, DateMalformedStringException is thrown. @@ -68,10 +69,10 @@ 8.3.0 - Now throws - DateMalformedStringException with - DateTime::modify if an invalid string is - passed, instead of a warning. + DateTime::modify now throws + DateMalformedStringException if an + invalid string is passed. Previously, it returned false, + and a warning was emitted. date_modify has not been changed. diff --git a/reference/datetime/datetime/sub.xml b/reference/datetime/datetime/sub.xml index 19daad8ea999..a21c229a4d37 100644 --- a/reference/datetime/datetime/sub.xml +++ b/reference/datetime/datetime/sub.xml @@ -64,7 +64,7 @@ &reftitle.errors; - Object Orientated API only: If an unsupported operation is attempted, such as using a + Object Oriented API only: If an unsupported operation is attempted, such as using a DateInterval object representing relative time specifications such as next weekday, a DateInvalidOperationException is thrown. diff --git a/reference/datetime/datetimeimmutable/modify.xml b/reference/datetime/datetimeimmutable/modify.xml index e5c9aff0e2d7..9772bcafd6ca 100644 --- a/reference/datetime/datetimeimmutable/modify.xml +++ b/reference/datetime/datetimeimmutable/modify.xml @@ -9,7 +9,7 @@ &reftitle.description; - public DateTimeImmutablefalseDateTimeImmutable::modify + public DateTimeImmutableDateTimeImmutable::modify stringmodifier @@ -33,7 +33,8 @@ &reftitle.returnvalues; - Returns a new modified DateTimeImmutable object&return.falseforfailure;. + Returns DateTimeImmutable on success. + &return.falseforfailure.style.procedural; @@ -60,9 +61,10 @@ 8.3.0 - Now throws + DateTimeImmutable::modify now throws DateMalformedStringException if an - invalid string is passed, instead of a warning. + invalid string is passed. Previously, it returned false, + and a warning was emitted. diff --git a/reference/mysqli/mysqli_driver/report-mode.xml b/reference/mysqli/mysqli_driver/report-mode.xml index 34557fb67541..65cd81c13f28 100644 --- a/reference/mysqli/mysqli_driver/report-mode.xml +++ b/reference/mysqli/mysqli_driver/report-mode.xml @@ -11,11 +11,11 @@ &reftitle.description; &style.oop; - intmysqli_driver->report_mode + intmysqli_driver->report_mode &style.procedural; - boolmysqli_report + truemysqli_report intflags @@ -83,7 +83,7 @@ &reftitle.returnvalues; - Returns &true;. + &return.true.always; @@ -199,7 +199,6 @@ try { -