PHP's Magic Methods

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 5

  • @andyfeys
    @andyfeys 6 месяцев назад +1

    Thanks for this video. It was very informative.

    • @Phparch
      @Phparch  6 месяцев назад

      Glad it was helpful!

  • @vlkf
    @vlkf 6 месяцев назад

    Very good format for video series. Didn't know about some methods. Thanks

    • @Phparch
      @Phparch  6 месяцев назад

      Glad you liked it and thanks for being a subscriber!

  • @imqqmi
    @imqqmi Месяц назад

    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.