Re: DateTime improvement

From: Date: Sun, 16 Dec 2012 21:37:02 +0000
Subject: Re: DateTime improvement
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-64311@lists.php.net to get a copy of this message
Hi! > Al the methods will *still* return the modified DateTime object - it's > just that the one that you *call* f.e. ->modify() on won't change > anymore. Doesn't it mean you can just call clone() on it in modifier methods before doing anything else? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#64311) next »