Hi! > Discussion is open for following rfc https://wiki.php.net/rfc/immutability
The RFC says: > Safe for concurrency. I'm not sure - what concurrency are you talking about? > Value objects, DTO's etc. can be easily created. Value objects can be easily created right now if you follow generic best practices - private properties and no setters, here you go with value object. > Properties can be public which removes need for getters without allowing state modification. Not sure why it is a good thing to have public properties? Also, not sure how you are going to resolve references to such properties. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php