PHP isn’t that bad, so why the hate?

<p>Despite the flak PHP often gets (which sometimes feels like it&rsquo;s surpassed the number of&nbsp;<a href="https://www.google.com/search?q=cat+videos" rel="noopener ugc nofollow" target="_blank">internet cat videos</a>), it is one of the most widely used server-side scripting languages out there. Yep, you heard it right. According to&nbsp;<a href="https://w3techs.com/technologies/overview/programming_language" rel="noopener ugc nofollow" target="_blank">3Techs</a>, as of July 2023, PHP is used by a whopping 77.4% of all the websites whose server-side programming language we know. That&rsquo;s no small potatoes!</p> <p>PHP&rsquo;s rise can largely be credited to its easy entry point. You could have a webpage up and interacting with a database before you could say &ldquo;Hello, World!&rdquo;. And let&rsquo;s not forget about WordPress. Can you believe it powers more than&nbsp;<a href="https://wordpress.org/about/features/" rel="noopener ugc nofollow" target="_blank">40% of the internet</a>?</p> <p>But despite these impressive stats, PHP often ends up being the butt of many a developer&rsquo;s joke. Just Google &ldquo;PHP hate&rdquo; and you&rsquo;ll find more burns than a summer BBQ.</p> <p>Even its creator, Rasmus Lerdorf, famously stated, &ldquo;I don&rsquo;t know how to stop it, there was never any intent to write a programming language [&hellip;] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way.&rdquo; Now, if that&rsquo;s not the most inspiring origin story, I don&rsquo;t know what is.</p> <p>But let&rsquo;s be fair, PHP isn&rsquo;t all bad. In fact, it&rsquo;s far from it. Just like a clumsy superhero, PHP has had its share of growing pains but it&rsquo;s evolved, matured, and is ready to show you what it&rsquo;s truly capable of.</p> <p><a href="https://medium.com/@PurpleGreenLemon/php-isnt-that-bad-so-why-the-hate-c7b374b87ee4">Website</a></p>
Tags: PHP Scripting BBQ