<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PHP</title>
    <description>Dries Buytaert on PHP.</description>
    <link>https://dri.es/tag/php</link>
    <atom:link href="https://dri.es/tag/php/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PHP Foundation launched</title>
      <link>https://dri.es/php-foundation-launched</link>
      <guid>https://dri.es/php-foundation-launched</guid>
      <pubDate>Mon, 22 Nov 2021 15:47:44 -0500</pubDate>
      <description>&lt;p&gt;There is a common misconception that large open source projects are well-funded. In practice, many rely on a small group of maintainers.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://www.php.net/&quot;&gt;PHP&lt;/a&gt; programming language is one of them. Despite being used by &lt;a href=&quot;https://w3techs.com/technologies/overview/programming_language&quot;&gt;75%+ of the web&lt;/a&gt;, PHP only has a few full-time contributors.&lt;/p&gt;
&lt;p&gt;That is why the &lt;a href=&quot;https://blog.jetbrains.com/phpstorm/2021/11/the-php-foundation/&quot;&gt;PHP Foundation&lt;/a&gt; is launching. Its mission: &lt;q&gt;The PHP Foundation will be a non-profit organization whose mission is to ensure the long life and prosperity of the PHP language.&lt;/q&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.acquia.com/&quot;&gt;Acquia&lt;/a&gt; is proud to support the PHP Foundation by contributing $25,000 to the foundation, alongside &lt;a href=&quot;https://automattic.com/&quot;&gt;Automattic&lt;/a&gt;, &lt;a href=&quot;https://www.jetbrains.com/&quot;&gt;JetBrains&lt;/a&gt;, &lt;a href=&quot;https://laravel.com/&quot;&gt;Laravel&lt;/a&gt; and others. Our donations will help fund the development of PHP.&lt;/p&gt;
&lt;p&gt;PHP is vital to the functioning of governments, schools, non-profits, private companies, public companies, and much more. If your organization relies on PHP, I&#039;d encourage you to &lt;a href=&quot;https://opencollective.com/phpfoundation&quot;&gt;make a contribution&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Large open source projects like PHP need meaningful, long-term support. I remain very passionate about &lt;a href=&quot;https://dri.es/balancing-makers-and-takers-to-scale-and-sustain-open-source&quot;&gt;how to make Open Source production more sustainable&lt;/a&gt;, more fair, more egalitarian, and more cooperative. It will be interesting to see how the &lt;a href=&quot;https://blog.jetbrains.com/phpstorm/2021/11/the-php-foundation/&quot;&gt;PHP Foundation&lt;/a&gt; develops.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The end of PHP 5 </title>
      <link>https://dri.es/the-end-of-php-5</link>
      <guid>https://dri.es/the-end-of-php-5</guid>
      <pubDate>Thu, 08 Nov 2018 18:19:13 -0500</pubDate>
      <description>&lt;p&gt;PHP, the Open Source scripting language, is used by &lt;a href=&quot;https://w3techs.com/technologies/details/pl-php/all/all&quot;&gt;nearly 80 percent of the world&#039;s websites&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;According to &lt;a href=&quot;https://w3techs.com/&quot;&gt;W3Techs&lt;/a&gt;, around &lt;a href=&quot;https://w3techs.com/technologies/details/pl-php/5/all&quot;&gt;61 percent of all websites on the internet still use PHP 5&lt;/a&gt;, a version of PHP that was first released fourteen years ago.&lt;/p&gt;
