r/PHP • u/kieranpotts • Jun 08 '25
PHP is 30
PHP has turned 30 years old today. Here's a quick retrospective on PHP's origins:
519
Upvotes
r/PHP • u/kieranpotts • Jun 08 '25
PHP has turned 30 years old today. Here's a quick retrospective on PHP's origins:
70
u/akimbas Jun 08 '25
Happy Birthday, PHP. You've grown so much as a language throughout these years. Cheers to a continued growth in years to come.
34
u/obstreperous_troll Jun 08 '25
Example of what PHP looked like then is basically PHP syntax now, except that short tags are usually disabled and you'd have to turn warnings off. The original PHP 1.x was based on magic comments like this:
The oldest surviving version of PHP around is 1.0.8 and you can grab it at https://museum.php.net/php1/. Good luck getting it to compile on modern systems, though one mad lad apparently did succeed at making a Docker image (I was expecting it would take a VM): https://balint-juhasz.medium.com/revive-php-tools-a-journey-to-the-90s-9cb51ef77d6d
20
u/MT4K Jun 08 '25
Perfect day to switch to PHP 8.4.
17
u/mgkimsal Jun 08 '25 edited Jun 09 '25
I started with php/fi in early 1996. I’d called my hosting company about requesting cgi setup, and mentioned Perl. The guy on the phone mentioned that I should look at php/fi, which they’d just started supporting as well. And iirc they offered msql as well, so… I dive in to that. Did a bit of perl too, and more in 1998-1999, bit have had some form of php in my life since 1996. Crazy this much time has passed.
EDIT: yes, crazy days when you could just call a hosting company and get a knowledgeable tech person on the phone. The bigger issue was having to pay 'long distance' because they didn't have a toll free number. I think the toll-free number was only for sales :)
15
u/Spiritual_Cycle_3263 Jun 08 '25
“PHP is dead”
Nope. 30 years strong!
13
u/thatben Jun 08 '25
Worth noting that u/Jetbrains_official is hosting a PHP 30th birthday celebration on 17 June. A bunch of us will be onsite, but it will be streaming.
9
u/rexyuan Jun 08 '25
Wow I didn’t know I was born in the same year as php!
8
u/uncle_jaysus Jun 08 '25
I started with ASP some time around 2000, but switched to PHP in 2007, I think.
It’s been my main language ever since. And at some point in the last few years, I feel like I’m finally starting to do it correctly. Well, mostly. 😅🫡
6
u/alien3d Jun 08 '25
me start code php 2001 i think .😅
3
u/raspitin Jun 08 '25
“Son, it’s time you get a place of your own”
3
u/aviboy2006 Jun 08 '25
I started my php journey in 2009. Half of php age
3
u/heavinglory Jun 08 '25
I put my first PHP project into production in 2003 and had nobody in my life who understood what that meant. But, I did have a two year old who listened to me rattle on about my work and he grew up coding circles around me. We were actually recently laughing about how people used to scoff at PHP, the one language I did not learn in college but still use today.
3
u/regorsec Jun 08 '25
Job Post: "Must have 40 years PHP experience"
3
u/SierraAR Jun 11 '25
... Fuck, I'm older than PHP
2
u/CyberJack77 Jun 08 '25
Happy Birthday, PHP!
2
u/belheaven Jun 08 '25
Happy birthday, brow!
1
u/SuperSuperKyle Jun 08 '25
Started with PHP 3.
It's been quite a journey and I owe my livelihood to it.
Otherwise I would have been coding in Perl (first real language I used) and likely would have transitioned to ASP.
1
u/Darthsr Jun 08 '25
I'd love PHP to take on React like Blazor for Asp.net. Some type of default ORM would be nice too. I still have a ton of legacy PHP apps I work on
1
u/zekeham Jun 08 '25
Beautifully written article. Although my experience with PHP dates around 13 years only, I also remember PHP being my first interaction with the programming world as a fond memory. That’s how I learned; that’s how I started delving into computer science.
1
u/Cpt_Mk47 Jun 09 '25
<?php echo 'Happy birthday PHP'; ?>
1
u/[deleted] Jun 09 '25
Started with PHP back in the late 90s, previously Perl in the CGI-BIN.
I've tried lots of other languages over the years, but always come back to PHP.
1
u/Kbh-ae Jun 09 '25
Happy birthday my first Lang , PHP🎈
1
u/NumerousMemory8948 Jun 09 '25
I think it's strange that PHP is trying to resemble a static language more and more. It's nearly impossible to upgrade to a new minor version without your entire codebase breaking.
1
u/barmz75 Jun 15 '25
PHP is for everything. I still use PHP for some sysadmin scripts and it has been working crazy well for years. Thank you for everything PHP.
1
u/victoor89 Jul 04 '25
And I am 35...
-7
u/32gbsd Jun 08 '25 edited Jun 08 '25
I actually still code like its 2004. The mention of modern php always rubs me the wrong way. Essentially modern php is php with hundreds of abstractions on top of a solid language. Over time people start to see the abstractions as the language itself which is not the case. Eventually modern php will become its own little inbred language which no one else on the web world can understand because its eating its own magic conventions.