PHP 7 With Improved CPU and Memory Optimisation Released

Advertisement
By Manish Singh | Updated: 3 December 2015 17:46 IST
PHP 7 With Improved CPU and Memory Optimisation Released

After eight years in the making, and weeks of delay in the rollout, PHP 7 is finally here. The new version of the popular scripting language promises a 100-percent-plus improvement in performance of full-stack applications. Also worth noting is that the new version of the language is unlikely to support some PHP 4 functions, but could work seamlessly with PHP 5.

For the major release, the team has looked into several aspects of the language. PHP 7 is powered by a new engine called "phpng" which is company's attempt to compete with interpreters such as hhvm, which Facebook utilises. The new engine is focused on improving the way the language works with memory allocation, data structures, and data types. The core engine is now more optimised for CPU and memory. PHP 7 is claimed to have halved memory and CPU instructions compared to PHP 5.6.

For those wondering why the new version of the language is called PHP 7 - not PHP 6 - it is because the version 6.0 had been abandoned. The team behind the language decided to call the next version PHP 7 likely to avoid conflicts with the PHP 6 project. Recent stable versions of the programming language have been part of 5.x series. The team worked on PHP 6 between 2005 to 2010. It was expected to use Unicode as the primary encoding.

PHP 7 is based on abstract syntax tree, a tree-esque representation of the abstract syntactic structure of source code. This change will be much appreciated by developers who want to build add-on tools or perform profiling or static analysis. In addition, PHP 7 offers anonymous classes and return type and scalar type declarations.

Advertisement

The new version also gets rid off some unsupported Server APIs (SAPIs) and extensions, which means that the developers that were using them will have to remove any legacy code from their applications.

PHP is estimated to drive a large part of the Web, being the driving force behind Drupal, WordPress, Mediawiki, Joomla and many other popular content management systems (CMS).

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement
Popular Mobile Brands
  1. OTT Releases This Week: Pattth, Stolen, Jaat, Bhool Chuk Maaf, and More
  2. iQOO Z10 Lite 5G India Launch Date, Design and Battery Size Confirmed
  3. Realme GT 7 and GT 7T Review
  4. Motorola Edge 60 Will Launch in India on This Date
  5. Huawei Band 10 With Up to 14 Days Battery Life Launched in India: See Price
  6. EA Sports FC 25 Is Coming to Xbox Game Pass in June
  7. PhonePe Will Soon Let You Make UPI Payments on Your Feature Phone
  1. Tecno Pova 7 Neo 4G Design Spotted in Leaked Hands-On Images; Key Features Surface Online
  2. PhonePe to Launch UPI Payments App for Feature Phones With P2P Transfers, Offline QR Payments
  3. Huawei Mate XT 2 Tipped to Launch in H2 2025 With Upgraded Chipset, Cameras
  4. EA Sports FC 25, FBC: Firebreak and More Join Xbox Game Pass in June
  5. Razer Phantom Collection with Chroma RGB, Dynamic Lighting Support Launched in India: Check Price, Features
  6. Huawei Band 10 With Up to 14 Days of Battery Life Launched in India: Price, Features
  7. Google’s Gemini Live Is Reportedly Getting a Real-Time Captions Feature
  8. iPhone 17 Could Support Up to 50W Wireless Charging With New Qi2.2 MagSafe Chargers: Report
  9. Bitcoin Falls to $102,700 Amid Fiery Trump-Musk Feud, Most Altcoins Log Losses
  10. Oppo K13x 5G to Launch in India Soon; Confirmed to Go on Sale via Flipkart
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.