Drupal is built on PHP so any developer working with Drupal needs some PHP knowledge. PHP memory management is something that can initially be a difficult concept to grasp.
In this Acro Media Tech Talk video, Rob Thornton covers PHP arrays and how they use memory. He goes over various examples, helping to shed some light on how to use arrays effectively. Along the way, Rob discusses passing arrays by value vs. by reference and shares some tips about each.
If you find this video helpful, you may also be interested in these related topics:
- DrupalCon 2018 Session: How Memory Works in PHP and Its Hidden Costs
- Drupal with WebSockets for Real-Time Synced Displays
- How to decode obfuscated PHP files
- Drupal Commerce 2: A Comprehensive Overview for Drupal Developers and Technical Managers