Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25537 invoked from network); 23 May 2016 00:52:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 00:52:46 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.220.179 mail-qk0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:34727] helo=mail-qk0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 63/01-14293-D5452475 for ; Sun, 22 May 2016 20:52:45 -0400 Received: by mail-qk0-f179.google.com with SMTP id y126so63181960qke.1 for ; Sun, 22 May 2016 17:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-transfer-encoding; bh=TJhdebLaqMvcnkCnFwtjbs2bxI1UOvjX0hdYcHCwSMo=; b=XZZHiYqNzD2pcBMsLFIfgIMOpfv4uduq12VqJ5z+JTFKzpHiCdhJmC33D+as56MXl3 0Gc5dBjOyRMN0jmEfky7W5u+FOswi8j/JXcPd74JMYcLhjHowQaXnc2Ro6CmqFynz3Jk WSbfy0I0krxqDt05m08ejo51hh9L0HiLjNyg9SxufaraIBTg781wmyUw+M0IaEhXJh02 nd6+Ujf6et3NAxD+gjPMj/2i6Bgf7jDs1QPuZxwmFb2jguFWHbIuWE7BGhTpBz89tl/p DQhjzGV19lFLXqpawCRd2yXDaKQhrUPS4KRGZJTS7zVMpDVoviBBnj6OkJsXprp/hD02 Qi4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-transfer-encoding; bh=TJhdebLaqMvcnkCnFwtjbs2bxI1UOvjX0hdYcHCwSMo=; b=WSCjZNJ0JLWw0XACv+rW64L1ZHrsUX5zQQoUAEj1zBdOziGB/45HfS2NOmeFJs+7fg Mt/N1XyCA9JkmdXY4L5d3tEhn35OJsYUpZtXeyeCkMAs4WAcPFVTFYKECy6RU6fCEM4m ZKGEdyK+7GbpEouavabjpff0g3D9TQvcjq4vI6PPO3xdmqQd06P24sRw87BMLm+ymMTx 8BDBdQhTjuyu1SPm6bVxjq/CPHyDoZAgWQGEoICQy8DOWG5iuP8lP29yqrhpAHNMwKoU qqIjcexWCSgvrGgrdopHBsZGTkhy3T6wB+RZ0I01eXqko101c+lh3fCMMQaMxJplx6xv lW2w== X-Gm-Message-State: AOPr4FXo1YU8ApReZBd/0yh+u9CM1TKaIe5qKnACDNKN/SH095tG07gUeaBSu4KK0f/0EiU9giKGboIUripzBQ== X-Received: by 10.55.122.134 with SMTP id v128mr14122051qkc.28.1463964762250; Sun, 22 May 2016 17:52:42 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.140.27.133 with HTTP; Sun, 22 May 2016 17:52:02 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 May 2016 09:52:02 +0900 X-Google-Sender-Auth: WL9xx7_Js1LMvPK5ZTW88SJJvOo Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] base64_decode is buggy, what to fix? From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Lauri, On Sun, May 22, 2016 at 7:56 PM, Lauri Kentt=C3=A4 = wrote: > > Suggestions? IMHO Return FALSE for any invalid input when strict mode is on. Enable strict mode by default. Keep current behavior when strict mode is off. would be the best. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net