I think php documentation mentioned some of these are for frameworks to change behavior of classes but isn't meant for normal use. It produces hard to understand and debug code, best practice was to try to avoid using them, ie the get and set functions. I've experimented with them for accessing database data and caching in memory like an orm but quickly changed my mind about because it was prone to errors, ide problems and other issues. On the surface it seemed like a good idea but digging deeper it's a complete mess.
Thanks for this video. It was very informative.
Glad it was helpful!
Very good format for video series. Didn't know about some methods. Thanks
Glad you liked it and thanks for being a subscriber!
I think php documentation mentioned some of these are for frameworks to change behavior of classes but isn't meant for normal use. It produces hard to understand and debug code, best practice was to try to avoid using them, ie the get and set functions. I've experimented with them for accessing database data and caching in memory like an orm but quickly changed my mind about because it was prone to errors, ide problems and other issues. On the surface it seemed like a good idea but digging deeper it's a complete mess.