Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101424 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31175 invoked from network); 26 Dec 2017 18:18:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2017 18:18:21 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.26 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.26 out2-smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:43777] helo=out2-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/45-58518-B62924A5 for ; Tue, 26 Dec 2017 13:18:20 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id AE6EA20D60 for ; Tue, 26 Dec 2017 13:18:16 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 26 Dec 2017 13:18:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bcCG/Sb2/IatH58ievN9r+yco9oZs Er8QB6sLAdtYgI=; b=GAEoHzPf/y4sDg7XF9mOgos4GFP+73bK2b58mvVwOZpaE 8VYj4AwcOszdAMBdGzdw3cJJERYb0Q1APmw/8/K5IhG6+kj5IZYghOrRYzUnQQMC gVkdF5h8WooIPI07H3exrItZoHk1+vPL/fo5Crl8r/6i2Vm50k/e+jtPlmlH0C71 vvPk9qPBZnswhbjzuDyQmJlomgJqjP+0sgy33lGUTFqqvtpVPaD2bt8D+JMQxbkJ z+0ROGdWw1XnRhjtvitKXH6ecJFsjcP3DKGkXmkkPzs8pna2XZzZOl06JtgwSJjd Pb5qrLDt1rPcroVCekPNoEdmjhhOZXb6a8xRRI4tw== X-ME-Sender: Received: from vulcan.localnet (216-80-30-152.s3222.c3-0.frg-ubr1.chi-frg.il.cable.rcncustomer.com [216.80.30.152]) by mail.messagingengine.com (Postfix) with ESMTPA id 664722442C for ; Tue, 26 Dec 2017 13:18:16 -0500 (EST) To: internals@lists.php.net Date: Tue, 26 Dec 2017 12:18:12 -0600 Message-ID: <2241495.C7RNBcXJNU@vulcan> In-Reply-To: <6894aa94-0400-7a9a-f00c-47f1f556a4d0@php.net> References: <72392123-d37b-26df-6886-218f48205f8a@fleshgrinder.com> <6894aa94-0400-7a9a-f00c-47f1f556a4d0@php.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1639799.aAv6W82lTL"; micalg="pgp-sha256"; protocol="application/pgp-signature" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Scalar Pseudo-type From: larry@garfieldtech.com (Larry Garfield) --nextPart1639799.aAv6W82lTL Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, December 26, 2017 9:56:21 AM CST Sebastian Bergmann wrote: > Am 26.12.2017 um 16:46 schrieb lists@rhsoft.net: > > would you mind to explain this? > > "Foo|Bar", "array|string", etc. (still) make no sense to me. > > "scalar" makes sense to me although it is but an alias for > "bool|float|int|string". If I may, I think the argument has always been that 1) Foo & Bar makes total sense 2) int|float makes total sense 3) int & string is illogical so wouldn't matter anyway 4) Foo|Bar rarely makes sense but may sometimes, and its legality is an acceptable trade-off to get the first two. In previous discussions it always seemed that people fixated on case 4 and ignored the usefulness of cases 1 and 2. --Larry Garfield --nextPart1639799.aAv6W82lTL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEcBAABCAAGBQJaQpJkAAoJEODDCsAxcWF3QIIH/1Z19YVlTWv9JD++mRRx86VX iGbmcWm5X+xDqLIPRn+9su0fnLgFBKuDryTb4XphYtP1V7oJ/T3ujgk196nKvUaj o7hIwfX2Y5V5K7hMkMeyVcIELNlfnpd57RfbKWXD64D9VTrfko3d9nC0iPjUajLy eApUbyZebFk/3plvYvvG9Iqd3CxlRdmGpYzzzT6LeBlsyCcWsJeVGuC4dinhUA+c wb1gDYODcjOt3xLGfDFn/Bah2rjXBh5SCFzstCZgayXMvag4su/15QotgLq3cBHo b7qC0qE+hmsR6cERxiWCUOsWqjphlzA+k4b3+BKAWmA9SwKZlQxZG559gIKpAKA= =Cnht -----END PGP SIGNATURE----- --nextPart1639799.aAv6W82lTL--