Re: Patch: Marking DateTime Instances Immutable
| From: | Stas Malyshev | Date: | Sun, 05 Dec 2010 20:20:53 +0000 |
| Subject: | Re: Patch: Marking DateTime Instances Immutable | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50862@lists.php.net to get a copy of this message | ||
Hi!
i actually implemented this in userland, but its rather ugly:It is ugly because you try to have one class with two semantics. It is a mistake. If you remove this ambiguity it actually would be quite small. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227