Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54063 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78065 invoked from network); 18 Jul 2011 23:12:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2011 23:12:30 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:52435] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/B3-57459-CDDB42E4 for ; Mon, 18 Jul 2011 19:12:30 -0400 Received: by yxk8 with SMTP id 8so1668647yxk.29 for ; Mon, 18 Jul 2011 16:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=hAjL5arVuvK62l5T8EhTYeL+bSRwdq7KdCBeHvJHBDQ=; b=sfghRECht59scYQBN7+xs8zzOs+gHqnH/hpODHbJym2z3DQ9O5JfvPedRb6iB/X0CT 32GHKfxvUBHrm2gDZdpYmR79vkEoIARqFUwmF47BOXr+c9NzhWQ8/I8//Y4GQ3OxqIkj l45S9cJKEwOgrSDQw2Tw0Oi0PhtYpXa353xvw= MIME-Version: 1.0 Received: by 10.151.112.16 with SMTP id p16mr5935439ybm.252.1311030745697; Mon, 18 Jul 2011 16:12:25 -0700 (PDT) Received: by 10.147.38.17 with HTTP; Mon, 18 Jul 2011 16:12:25 -0700 (PDT) In-Reply-To: <4E24BD03.9040108@thelounge.net> References: <20110718143939.GB23368@panix.com> <4E24B7AA.20309@gmail.com> <4E24BD03.9040108@thelounge.net> Date: Tue, 19 Jul 2011 01:12:25 +0200 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Magic Quotes in PHP, the Finalle From: tyra3l@gmail.com (Ferenc Kovacs) On Tue, Jul 19, 2011 at 1:08 AM, Reindl Harald wro= te: > > > Am 19.07.2011 00:46, schrieb =C3=81ngel Gonz=C3=A1lez: >> Derick Rethans wrote: >>> "Raise E_DEPRECATED when running the CGI or any web server SAPI and a >>> php.ini file does not contain =E2=80=9Cmagic_quotes_gpc =3D Off=E2=80= =9D." >>> >>> and >>> >>> "Raise E_ERROR when running the CGI or any web server SAPI and a php.in= i >>> file does not contain =E2=80=9Cmagic_quotes_gpc =3D Off=E2=80=9D." >>> >>> Doesn't that mean that anybody not running a php.ini file will just >>> always get this warning/error? I wouldn't want that as a php.ini file >>> should be optional. >>> >>> cheers, >>> Derick >> That's also a big concern for me. PHP should not fail if one configurati= on line >> is missing from the file. > > since this is default OFF there is no warning if not configured > empty php.ini implicits =3D Off > > sadly no: tyrael@thor:~/checkouts$ php -n -r 'echo PHP_VERSION."\n";echo ini_get("magic_quotes_gpc")."\n";' 5.3.6-6~dotdeb.1 1 tyrael@chronos:~/checkouts/php/src/php/php-src/branches/PHP_5_4$ ./sapi/cli/php -n -r 'echo PHP_VERSION."\n";echo ini_get("magic_quotes_gpc")."\n";' 5.4.0alpha2-dev 1 --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu