Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44426 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93394 invoked from network); 23 Jun 2009 02:36:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 02:36:59 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.153 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 72.14.220.153 fg-out-1718.google.com Received: from [72.14.220.153] ([72.14.220.153:37360] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/FA-36467-9CF304A4 for ; Mon, 22 Jun 2009 22:36:58 -0400 Received: by fg-out-1718.google.com with SMTP id 22so686874fge.0 for ; Mon, 22 Jun 2009 19:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Cr8l/QW4LLk9qSk0IuyPoVhTqbUCsUZhDdlvrxicCic=; b=bHFIjEC+drIDEGITksDkRfXgbJZRtrQAFL3l9RpYVVhcWAUoqpSs+pczzTqon04pad yuIV6gh9QVkbkvMys34+qXzPeezU2MrzLmO5ozzy/W5/3kYazM1aue2U6jel33c0smN/ ywMyQWEB/KCzNZVG+gCKE9bl7r+NK41Pik9Nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=aI7K0bL7NKKasSOcuqPWOMkM1v9MshCh+sCCnXpzNVXn1ceyn4vZqw20Sq7d5a7xh4 FU+X5RZo2uRynhBLdkZS1pUdlwoV93J55QFrJ72J737zVaMQIzEKN6ImOCi9FrxLAr1g 5jcLZQu1mT3gWhYQaS2DVZFP+ZeSGsW8Uw7Dw= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.223.104.19 with SMTP id m19mr6904105fao.58.1245724614934; Mon, 22 Jun 2009 19:36:54 -0700 (PDT) In-Reply-To: <7.0.1.0.2.20090616210350.0e9ced18@zend.com> References: <4A370CB2.9060602@chiaraquartet.net> <4E6F2E8C-633B-49E4-A82D-5399FD9F4069@pooteeweet.org> <7f3ed2c30906160320m4625ae89i1b85c036ba798de0@mail.gmail.com> <4A3772DD.2010604@daevel.net> <7f3ed2c30906160333s3dda0831q5a2fed430fcfbd38@mail.gmail.com> <4A3783BA.6030008@gmail.com> <20090616140033.GA27274@panix.com> <7.0.1.0.2.20090616210350.0e9ced18@zend.com> Date: Tue, 23 Jun 2009 04:36:54 +0200 X-Google-Sender-Auth: 0e76155fd0f13690 Message-ID: <2dedb8a0906221936g6b56d7bar1ebf19b4a6854c0@mail.gmail.com> To: Zeev Suraski Cc: Daniel Convissor , PHP Internals List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: kalle@php.net (Kalle Sommer Nielsen) Hi 2009/6/16 Zeev Suraski : > At 17:00 16/06/2009, Daniel Convissor wrote: >> >> Folks: >> >> > I propose the following behavior: "Throw a deprecated warning unless >> > magic quotes are currently enabled and the >> > parameter is to disable them". >> >> The function is going away. =A0A deprecated warning is necessary to aler= t >> people of this fact, no matter how the function is used. > > Why not keep this function then? =A0We can remove the implementation, for= now > - emit E_DEPRECATED in case of true and nothing in case of false; =A0For = 6 - > emit an error for true and nothing for false. =A0It just looks compatibil= ity > breakage for no good reason. Late timing, but if we want this behaviour then I've written a patch available at: http://pastie.org/521077 Removes the deprecation warnings from magic_quotes_runtime()/set_magic_quotes_runtime(), and only emits one if: magic_quotes_runtime(true); > > Zeev > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 regrads, Kalle Sommer Nielsen kalle@php.net