&lt;p&gt;Now is the time to give PHP 5 some attention. In less than two months, on December 31st, &lt;a href=&quot;https://secure.php.net/supported-versions.php&quot;&gt;security support for PHP 5 will officially cease&lt;/a&gt;. (Note: Some Linux distributions, such as Debian Long Term Support distributions, will still try to backport security fixes.)&lt;/p&gt;
&lt;p class=&quot;pullquote&quot;&gt;If you haven&#039;t already, now is the time to make sure your site is running an updated and supported version of PHP.&lt;/p&gt;
&lt;p&gt;Beyond security considerations, sites that are running on older versions of PHP are missing out on the significant performance improvements that come with the newer versions.&lt;/p&gt;
&lt;h3&gt;Drupal and PHP 5&lt;/h3&gt;
&lt;h4&gt;Drupal 8&lt;/h4&gt;
&lt;p&gt;Drupal 8 will drop support for PHP 5 on March 6, 2019. We recommend updating to at least PHP 7.1 if possible, and ideally PHP 7.2, which is supported as of Drupal 8.5 (which was released March, 2018). Drupal 8.7 (to be released in May, 2019) will support PHP 7.3, and we may backport PHP 7.3 support to Drupal 8.6 in the coming months as well.&lt;/p&gt;
&lt;h4&gt;Drupal 7&lt;/h4&gt;
&lt;p&gt;Drupal 7 will drop support for older versions of PHP 5 on December 31st, but will continue to support PHP 5.6 as long there are one or more third-party organizations providing reliable, extended security support for PHP 5.&lt;/p&gt;
&lt;p&gt;Earlier today, we released Drupal 7.61 which now supports PHP 7.2. This should make upgrades from PHP 5 easier. Drupal 7&#039;s support for PHP 7.3 is being worked on but we don&#039;t know yet when it will be available.&lt;/p&gt;
&lt;h3&gt;Thank you!&lt;/h3&gt;
&lt;p&gt;It&#039;s a credit to the PHP community that they have maintained PHP 5 for fourteen years. But that can&#039;t go on forever. It&#039;s time to move on from PHP 5 and upgrade to a newer version so that we can all innovate faster.&lt;/p&gt;
&lt;p&gt;I&#039;d also like to thank the Drupal community – both those contributing to Drupal 7 and Drupal 8 – for keeping Drupal compatible with the newest versions of PHP. That certainly helps make PHP upgrades easier.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Why the big architectural changes in Drupal 8</title>
      <link>https://dri.es/why-the-big-architectural-changes-in-drupal-8</link>
      <guid>https://dri.es/why-the-big-architectural-changes-in-drupal-8</guid>
      <pubDate>Mon, 09 Sep 2013 13:33:02 -0400</pubDate>
      <description>&lt;p&gt;There has been a lot of chatter about Drupal 8. Will Drupal 8 be performant? Will Drupal 8 be easy to develop modules for? Will I have to learn Symfony? I want to address these concerns and explain why Drupal 8 introduces such big changes.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;&lt;img src=&quot;https://dri.es/files/images/blog/why-the-big-architectural-changes-in-drupal-8.jpg&quot; alt=&quot;Why the big architectural changes in Drupal 8?&quot; width=&quot;742&quot; height=&quot;417&quot; /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;h3&gt;Lessons from the past: the pain before the gain&lt;/h3&gt;
