Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83599 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18396 invoked from network); 23 Feb 2015 18:51:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Feb 2015 18:51:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.43 mail-qa0-f43.google.com Received: from [209.85.216.43] ([209.85.216.43:64941] helo=mail-qa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/EA-01128-DC67BE45 for ; Mon, 23 Feb 2015 13:51:57 -0500 Received: by mail-qa0-f43.google.com with SMTP id bm13so23601158qab.2 for ; Mon, 23 Feb 2015 10:51:54 -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=5mdOJ26AjtVIP351JxZ1iFYMQbZkpWY/1GvH2uM/w6g=; b=YPpbDJuXed2kZqOYP9SK/8NfIaaEW9kaLjmUTtW6L/EgjKCcC3BakCq/wmSvwIhBDN VoO+e62S2Qu4dCnC2DYYEgMm1XJx5ZrWuWJewpcnsBVj3AH801vAcQN/PSCgJfjorss/ WrFjisewPGlWx8QcFhnWD9yUc74QpEoWIIy8ky3pdaTLZcQN4IRZdE40lpekokzxkD6+ iomldqtu+ILsZ4v8kqXd/4GrKhdJxdgSeeN5RnMLKamFci25rq7bAx1ftsmEG9whFVNq Y4oPR9aRVk2BKwyGrkR2+eWykhUAdZJC0cP9R85ZHyK7LuBQCifFfNVS7Cbbi7iLn0xd /aww== MIME-Version: 1.0 X-Received: by 10.140.147.66 with SMTP id 63mr898873qht.35.1424717513922; Mon, 23 Feb 2015 10:51:53 -0800 (PST) Received: by 10.96.39.195 with HTTP; Mon, 23 Feb 2015 10:51:53 -0800 (PST) Received: by 10.96.39.195 with HTTP; Mon, 23 Feb 2015 10:51:53 -0800 (PST) In-Reply-To: <2dcfd9f4a3f0f9bbf2a13f679359e6ea@mail.gmail.com> References: <7ef509ef10bb345c792f9d259c7a3fbb@mail.gmail.com> <9aec85c81b49009c6238ff6d8be27cd4@mail.gmail.com> <2dcfd9f4a3f0f9bbf2a13f679359e6ea@mail.gmail.com> Date: Mon, 23 Feb 2015 10:51:53 -0800 Message-ID: To: Zeev Suraski Cc: PHP internals , Benjamin Eberlei Content-Type: multipart/alternative; boundary=001a1135547e529d9a050fc5e5c3 Subject: RE: [PHP-DEV] Coercive Scalar Type Hints RFC From: pierre.php@gmail.com (Pierre Joye) --001a1135547e529d9a050fc5e5c3 Content-Type: text/plain; charset=UTF-8 On Feb 23, 2015 10:09 AM, "Zeev Suraski" wrote: > > I agree if we can avoid an INI setting, but this will surely lead to a > > Python 2/3 > > situation. > > I don't think it will. But instead of guessing, we should try the patch > with some real world apps and find out. I think that if we find out we can > migrate Drupal (or whatever) in a couple of days or even a couple of weeks > to be E_DEPRECATED free - this approach is very viable. If it requires > months and months of updates, it'll be a different story. I have to disagree with this point. Changing the casting rule is not something that can be easily "fixed". It is why i like the dual mode choices. There is nothing to port (except the few things we had to break already), unless one app explicitly wants to move to strict internally, partially or totally (don't see why one would do that). Cheers, Pierre --001a1135547e529d9a050fc5e5c3--