Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85637 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19658 invoked from network); 1 Apr 2015 15:25:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 15:25:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=bowersbros@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bowersbros@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.51 as permitted sender) X-PHP-List-Original-Sender: bowersbros@gmail.com X-Host-Fingerprint: 74.125.82.51 mail-wg0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:36183] helo=mail-wg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/03-30489-ECD0C155 for ; Wed, 01 Apr 2015 10:25:04 -0500 Received: by wgra20 with SMTP id a20so57248922wgr.3 for ; Wed, 01 Apr 2015 08:25:00 -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 :cc:content-type; bh=4QDWNa20zdT4mGAJqKwabRvJEYUmfQ5MD4bwAkqDwSM=; b=lljoK45xo/ACYWb0igc2RYwKu/AzkHwKkpdNuTLD3kV89MoKdvMCCvb26uHtG3tB8T yCUvnfc2eQYSXRu4qFrfiRGZLtfbF+q8Ma9MGmtwxa+8UloZWzdHZZuYyVX1xWmKoNvY 0ifr4FhoGx8YNoBT4EFOeR9pYBKgCVaDAS9ZtyPciXNf0BArn0PxyiBcu8pZ+Mx95/c3 gYSZUANDbtDObsVV48lkWSpG/YF4kCiNODWVulbRpzfnQ+vfSpR8xCxSsN03WxjU73Gx bOB0h7pqKa0cVNchqeABAcbi1FsKAbgGJMeHYuh3jt2/0dGHyrjkJJtdjmo0vnvdjqEi m3ZA== MIME-Version: 1.0 X-Received: by 10.194.6.228 with SMTP id e4mr83956850wja.63.1427901900263; Wed, 01 Apr 2015 08:25:00 -0700 (PDT) Received: by 10.28.62.84 with HTTP; Wed, 1 Apr 2015 08:24:58 -0700 (PDT) Received: by 10.28.62.84 with HTTP; Wed, 1 Apr 2015 08:24:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Apr 2015 16:24:58 +0100 Message-ID: To: Nikita Popov Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b5d86ad8a190e0512ab51fb Subject: Re: [PHP-DEV] Re: [VOTE] Reclassify E_STRICT notices From: bowersbros@gmail.com (Alex Bowers) --047d7b5d86ad8a190e0512ab51fb Content-Type: text/plain; charset=UTF-8 Is the last one really a strict? Sounds like it should be a warning to me. Similar to when you for each over something not an array On 1 Apr 2015 15:58, "Nikita Popov" wrote: > 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 > --047d7b5d86ad8a190e0512ab51fb--