Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82983 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87732 invoked from network); 17 Feb 2015 16:32:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2015 16:32:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:59575] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/04-19463-93D63E45 for ; Tue, 17 Feb 2015 11:32:58 -0500 Received: by mail-ob0-f170.google.com with SMTP id va2so54881289obc.1 for ; Tue, 17 Feb 2015 08:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wzBvc+C/BRm6/dOR4lX2fIrREOIV2Trmnbdwb1vSktw=; b=vWQb9Oh720hvP5tPGmP5bbXxcE8hHCrCg1yg4lvf2r1OdKwZpdvIlHVu5IIZa0UG7A bXHVorU1QkHoGxQY2Ed2PT35omga0TxDANs2Wo+FHo1oIkVLrkuMj06BHZ3vPfzHj7mg 6WxwyW7IvFfGu1BXKFjSjjAN0+gM/seHv0tWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wzBvc+C/BRm6/dOR4lX2fIrREOIV2Trmnbdwb1vSktw=; b=YojG5q0YpnJfn7relupE8gEWv1Ev4XmhsKEKEwGu8ss4xQC3eIUg4gGStXT04cnb5M O9eg4eX1NStx5t8+Ds3hPZZ5onYM+vwTey8v6dpXXOsH6ws7M1bjTbkS4nVzK3KLxfvy TY+n+xuKgJzmfeLTS7yuUWTc1gF8dtKMsTnDxsrczgjyRA9Xj4/fjWgRmBSop7WjRNPg 7xaumHm99y0rXKMuBQdZjyjp+vWF3hs7zn/GL+nENql/HW3MLnVqyd4wBF26sIn3jHPn fc0+XdnciaG2tnBkESS6N4Q9/r2dr34Nu21pFnkIa+xOYKWsMQUmPTBnKwfHfOpmpjUh 4+QQ== X-Gm-Message-State: ALoCoQmpSwW0xv9MjdWDE48ON3Jp9c1UVMZfh9Xal/srcJGrY540SlIEQVMzPfZ6JMi4TfVbp40k MIME-Version: 1.0 X-Received: by 10.202.225.130 with SMTP id y124mr18222841oig.58.1424190775145; Tue, 17 Feb 2015 08:32:55 -0800 (PST) Received: by 10.202.214.205 with HTTP; Tue, 17 Feb 2015 08:32:54 -0800 (PST) In-Reply-To: <7a5d96b34b98ec1f3ee17be7fa6a1e81@mail.gmail.com> References: <011801d04a07$83ab1c00$8b015400$@php.net> <016f01d04a3a$e9183220$bb489660$@php.net> <022801d04ab1$4a0c47d0$de24d770$@php.net> <1913e09d7f52541901d8574d2080a63f@mail.gmail.com> <7a5d96b34b98ec1f3ee17be7fa6a1e81@mail.gmail.com> Date: Tue, 17 Feb 2015 18:32:54 +0200 Message-ID: To: Zeev Suraski Cc: Anthony Ferrara , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Reviving scalar type hints From: narf@devilix.net (Andrey Andreev) Hi, On Tue, Feb 17, 2015 at 6:11 PM, Zeev Suraski wrote: >> -----Original Message----- >> From: Anthony Ferrara [mailto:ircmaxell@gmail.com] >> Sent: Tuesday, February 17, 2015 5:48 PM >> To: Zeev Suraski >> Cc: francois@php.net; Sara Golemon; PHP internals >> Subject: Re: [PHP-DEV] Reviving scalar type hints >> >> Zeev et al, >> >> Because it >> **wasn't** a compromise (neither side had to give up anything). It gave >> both >> sides exactly what they want and need while letting them work together >> transparently. > > If it gave both sides exactly what they wanted, how come it generated so > much objection? > > Simply put, because it absolutely doesn't give both sides what they wanted. > Many (most?) of those who opposed it opposed it because they believe making > zval.type as prominently available as the RFC did is bad for PHP. > Consequently, this whole 'adding both gives everyone what they want' is > simply wrong. I agree that it doesn't give everybody what they want - it only gave weak hint supporters *all* that they want. Many also objected because strict typing was only opt-in and could never affect the caller's code unless the caller explicitly declares that they want to do that. You're ignoring that and you're twisting it the other way around. Cheers, Andrey.