Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64115 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43974 invoked from network); 29 Nov 2012 18:51:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2012 18:51:50 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:64205] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/00-43444-5CEA7B05 for ; Thu, 29 Nov 2012 13:51:49 -0500 Received: by mail-pb0-f42.google.com with SMTP id rp2so10321319pbb.29 for ; Thu, 29 Nov 2012 10:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FBDiJL6Tn5vQ34j26ZomtjE1UFwAEu4K/hN4kIXOXQo=; b=fAwFLEhuv/0h4fDgsNOk79my/X0kjRSnR1bG2uYJtf/HIHrmWTeP2tc1uPPSeHAJZz aQYWxfaymr5cp6Pb26vipPkjSOdBpoaNYOJ9mHtsc981DNirBshKDcSLr8eZn6MnZnTD VMfR/4GHfKVJcA033GO9gvBXAfa/NeRCpstQplQIdLo85ihKcZQgMjXaUAhU6FFelwVr ZvkUw0lguNVN+dCXCDI5RY2GJ7ybZmWKpjGJ7hudds801O7iaeGlG6wE6Azdn3nQHlwj g2u4kasCJDXIJ9zqSpvJnNT9GYRTZOpwjsNbBqGrzRHvrzn/qelFtSZKZGz6ofgjy1uG i3/g== MIME-Version: 1.0 Received: by 10.68.231.41 with SMTP id td9mr70182103pbc.128.1354215106327; Thu, 29 Nov 2012 10:51:46 -0800 (PST) Received: by 10.66.235.2 with HTTP; Thu, 29 Nov 2012 10:51:46 -0800 (PST) In-Reply-To: References: <50B5D992.30609@lsces.co.uk> Date: Thu, 29 Nov 2012 19:51:46 +0100 Message-ID: To: Jan Ehrhardt Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5 From: pierre.php@gmail.com (Pierre Joye) hi Jan, On Thu, Nov 29, 2012 at 4:46 PM, Jan Ehrhardt wrote: > Kris Craig in php.internals (Wed, 28 Nov 2012 12:33:55 -0800): >>We also know that E_DEPRECATED works when other approaches do not. I would >>point you all to the famous example of Drupal 7, which would break >>completely due to a flurry of E_DEPRECATED warnings (if display_errors was >>set to on) being triggered as of 5.3 due to their continued use of >>magic_quotes_gpc and magic_quotes_runtime. When Drupal 8 was released some >>time later, the code was fixed so that it no longer used those out-dated >>functions. > > http://drupal.org/community-initiatives/drupal-core > Drupal 8 will not be released before August 2013. Maybe in the current > core the E_DEPRECATED warnings are gone, but certainly not in many of > the modules. Drupal 7 supports PDO. There is no such thing like mysqli or mysql as driver. > People are still switching to Drupal7. And Drupal7 throws the watchdog > full with E_DEPRECATED warnings when it is running onder PHP5.4. The > views module has issues with PHP 5.4, but some modules even let Drupal7 > under PHP5.4 crash completely: > http://drupal.org/node/1831402 If there is a crash, a bug at bugs.php.net should be reported. > If E_DEPRECATED stays in ext/mysql even after it has moved to PECL, the > result will be that more and more people turn E_DEPRECATED warnings off. And? Where is the problem? The idea is to have it on in dev not in prod. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org