rfc:drop-datetimeinterface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
rfc:drop-datetimeinterface [2015/07/21 13:41] – created ocramiusrfc:drop-datetimeinterface [2015/07/21 13:49] – s/DateTimeInterface/DateTimeImmutable in non-interface context ocramius
Line 24: Line 24:
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
-Applications relying on \DateTimeInterface would need to explicitly switch back to checking against \DateTime and \DateTimeInterface.+Applications relying on \DateTimeInterface would need to explicitly switch back to checking against \DateTime and \DateTimeImmutable.
  
 Software compatible with PHP 5.5.0~5.5.7 and implementing \DateTimeInterface would break anyway. Software compatible with PHP 5.5.0~5.5.7 and implementing \DateTimeInterface would break anyway.
-Software checking against \DateTimeInterface via instanceof +Software checking against \DateTimeInterface via instanceof.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
rfc/drop-datetimeinterface.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1