&lt;p&gt;The reason Drupal has been successful is because we always made big, forward-looking changes. It&#039;s a cliché, but change has always been the only constant in Drupal. The result is that Drupal has stayed relevant, unlike nearly every other Open Source CMS over the years. The biggest risk for our project is that we don&#039;t embrace change.&lt;/p&gt;
&lt;p&gt;The downside is that with every major release of Drupal, we&#039;ve gone through a lot of pain adjusting to this change. I first &lt;a href=&quot;https://dri.es/the-pain-before-the-payoff&quot;&gt;wrote about it in 2006 when trying to get Drupal 4.7 released&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;q&gt;So let&#039;s capture that thought for future reference. Sweeping changes are required to make major advances in technology, and often times there is a lot of pain before the pay-off.&lt;/q&gt;&lt;/p&gt;
&lt;h3&gt;We decided that big changes were required&lt;/h3&gt;
&lt;p&gt;Drupal 7 is a fantastic CMS, but at the same time there are some fairly big limitations, including an incomplete Entity API, a lack of separation between content and configuration, leading to deployment challenges, a lack of separation between logic and presentation in the theme layer, and more. We created solutions for those challenges using contributed modules, but those solutions were in many cases incomplete. In Drupal 8, we decided to tackle a lot of these problems head-on, through the Configuration Management Initiative, the Twig templating layer, and a complete Entity API.&lt;/p&gt;
&lt;p&gt;The web landscape has also dramatically changed around Drupal since January 2011, when Drupal 7 was released. Mobile browsing is ubiquitous, and so are third-party services that people may want to integrate their Drupal sites with. Web site users expect a much higher bar when it comes to ease of use. We anticipated these trends and as a result, we spent the past 2.5 years working on Drupal 8&#039;s mobile features and user experience improvements.&lt;/p&gt;
&lt;p&gt;But are all these great improvements enough?&lt;/p&gt;
&lt;h3&gt;We need to modernize Drupal 8&lt;/h3&gt;
&lt;p&gt;One of our biggest challenges with Drupal, is that it is hard for organizations of all sizes to find Drupal talent (developers, themers, site builders, etc). Drupal 7 didn&#039;t address this problem (e.g. we held on to procedural programming instead of object-oriented programming), and in fact made it a bit worse with the introduction of even more &amp;quot;Drupalisms&amp;quot; (e.g. excessive use of structured arrays). For most people new to Drupal, Drupal 7 is really complex.&lt;/p&gt;
&lt;p&gt;The most effective way to address the Drupal talent issue, as well as the complexity issue, is to bring Drupal in line with modern frameworks and platforms, so there is less Drupal-specific knowledge to learn in order to become proficient. We decided to adopt modern PHP concepts and standards, object-oriented programming, and the &lt;a href=&quot;http://symfony.com&quot;&gt;Symfony framework&lt;/a&gt;. While a lot of the Drupal concepts (Fields, Views, Entities, Nodes) continue to exist in Drupal 8, they are now implemented using object-oriented programming design patterns.&lt;/p&gt;
&lt;p&gt;The advantages and disadvantages of object-oriented programming are well-understood. The disadvantages are size, verbosity, the amount of work it takes to write (including the design planning that goes into it) and slower performance. For people new to object-oriented programming there may be a steep learning curve; some of the key programming techniques, such as inheritance and polymorphism, can be challenging initially. The advantages are encapsulation (both to hide implementation details and to avoid tampering with internal values), faster development thanks to re-use, extensibility, and better maintainability. Compared to procedural programs, object-oriented programs are easier to maintain, extend and refactor. So although a lot of work is spent to write the program, less work is needed to maintain it over time.&lt;/p&gt;
&lt;p&gt;For Drupal 8 this means that the code will be more abstract, more verbose, and slower, yet also be more maintainable, more modular, and more accessible to non-Drupal developers. The end result is that Drupal 8 should help us attract new people to Drupal in a way Drupal 7 didn&#039;t.&lt;/p&gt;
&lt;p&gt;This is exactly what happened with other projects like &lt;a href=&quot;http://symfony.com&quot;&gt;Symfony&lt;/a&gt;; Symfony 2 was a complete rearchitecture of Symfony 1. A lot of people were alienated by that, yet at the same time Symfony 2 took off like a rocketship. The same thing has happened with the major releases of Drupal as well, despite how much change each one brings.&lt;/p&gt;
&lt;h3&gt;Change is scary for the existing Drupal developers&lt;/h3&gt;
&lt;p&gt;However, as we get closer to the release of Drupal 8, existing Drupal developers have become increasingly aware of the massive changes that Drupal 8 will bring. This has resulted in some fear; some people feel like they have to re-learn everything they know, and that developing for Drupal 8 has changed to the point where it&#039;s no longer fun. This fear is completely understandable. Change is hard, it can be scary, and often takes a long time to be absorbed.&lt;/p&gt;
&lt;p&gt;But even if we completely streamlined the Drupal 8 developer experience, Drupal 8 will still look and work radically different under the hood. As mentioned, there are advantages and disadvantages to object-oriented programming and modern design patterns. But if we care about the long-term success of Drupal, we can&#039;t preserve the past. The risk of sticking with the old Drupal 7 architecture is that we won&#039;t be able to attract many more Drupal developers, and that over time, Drupal will become the odd one out.&lt;/p&gt;
&lt;h3&gt;There is a lot of work left to be done&lt;/h3&gt;
&lt;p&gt;Part of the fear out there is well-founded because in &lt;a href=&quot;https://dri.es/drupal-8-apis-are-freezing-but-not-frozen&quot;&gt;the current state of development&lt;/a&gt;, Drupal 8 isn&#039;t good enough. While there are many things to like about Drupal 8, I&#039;m also the first to admit that we have work to do on the Drupal 8 developer experience (as well as performance) before Drupal 8 can ship. Creating a well-designed object-oriented application takes more time and design work than creating a procedural one. Some major improvements have already landed, but we&#039;re still working hard on &lt;a href=&quot;https://www.drupal.org/node/2081777&quot;&gt;improving the developer experience&lt;/a&gt;. We need more help, especially from Drupal 7 developers, on how we can make Drupal 8 more approachable for them. I&#039;m not afraid to make major API changes if the developer experience improvement is suitably large. So if you have concerns about Drupal 8, &lt;a href=&quot;https://www.drupal.org/node/2081777#help&quot;&gt;now is the time to step up and help&lt;/a&gt;. In return, I promise we&#039;ll work on Drupal 8 until it is ready. &lt;em&gt;Thank you!&lt;/em&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Staking our future on PHP</title>
      <link>https://dri.es/staking-our-future-on-php</link>
      <guid>https://dri.es/staking-our-future-on-php</guid>
      <pubDate>Mon, 11 Apr 2011 11:22:32 -0400</pubDate>
      <description>&lt;p&gt;I believe that the growth of PHP depends increasingly on applications like &lt;a href=&quot;https://www.drupal.org&quot;&gt;Drupal&lt;/a&gt;, &lt;a href=&quot;https://joomla.org&quot;&gt;Joomla!&lt;/a&gt;, &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt;, &lt;a href=&quot;http://phpbb.com&quot;&gt;phpBB&lt;/a&gt;, &lt;a href=&quot;http://typo3.org&quot;&gt;Typo3&lt;/a&gt;, &lt;a href=&quot;http://ez.no&quot;&gt;ezPublish&lt;/a&gt; and similar systems. Specifically, I believe that most organizations adopt PHP primarily because they want to use one of these popular applications which have PHP at their core. Fewer organizations adopt PHP because they want to build from scratch their own PHP applications. Hence, more than ever, the future of PHP depends on popular PHP applications that have emerged over recent years.&lt;/p&gt;
