Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

What's New In PHP7

4,042 views

Published on

My presentation about PHP7 for event "Deep Insight Laravel, Magento, and PHP7" on 20th February 2016 at D.Lab Jakarta.

Published in: Technology

What's New In PHP7

  1. 1. Contact Me! email: petra.barus@gmail.com twitter: @petrabarus telegram: petrabarus github: petrabarus Deep insight Laravel, Magento, dan PHP7 20th February 2016 D.Lab, Jakarta
  2. 2. - Chief Technology Officer, UrbanIndo.com - Master of Informatics Engineering ITB - Have been using PHP since 2003 - Writes Yii2 libraries - Interests: Distributed systems, High performance computing, Programming - Hobby: Sleeping, reading books
  3. 3. What makes PHP7 much faster and what can I learn from that? How do the new PHP7 helps me to code?
  4. 4. Similar reason with Type Hinting
  5. 5. PHP 5 PHP 7
  6. 6. PHP 5 PHP 7
  7. 7. PHP 5 PHP 7
  8. 8. According to HHVM…..
  9. 9. According to Zend…..
  10. 10. Reference: http://www.slideshare.net/nikita_ppv/php-7-what-changed-internally-php-barcelona-2015 http://www.slideshare.net/nikita_ppv/php-7-what-changed-internally http://www.slideshare.net/jpauli/php-7-performances-from-php-5
  11. 11. Size Latency L1 Cache 32kB 1ns L2 Cache 256kB 4ns L3 Cache 4000kB 12ns Memory 2000+MB 100ns A bit intro to low level optimization by utilizing CPU cache and memory architecture
  12. 12. Much faster because using CPU cache Consider these C codes
  13. 13. Reference: https://software.intel.com/en-us/articles/how-to-use-loop-blocking-to-optimize-memory-use-on-32-bit- intel-architecture
  14. 14. Memory
  15. 15. PHP 5 PHP 7
  16. 16. PHP5 PHP7
  17. 17. PHP5
  18. 18. PHP7

×