Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93643 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17809 invoked from network); 31 May 2016 00:40:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2016 00:40:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.170 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.170 mail-pf0-f170.google.com Received: from [209.85.192.170] ([209.85.192.170:35236] helo=mail-pf0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/B3-26200-67DDC475 for ; Mon, 30 May 2016 20:40:22 -0400 Received: by mail-pf0-f170.google.com with SMTP id g64so68693695pfb.2 for ; Mon, 30 May 2016 17:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Md7Vu+xEZSfxTQ8xqy7lDyBCwLwLLI7mR9jFniuNq/E=; b=U98kGS9FOxxvX2/Zd23xzBqXQiTUdoDDCA4ztbwSQO0pjrhIM4EFppsJyrs+hW/+ej 1PvEQ3DSr8kaZQc5RR23CwUmGGdahFGKGf8WWVwTWfAJOEHmtcVfbV7+5waDF8EO7rXz 4OprV3Ft7ua7xCcjecp69rW9hnXBYonr5elFUQFJCQadQgjJ6rTo7w+AFKQPk08NNIQm s8COdpUoJptIA8EXKG92QuUJSi3dgSZh2nID8FSoHksfn/CDjXsg4P42W6T8pVgzliaI W0LyWGxIczo0u+eet3pdniVckUvUm7xsZCKj7qKXeYRBL3rkHCYIkxfYq+QAhR/oNBlT K08Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Md7Vu+xEZSfxTQ8xqy7lDyBCwLwLLI7mR9jFniuNq/E=; b=IccidKmjJIVju8zMWW/pquo7T0UxNORJhNmY4+WtOFPj6dhQIJomkMV+XVP20PxmO0 XAwYotl05EYxon2yTLHTvOlZRVWSVJnnWog9lqkwCCvj89r7ew79csJxB3zncsXp+jO2 bhZggvmrQ1sV2I0JfP1ECzP7uZxMT1KQDkyFGrJA/yHE2Ff9XnlhEjT7VQa46HsefnpI oV1NnhXhlPSmtgT1f3xb2OYZRnU+DYUlb1+hjc29d2KAPFGbbVl+4FdnNvY4iUS1e7Mj 0yXCyc44abB+3AeQBs1NOYH6z5Wrt5aSfaUSVnzPjheYNel0WxPYilfxnirp0zgsb0wd CDGQ== X-Gm-Message-State: ALyK8tLJ0V/IExKBiEcjIh4hKXHlcSe0nf1EHoGEEa/o9ct3biNhpPu+WtgusqL8nMNn2w== X-Received: by 10.98.193.5 with SMTP id i5mr25427160pfg.64.1464655218968; Mon, 30 May 2016 17:40:18 -0700 (PDT) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id d24sm16853498pfb.90.2016.05.30.17.40.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 17:40:17 -0700 (PDT) To: Sammy Kaye Powers , PHP Internals References: Message-ID: Date: Mon, 30 May 2016 17:40:16 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP's handling of BOM (byte order mark) From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > BOM's should not be treated as characters and should not be sent to > the output. Is there any reason this should be considered the expected > behavior? The reason would be PHP does not know where surrounding output ends and the code starts, beyond