&lt;p&gt;Conversely, the future of Drupal depends on PHP. Moreover, many of us are staking our future, and that of our businesses, on Drupal and, by extension, on PHP. The same is true for those who make their living with Joomla!, WordPress, phpBB, vBulletin, Typo3, and ezPublish.&lt;/p&gt;
&lt;p&gt;It seems that we have arrived at a point in which there is a symbiotic relationship between PHP and the most popular PHP applications. A relationship that did not exist when PHP was created. Symbiotic relationships are obligatory: we depend entirely on each other for survival. And yet, I feel like we&#039;ve been living apart. It makes sense for us (i.e, application developers) to contribute to the development of PHP, and for the PHP core developers to work more closely with the developers of the most popular PHP applications.&lt;/p&gt;
&lt;p&gt;Having spent ten years of my life developing Java Virtual Machines and run-time systems, I feel that I&#039;d be able to contribute to PHP. Unfortunately, I don&#039;t currently have time for it. Maybe when &lt;a href=&quot;https://www.acquia.com&quot;&gt;Acquia&lt;/a&gt; is a bit larger, we&#039;ll hire a full-time engineer to contribute to PHP&#039;s development. Maybe other organizations will consider doing the same, or more people will find the time to be active in more than just one project. It seems as though our future would really benefit from such people.&lt;/p&gt;
&lt;p&gt;If you could contribute to PHP core, what would you change?&lt;/p&gt;
</description>
    </item>
    <item>
      <title>PHP4 is dead ... or maybe not</title>
      <link>https://dri.es/php4-is-dead-or-maybe-not</link>
      <guid>https://dri.es/php4-is-dead-or-maybe-not</guid>
      <pubDate>Fri, 08 Aug 2008 17:56:51 -0400</pubDate>
      <description>&lt;p&gt;It is 08/08/08 today. The day they took PHP4 behind the barn and shot it through the head. The date of the official discontinuation of PHP4 – even for security issues.&lt;/p&gt;
