PHP gets a formal specification, at last

A new formal PHP specification sets the stage for additional implementations of the language

Despite becoming one of the most widely used programming languages on the Web, PHP didn't have a formal specification -- until now.

The developers who oversee the language, including engineers from Facebook, are assembling a document that details how PHP should work, which sets the stage for building additional implementations.

"It is about time a formal specification is defined for PHP, though the lack of one has by no means hindered the adoption of this programming language," wrote Al Hilwa, program director of software development research for IT analyst firm IDC.

Facebook engineer and PHP core contributor Sara Golemon announced the initiative at the O'Reilly Open Source Convention earlier this month in Portland, Oregon. An initial draft of the specification was posted Wednesday on GitHub.

Capturing how PHP should work in a formal document will help the language, Hilwa said, because it will provide other parties with a guide to implementing PHP with exact fidelity.

Most all programming languages, such as Java or C++, have specification documents, which allow software companies to build compilers, runtime engines and other software supporting the language.

Facebook built and released the HipHop Virtual Machine, which runs PHP more quickly.

Like Facebook, other parties could implement PHP for additional platforms, or bring other innovations and ways to improve the performance of running PHP code.

Created by Rasmus Lerdorf in 1994, PHP had an inauspicious start as a set of scripts for dynamically updating Lerdorf's home page. Over the years, Lerdorf and others augmented PHP to make a full-fledged server-side Web language.

Thanks to its copious use on the Web, PHP is the seventh most widely used language today, according to the latest monthly estimate of programming language popularity from development tools provider Tiobe.

Facebook also released as open source a number of JavaScript programs that the company developed internally. One is React, which is a data manager.

The company also posted a library for supporting functional programming techniques, called immutable-js, as well as an Android user interface library rebound-js.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags Facebooksoftwareapplication developmentLanguages and standards

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?