Paul Krill
Editor at Large

PHP 7.1 update puts speed before syntax

news
May 25, 20162 mins

The successor to the speedy PHP 7.0 continues to emphasize performance over new syntaxes

speed up fast quick 5
Credit: Thinkstock

Following the built-for-speed PHP 7.0, version 7.1 of the server-side Web development language also will hone in on performance, albeit to a lesser degree.

The feature set remains in flux, but continued speed improvement remains a critical goal, according to Zeev Suraski, CTO of Zend, which has led development of the engine for PHP. “We’re continuing to work on performance, although we won’t be seeing anything nearly as dramatic as what we’ve seen in 7.0.”

There are a lot of syntax-level RFCs (Request for Comments) in a discussion phase pertaining to proposed features, but it’s not yet clear which ones will be accepted, Zuaraski said.

Features due in PHP 7.1 include nullable types; catching of multiple exception types in a single catch statement; curl HTTP/2 server push support; void return types, performing an action that does not return anything; and generalized support of negative string offsets. The 7.1 release also will feature warnings about invalid strings in arithmetic, and a class constant visibility modifiers capability introduces modifiers to mirror properties and methods.

“Ultimately I think people care a lot more about performance than some fancy new syntax,” Zuraski said  “PHP is a mature language, which explains the relatively slow adoption of recent versions of PHP 5.x and the apparently relatively fast adoption of PHP 7, which is predominantly about performance.”

Although a tentative release schedule has PHP 7.1 possibly shipping this November following a multitude of release candidates, the actual release could slip until as far out as 2018, Suraski said.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author