&lt;p&gt;Unfortunately, as &lt;a href=&quot;https://dri.es/php-is-dead-long-live-php&quot;&gt;I predicted in April 2007&lt;/a&gt;, PHP4 is still more widely used than PHP5 is. According to &lt;a href=&quot;http://www.nexen.net/chiffres_cles/phpversion/18608-evolution_de_php_sur_internet_juillet_2008.php&quot;&gt;the latest Nexen data&lt;/a&gt;, PHP5 has only a 33% install base after more than four years.&lt;/p&gt;
&lt;p&gt;Drupal&#039;s success depends on that of PHP, and PHP5&#039;s slow adoption rate has certainly been annoying. Hopefully, we can all move forward together now. Drupal is ready for it.&lt;/p&gt;
&lt;p&gt;If you still haven&#039;t upgraded to PHP5, today would be a good day.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>PHP is dead ... long live PHP!</title>
      <link>https://dri.es/php-is-dead-long-live-php</link>
      <guid>https://dri.es/php-is-dead-long-live-php</guid>
      <pubDate>Tue, 08 May 2007 06:46:38 -0400</pubDate>
      <description>&lt;p&gt;People are getting increasingly worried about PHP5&#039;s adoption rate. And rightly so. PHP5 has been released more than two years ago. If you look at the adoption rate in the graph below, you see that after more than two years, PHP5 commands for less than 20% of PHP&#039;s install base. With the current adoption rate (even if it is assumed to be exponential), PHP6 is dead before it is even born.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;&lt;img src=&quot;https://dri.es/files/images/drupal/php5-adoption-rate.jpg&quot; alt=&quot;Line graph showing PHP5 adoption rate increasing steadily from July 2004 to March 2007, based on Nexen data.&quot; width=&quot;500&quot; height=&quot;332&quot; /&gt;
