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.

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).

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement
Popular Mobile Brands
  1. Cloudflare Is Down Again For the Second Time in Weeks: See Affected Sites
  2. OnePlus 15R Surfaces on Benchmarking Site Ahead of India Launch
  3. ACT Fibernet Launches New Broadband Plans With Free OTT Subscriptions
  4. Motorola Edge 70 Will Launch in India Soon via This E-Commerce Platform
  5. Motorola Edge 70 With Pantone's 2026 Colour, Swarovski Crystals Launched
  6. Airtel Discontinues These Prepaid Recharge Packs in India
  7. Xiaomi May Launch This Tri-Fold Phone to Rival the Samsung Galaxy Z TriFold
  8. Nothing Phone 3a Lite Goes on Sale in India at This Price
  9. Here's What India Searched For the Most on Google in 2025
  10. OTT Releases of the Week (Dec 1 – Dec 7): Know What to Watch
  1. Google's Year in Search 2025 Reveals Gemini 3, Nano Banana Pro and Other AI Search Features Launched in India 2025
  2. Polar Loop Screen-Free Fitness Tracker Launched in India With Up to Eight Days of Battery Life: Price, Specifications
  3. Motorola Edge 70 India Launch Teased; Flipkart Availability Confirmed: Expected Specifications, Features
  4. Google’s Year in Search 2025: Top Trending Topics in India—From Gemini to Squid Games
  5. Vivo S50 Colour Options, Key Features Surface Online; Could Launch in India as Vivo V70
  6. CFTC Clears Path for Spot Crypto Trading on Regulated Platforms for the First Time
  7. Realme 16 Pro+ 5G Colour Options, Memory Configurations Leaked Again; Tipped to Launch With 7,000mAh Battery
  8. Cloudflare Outage Blocks Access to Several Websites Including BookMyShow, SpaceX, Coinbase
  9. Samsung Galaxy S26 Series to Offer Built-In Support for Company's 25W Magnetic Qi2 Charger: Report
  10. Airtel Discontinues Two Prepaid Recharge Packs in India With Data Benefits, Free Airtel Xtreme Play Subscription
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.