Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85636 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15632 invoked from network); 1 Apr 2015 14:58:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 14:58:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:38762] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/62-30489-A770C155 for ; Wed, 01 Apr 2015 09:58:03 -0500 Received: by wibgn9 with SMTP id gn9so70081068wib.1 for ; Wed, 01 Apr 2015 07:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iTxQmG2NTNhV5vmnKC04ESgxagrHumRHzu19IoKjebw=; b=qx8oYhixS+nUXOxlT1yZk+WcgYceF6gJ9BDU8XYmNZ+bfRQFMqnrSowMZyuk8ErGBV 0en5+b7yXbqiIYc0GrwZY7refT0uxSD/IQRHeZG4y0sbWWkRaXuHSzXVm9S0yKcY5oTh jtcPXmLgKaMVKFyyNxVqC7+gn97EWy9qW1y83a18QwTRJCNXgcajzXN+/frfoWgCYouR vV3HAWZRZ1FGBf1H/BV2qqo+yv75Wakb77LbwC6uAqUxcBKgz//5trlLHvCii5QDFnYk bPIo0oKvC01x07/eyAs5ZDfinUunTdbfEvnOkIvsOytGtKunmZg0SrzvQA3XVLclJ8nh lnhg== MIME-Version: 1.0 X-Received: by 10.180.10.234 with SMTP id l10mr16043128wib.27.1427900279761; Wed, 01 Apr 2015 07:57:59 -0700 (PDT) Received: by 10.27.85.216 with HTTP; Wed, 1 Apr 2015 07:57:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Apr 2015 16:57:59 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a11c2b348f3305f0512aaf0c5 Subject: Re: [VOTE] Reclassify E_STRICT notices From: nikita.ppv@gmail.com (Nikita Popov) --001a11c2b348f3305f0512aaf0c5 Content-Type: text/plain; charset=UTF-8 On Wed, Mar 25, 2015 at 5:14 PM, Nikita Popov wrote: > On Sun, Mar 15, 2015 at 4:46 PM, Nikita Popov > wrote: > >> Hi internals! >> >> To ensure we have no shortage of new RFC votes... >> >> https://wiki.php.net/rfc/reclassify_e_strict#vote >> >> Voting is open for ten days :) >> > > RFC is accepted with 28 votes in favor and 4 against. > The RFC is now implemented. However while landing the patch I noticed that I missed a number of E_STRICT notices in libraries. In particular: * mktime() without arguments throws "You should be using the time() function instead" * htmlentities() with some encodings like EUC-JP throws "Only basic entities substitution is supported for multi-byte encodings other than UTF-8; functionality is equivalent to htmlspecialchars" * mysqli::next_result() if there is no next result throws "There is no next result set" While the first one sounds like something that should be deprecated, I couldn't say what to do with the other two. Nikita --001a11c2b348f3305f0512aaf0c5--