&lt;figcaption&gt;&lt;em&gt;PHP5&#039;s adoption rate based on data from &lt;a href=&quot;http://www.nexen.net/&quot;&gt;Nexen&lt;/a&gt;.&lt;/em&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure&gt;&lt;img src=&quot;https://dri.es/files/images/drupal/php5-naive-forecast.jpg&quot; alt=&quot;PHP5 naive forecast&quot; width=&quot;500&quot; height=&quot;318&quot; /&gt;
&lt;figcaption&gt;&lt;em&gt;A naive forecast of PHP5&#039;s adoption rate. As the major Linux distributions (RedHat, Debian and Ubuntu) started shipping PHP5 recently, I was optimistic and assumed PHP5&#039;s growth to be exponential. Based on data from &lt;a href=&quot;http://www.nexen.net/&quot;&gt;Nexen&lt;/a&gt;.&lt;/em&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;As &lt;a href=&quot;http://www.nicklewis.org/node/911&quot;&gt;Nick Lewis pointed out&lt;/a&gt;: PHP is dying, and if we don&#039;t migrate to PHP5, the Drupal project will die along with the PHP project. It won&#039;t happen overnight, but it might happen several years down the road ... The point? Drupal&#039;s success depends on that of PHP.&lt;/p&gt;
&lt;p&gt;Part of the problem is that the &lt;a href=&quot;http://blog.case.edu/gps10/2007/04/29/so_many_untapped_php_features&quot;&gt;PHP team has their target audience wrong&lt;/a&gt;. If they want to drive PHP5&#039;s adoption, they need to make PHP5 attractive to ISPs and end-users, and focus less on application developers.&lt;/p&gt;
&lt;p&gt;Many websites use a content management system, a forum or a blog tool and these systems work with both PHP4 and PHP5. And for a long time, they&#039;ve worked better with PHP4 than with PHP5. I can only talk about Drupal, but from what I&#039;ve seen, very few Drupal users show incentive to upgrade from PHP4 to PHP5. They are pretty much ignorant to what version of PHP they use, as long Drupal works well.&lt;/p&gt;
&lt;p&gt;Isn&#039;t the Drupal team interested in using PHP5&#039;s new functionality? Sure we are. We&#039;d love nothing more than to drop PHP4 support and to use PHP5&#039;s new functions. Unfortunately, we are dependent on our users too, and these users don&#039;t care about better OOP support, SimpleXML, PDO, DOM, etc. The only things they care about are performance, stability, compatibility and security.&lt;/p&gt;
&lt;p&gt;If the PHP team would show that existing applications run &lt;em&gt;faster&lt;/em&gt; by upgrading from PHP4 to PHP5, ISPs and end-users would have a strong incentive to upgrade. However, last time I checked, &lt;a href=&quot;https://dri.es/drupal-webserver-configurations-compared&quot;&gt;PHP5 was slower than PHP4&lt;/a&gt;. For anonymous users, Drupal is 13% slower with PHP5 than with PHP4. For authenticated users, this difference is only 4%. In other words, this gives them a good reason &lt;strong&gt;not&lt;/strong&gt; to upgrade to PHP5.&lt;/p&gt;
&lt;p&gt;If the PHP team would show that PHP5 is &lt;em&gt;more stable&lt;/em&gt; than PHP4, people might start to care. Unfortunately, PHP 5.0 was rather buggy and &lt;em&gt;less compatible&lt;/em&gt; than hoped for. Even today, PHP5.x+APC feels less stable than PHP4.4+APC.&lt;/p&gt;
&lt;p&gt;Anyway, it is all about targeting the right users, and giving them a compelling reason to upgrade. Convince the ISPs and the applications&#039; users to upgrade, not only the application developers. It would help us break out of this chicken-and-egg problem.&lt;/p&gt;
&lt;p&gt;That said, the Drupal project can&#039;t just stand here and watch. Drupal&#039;s success depends on that of PHP, and PHP5&#039;s slow adoption rate is becoming annoying. So let us help the PHP project by giving Drupal users a compelling reason to upgrade to PHP5: &lt;strong&gt;With every Drupal release, let us make some of the new (non-critical) features PHP5-only, and gradually drop support for PHP4.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For example, let us start with making the &lt;em&gt;module update notification&lt;/em&gt; feature, scheduled for inclusion in Drupal 6, depend on PHP5&#039;s SimpleXML parser. It is likely to upset some of our users and developers, but by giving back to the PHP project we help serve a bigger cause. After all, we really want PHP to shine.&lt;/p&gt;
&lt;p&gt;And if projects like &lt;a href=&quot;https://wordpress.org/&quot;&gt;Wordpress&lt;/a&gt;, &lt;a href=&quot;https://www.joomla.org/&quot;&gt;Joomla!&lt;/a&gt;, &lt;a href=&quot;https://typo3.org/&quot;&gt;Typo3&lt;/a&gt;, &lt;a href=&quot;https://www.phpbb.com/&quot;&gt;phpBB&lt;/a&gt;, &lt;a href=&quot;http://galleryproject.org/&quot;&gt;Gallery&lt;/a&gt; and &lt;a href=&quot;http://www.phpmyadmin.net&quot;&gt;phpMyAdmin&lt;/a&gt; would do the same (if not already), we can help drive PHP5&#039;s adoption before it might be too late ...&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Why PHP (and not Java)?</title>
      <link>https://dri.es/why-php-and-not-java</link>
      <guid>https://dri.es/why-php-and-not-java</guid>
      <pubDate>Fri, 28 Apr 2006 05:42:32 -0400</pubDate>
      <description>&lt;p&gt;&lt;figure&gt;&lt;img src=&quot;https://dri.es/files/images/blog/php-vs-java.jpg&quot; alt=&quot;Illustration of a strong blue figure labeled &amp;amp;quot;PHP&amp;amp;quot; facing a smaller red figure labeled &amp;amp;quot;Java&amp;amp;quot; with &amp;amp;quot;vs.&quot; width=&quot;742&quot; height=&quot;417&quot; /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Almost every week or so, someone asks me: &lt;q&gt;Why PHP? Apparently, you are doing Java too. So why not Java? Do you regret the fact that you wrote Drupal in PHP?&lt;/q&gt;&lt;/p&gt;
&lt;p&gt;The answer?&lt;/p&gt;
&lt;p&gt;No, I don&#039;t regret the choice of PHP. Both languages will get the job done, but Drupal&#039;s main target audience are not conservative verticals (government, healthcare, banking).&lt;/p&gt;
&lt;p&gt;The web is built by millions of individuals, many of which are amateurs. They continuously update, tweak and rebuild their websites. Scripting languages like PHP lend themselves to that, and are widely available at affordable cost. Sun, on the other hand, failed to make Java accessible to amateurs.&lt;/p&gt;
&lt;p&gt;It would have been very difficult to get critical mass if Drupal was written in Java.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
