PHP 7 With Improved CPU and Memory Optimisation Released

Advertisement
By Manish Singh | Updated: 3 December 2015 17:46 IST

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.

Advertisement

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.

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. Origin OS 6 Will Soon Replace Funtouch OS in India, Company Confirms
  2. Oppo Find X9 Design, Colours and Hasselblad Cameras Revealed Ahead of Debut
  3. Vivo V60 Lite 5G With MediaTek Dimensity 7360 Turbo SoC Launched: See Price
  4. Amazon Great Sale 2025 Highlights: Deals on iPhone 15, OnePlus 13 and More
  5. Amazon Sale 2025: Top Deals and Discounts on 50-Inch Smart TVs
  6. Samsung Galaxy Tab A11 Launched in India With 8.7-Inch Display: See Price
  7. Oppo A6 Pro 4G With 50-Megapixel Main Camera, 7,000mAh Battery Launched
  8. Amazon Sale 2025: Top Deals on iPhone 15, OnePlus 13s, iQOO 13 and More
  9. Xiaomi 17 Pro Max Will be Equipped With This Battery, Display
  10. Vivo X300, Vivo X300 Pro Confirmed to Support Zeiss 2.35x Teleconverter
  1. NASA Selects 10 New Astronauts to Support Future Moon and Mars Missions
  2. Scientists Confirm Ancient Asteroid Impact Created North Sea’s Silverpit Crater 43 Million Years Ago
  3. Comet C/2025 R2 (SWAN) Might Become Visible to the Naked Eye in October: Here's What We Know
  4. Oppo A6 Pro 4G With 50-Megapixel Rear Camera, 7,000mAh Battery Launched: Price, Features
  5. Samsung Galaxy Tab A11 With 8.7-Inch Display, 5,100mAh Battery Launched in India: Price, Specifications
  6. Amazon Sale 2025: Best Deals on Amazon Fire TV Stick, Echo Show and More
  7. CSRC Directs Brokers to Pause Real-World Asset Tokenisation Activity in Hong Kong
  8. Philips TAT1269 TWS Headset Launched in India Alongside Bluetooth and Party Speakers: Price, Features
  9. Facebook Dating Brings an AI Assistant to Help Users Find Prompt-Based Matches
  10. Vivo V60 Lite 5G With 6,500mAh Battery, MediaTek Dimensity 7360 Turbo SoC Launched: Price, Specifications
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.