PHP turned 20 this week which makes me really start to feel my age. I first found PHP around the year 2000 and at the time the popular choices in web languages was ASP, PHP, Coldfusion, or Perl. I distinctly remember being confused by the paradox of choice. PHP ended up winning for me because it was cheaper to host and seemed to be supported everywhere.
PHP didn’t start out as a language, and this is clear from its design — or lack thereof, as detractors point out. It began as an API to help Web developers access lower-level C libraries. The first version was a small CGI binary that provided form-processing functionality with access to request parameters and the mSQL database. And its facility with a Web app’s database would prove key in sparking our interest in PHP and PHP’s subsequent ascendancy.
I will forever remember creating my first sites like this in the PHP 3.x days:
<?php include('header.php'); ?> <?php $sql = "select * from posts where id = $_GET['id']"; ?> //.. <?php include('footer.php'); ?>
Yes, that’s bad. Don’t ever do that. :) The language has changed a lot since then, and thanks to the community the tips and tutorials have also vastly improved.
Here’s to 20 more!Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
- Senior Laravel Developer
- Senior Full-Stack Engineer
[REMOTE: USA Only] All Other Applications Will be Rejected Immediately"
- Senior Full Stack PHP Developer
Motto Design Studio
- Software Engineer
Remote, USA Only
- Lead Backend PHP Developer
ABOUT YOU GmbH
Laravel Podcast 29 – PHP, Sublime Text, & Decorative Urns
Episode 29: In this episode, the crew discusses 20 years of PHP, their favorite PHP features, Sublime Text, PhpStorm,…
Where do you find older Laravel documentation?
With the release of Laravel 5.1 the documentation received a huge overhaul. In the process, some of the older documen…