note 115315 added to datetimeimmutable.modify

From: Date: Thu, 03 Jul 2014 23:47:07 +0000
Subject: note 115315 added to datetimeimmutable.modify
Groups: php.notes 
Request: Send a blank email to php-notes+get-199833@lists.php.net to get a copy of this message
It's called modify() for compatibility with the DateTime interface. The whole point of the class is that it's a drop-in replacement for DateTime, and giving the method a different name would defeat that purpose. ---- Server IP: 72.52.91.14 Probable Submitter: 152.179.69.246 ---- Manual Page -- http://php.net/manual/en/datetimeimmutable.modify.php Edit -- https://master.php.net/note/edit/115315 Del: integrated -- https://master.php.net/note/delete/115315/integrated Del: useless -- https://master.php.net/note/delete/115315/useless Del: bad code -- https://master.php.net/note/delete/115315/bad+code Del: spam -- https://master.php.net/note/delete/115315/spam Del: non-english -- https://master.php.net/note/delete/115315/non-english Del: in docs -- https://master.php.net/note/delete/115315/in+docs Del: other reasons-- https://master.php.net/note/delete/115315 Reject -- https://master.php.net/note/reject/115315 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199833) next »