|
|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2013-08-27 23:44 UTC] cmbecker69 at gmx dot de
[2013-09-12 13:15 UTC] nikic@php.net
[2013-09-12 13:15 UTC] nikic@php.net
-Status: Open
+Status: Closed
[2013-11-17 09:30 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
|
All rights reserved. |
Last updated: Fri Nov 07 00:00:02 2025 UTC |
Description: ------------ Comparison for DateTimeImmutable doesn't work. The same example with DateTime objects works. Test script: --------------- $a = new DateTimeImmutable('today'); $b = new DateTimeImmutable('tomorrow'); if ($a < $b) { print("yay"); } Expected result: ---------------- yay Actual result: -------------- no output