Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49138 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15096 invoked from network); 25 Jul 2010 09:17:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2010 09:17:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=chx1975@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chx1975@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chx1975@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:43528] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/04-13626-B210C4C4 for ; Sun, 25 Jul 2010 05:17:32 -0400 Received: by gxk25 with SMTP id 25so686071gxk.29 for ; Sun, 25 Jul 2010 02:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=wYr5pn3jXb6x2Y1s/t9wHPpEtQO+P0c8QQaTzf8Bgkc=; b=EtfMxA8xfkqDfbwh03Rx8Yoj2Z5UjCBAvFQr9S0Le2riKI7X5qo2cwOfgcBzc30+g5 cN+NG3M24P77yGCKYY3Vdk/qOKIdMQZ0A8RsU8Dpql4hfnMInLckjC2YAwAFal0tcAkq ZLDzkAY63GbmqcpJzpRci031fz3NxtaNO4mgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=dYLgelcU8rgZntDF//OCTO5Syc2ndMRtx41/knrVLlFbi94rodXgHCbAj/dgVnPIvp k1pjh9p4KkMnMWWHFc2TimHw+k8a7stQv7HmJ5q4S7x+TslTqhWcHge6Wz2dUhJVs88B OMEY/n+ucCn+sNpyGQEOL3u1Cx3GFBMoMoMkA= Received: by 10.90.73.10 with SMTP id v10mr4794187aga.94.1280049449225; Sun, 25 Jul 2010 02:17:29 -0700 (PDT) MIME-Version: 1.0 Sender: chx1975@gmail.com Received: by 10.91.154.15 with HTTP; Sun, 25 Jul 2010 02:17:09 -0700 (PDT) Date: Sun, 25 Jul 2010 02:17:09 -0700 X-Google-Sender-Auth: iOfl4pAa7GQZkUdRNOweg9hx-m4 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Please reconsider supporting PHP 5.2 From: karoly@negyesi.net (Karoly Negyesi) Hi, A mere year after releasing Version 5.3.0 (Version 5.3.0 30-June-2009) you are dropping PHP 5.2 support. This is a very interesting decision as 5.3.0, compatibility wise, is a major release. I always felt it was PHP 6.0 but it was not called so because there was a development branched called that (which was later abandoned). Serious BC breaking changes include Where previously the function would accept the by-value argument, a fatal error is now emitted. This broke Drupal 6 big time and while core has been fixed, contrib is a bit slower to adapt. Previously, it was possible to pass in simply NULL if you did not care about the by-reference argument. Also, the deprecation of ereg will affect Drupal 6 over its lifetime as the module install / enable functionality uses ereg in a way that can't be fixed: as it is not on a performance critical code path noone bothered to rewrite the truly ancient directory scanning function which takes an ereg as it's argument earlier. And we can't break APIs in a minor release so this can only change in Drupal 7 which is poised to be released in a few months. CakePHP had problems with PHP 5.3 http://i.justrealized.com/2009/08/16/cakephp-php-deprecated-error-warning/ and while I am not sure whether these problems got fixed or not, one year is not a lot of time and so anyone happening to use older CakePHP for whatever reasons is toast. Joomla had its share of problems http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=17150 but they are fixed now, yes. I can repeat what I said about forcing new versions. Then there is the date_default_timezone_set / date.timezone snafu. While as a Drupal core developer I am _so eager_ to use closures finally I can't really endorse forcing everyone to switch to another major version a mere two years after EOLing PHP4. That's fast... too fast. Kind regards Karoly Negyesi Disclaimer: this email only reflects my own personal opinion. Even if that.