Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44325 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1735 invoked from network); 16 Jun 2009 19:10:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 19:10:19 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.222.204 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.222.204 mail-pz0-f204.google.com Received: from [209.85.222.204] ([209.85.222.204:42762] helo=mail-pz0-f204.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/55-31180-A1EE73A4 for ; Tue, 16 Jun 2009 15:10:18 -0400 Received: by pzk42 with SMTP id 42so3780089pzk.29 for ; Tue, 16 Jun 2009 12:10:15 -0700 (PDT) Received: by 10.114.88.1 with SMTP id l1mr13974008wab.143.1245179415560; Tue, 16 Jun 2009 12:10:15 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id k14sm1379804waf.60.2009.06.16.12.10.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 12:10:14 -0700 (PDT) Message-ID: <4A37EE13.2020906@chiaraquartet.net> Date: Tue, 16 Jun 2009 14:10:11 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Hannes Magnusson CC: Lukas Kahwe Smith , PHP Internals List References: <4A370CB2.9060602@chiaraquartet.net> <7f3ed2c30906160320m4625ae89i1b85c036ba798de0@mail.gmail.com> <4A3772DD.2010604@daevel.net> <7f3ed2c30906160333s3dda0831q5a2fed430fcfbd38@mail.gmail.com> <4A3783BA.6030008@gmail.com> <20090616140033.GA27274@panix.com> <4A37D8ED.3080308@chiaraquartet.net> <50E0C0BF-13EC-4C31-B66D-FC0F54417227@pooteeweet.org> <4A37EB7D.7010209@chiaraquartet.net> <7f3ed2c30906161205t2ff47bd7hfc9e51292fef6fb3@mail.gmail.com> In-Reply-To: <7f3ed2c30906161205t2ff47bd7hfc9e51292fef6fb3@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: greg@chiaraquartet.net (Greg Beaver) Hannes Magnusson wrote: > On Tue, Jun 16, 2009 at 20:59, Greg Beaver wrote: > >> Lukas Kahwe Smith wrote: >> >>> 1) its not about "punishing", its about alerting people that they are >>> relying on stuff that will go away >>> 2) E_DEPRECATE is for development only and only as a check you enable >>> now and then >>> 3) its off in both of the php.ini's we will ship with 5.3 >>> >> OK, then the UPGRADING guide needs a slight revision. It says: >> >> - The following ini directives will now emit an E_DEPRECATED warning >> upon startup if they are activated: >> > > Thats correct. > bjori@jessica:~$ /usr/src/php/5.3/sapi/cli/php -n -ddefine_syslog_variables=1 > PHP Warning: Directive 'define_syslog_variables' is deprecated in PHP > 5.3 and greater in Unknown on line 0 > > > However, like I warned about, the warning is thrown so early that > normal users won't ever see it. Hi, If the directive is enabled by default (not by php.ini or by -ddirective=1) there is no E_DEPRECATED at startup. try: php -n -ddisplay_startup_errors=1 -derror_reporting=E_DEPRECATED -r 'var_dump(ini_get("magic_quotes_gpc"));' Greg