Samik Sengupta’s Post

View profile for Samik Sengupta, graphic

Software Engineer | Full-stack Developer @ Vestd

PHP has come a long way. I came across this article and it sums up the history of PHP nicely in a single page. It's fascinating to see how far we have come with this. Started off as a little more than a Forms Interpreter where basic concepts like loops and conditional branches were alien, to a language that powers about 80% of the web. Here is the TLDR version: v1: Basic scripting, database and form handling. v2: Basic programming structures like Loops and Conditionals. v3: Total rewrite. Modularity support and widespread adoption. This is probably the earliest version to resemble modern PHP. v4: Zend I engine. Better performance. Superglobals. Becomes the go-to language for the dynamic web. v5: Zend II engine. Embraced OOP paradigm. Autoloading. JSON support. v6: The version that never happened. Scrapped features reused for 5.3 and 7. v7: Zend III. Speed! Performance! Cool stuffs like null-coalesces (??) and spaceships (<=>)! Scalar types! Typed properties! Arrow functions! The dawn of modern PHP. v8: JIT. Enums. Readonly props. Array Unpacking. More performance. #PHP #Programming #Web

To view or add a comment, sign in

Explore topics