Thursday, April 27, 2017

PHP and immutability: objects and generalisation - part three #lzodevelopment



In the last article we learnt how to create modified copies of an immutable in PHP. This one is going to tackle an issue I have hitherto skirted around and avoided. Objects in immutable data structures. Objects or instances of classes are passed by reference in PHP.

from #lzodevelopment http://ift.tt/2qiLqVK
via freelance WordPress developer

No comments:

Post a Comment