Memory usage in PHP – Dealing with arrays
Drupal is built on PHP, so any developer working with Drupal needs some PHP knowledge. PHP memory management can initially be a difficult concept to grasp.
In this Acro Media Tech Talk video, Rob Thornton covers PHP arrays and memory use. He goes over various examples, helping to shed some light on using arrays effectively. Along the way, Rob discusses passing arrays by value vs. passing arrays 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