Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83941 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22037 invoked from network); 27 Feb 2015 00:32:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2015 00:32:06 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.173 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.173 mail-qc0-f173.google.com Received: from [209.85.216.173] ([209.85.216.173:44310] helo=mail-qc0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/07-32582-50BBFE45 for ; Thu, 26 Feb 2015 19:32:06 -0500 Received: by qcvs11 with SMTP id s11so11566110qcv.11 for ; Thu, 26 Feb 2015 16:32:02 -0800 (PST) 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=qbEio6urYXvWqCpcLLqa8ssFsChQUxZOWR5EE4WppAQ=; b=rRReD5xzFwcOH43LnbwfxUU9yJaHWC+eHyQCDbytMvxGdirETaszOF6SsC1OF3XVIg 5CbFTssGI2wCGcL43YF90ecmg1M/qMuXk+/GuTec/nt8kAUMSSFLFzhdBhALoxvRieIv gXXGl9mrkPAC9jkHhNy9RcWeMR0QFmsB1dvUcDDItdhOZkl24OQEtuM/9V+fIZYtWEbR REsfowevk2/7lYGWunuZb5nxaoU/MMFqBHuHorvhAWK4Q9Ex06vqIZbN/aHKETjP4fm/ vVn62/pMuGc7ohZejMy10J5SWOh2W2zrsGqV2d0ekP8p4/rtE8Q+rh+rRYna7phrPHbc ZRAg== MIME-Version: 1.0 X-Received: by 10.140.147.66 with SMTP id 63mr23335652qht.35.1424997122892; Thu, 26 Feb 2015 16:32:02 -0800 (PST) Received: by 10.96.39.195 with HTTP; Thu, 26 Feb 2015 16:32:02 -0800 (PST) In-Reply-To: References: Date: Thu, 26 Feb 2015 16:32:02 -0800 Message-ID: To: Zeev Suraski Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Coercive STH - some real world tests and updated RFC From: pierre.php@gmail.com (Pierre Joye) On Thu, Feb 26, 2015 at 3:57 PM, Zeev Suraski wrote: > Drupal homepage: One new E_DEPRECATED warning, which seems to catch a > real bug, or at least faulty looking code: > $path = trim($path, '/'); // raises E_DEPRECATED, as $path is boolean > false. > return $path; So far nobody answered this question but Francois (tried). You keep using this E_DEPRECATED message as a safety net to catch possible bad things. What's about other changes that may not match the current casting rules (or lack of) and will be different with this RFC? Those considered as "Yes". This is what I worry about, even if minimal these cases are pains to track down and fix. Also I would really like a clear table describing in details what will be changed, to compare how it works now and how it work later. This is something that is crystal clear with the dual mode RFC, nothing changes by defaullt, and strict rules if strict mode is enabled for a file. As you would expect, I will vote no as it is proposed now.