Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44293 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65687 invoked from network); 16 Jun 2009 07:46:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 07:46:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:34641] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/E7-18251-2DD473A4 for ; Tue, 16 Jun 2009 03:46:26 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 839A34144059; Tue, 16 Jun 2009 07:49:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id deKjDgsz3Kk0; Tue, 16 Jun 2009 09:49:04 +0200 (CEST) Received: from [192.168.80.162] (unknown [195.226.16.50]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id A2C5B4144057; Tue, 16 Jun 2009 09:49:03 +0200 (CEST) Cc: PHP Developers Mailing List Message-ID: <4E6F2E8C-633B-49E4-A82D-5399FD9F4069@pooteeweet.org> To: Greg Beaver In-Reply-To: <4A370CB2.9060602@chiaraquartet.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 16 Jun 2009 09:46:20 +0200 References: <4A370CB2.9060602@chiaraquartet.net> X-Mailer: Apple Mail (2.935.3) Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: mls@pooteeweet.org (Lukas Kahwe Smith) On 16.06.2009, at 05:08, Greg Beaver wrote: > Hi, > > in PHP_5_3 if you're using set_magic_quotes_runtime(0), it raises an > E_DEPRECATED. I thought all that argument was resolved to only throw > E_DEPRECATED for set_magic_quotes_runtime(1)? > > This is a major pain if magic_quotes are enabled and you need to turn > them off to do unserialize or serialize to a file. The purpose of E_DEPRECATED is to alert of changes in up coming major PHP versions. So if the function is removed entirely from PHP6, then the way things are is correct. If the function still exists, but simply doesn't do anything (or even raises an error) when "set_magic_quotes_runtime(1)" is called, but silently continues when "set_magic_quotes_runtime(0)" is called, then it should be changed as per Greg's request. regards, Lukas Kahwe Smith mls@pooteeweet.org