Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:105614
Return-Path: <stevenwadejr@gmail.com>
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 61135 invoked from network); 7 May 2019 15:15:54 -0000
Received: from unknown (HELO mail-yw1-f53.google.com) (209.85.161.53)
  by pb1.pair.com with SMTP; 7 May 2019 15:15:54 -0000
Received: by mail-yw1-f53.google.com with SMTP id s5so6468902ywd.9
        for <internals@lists.php.net>; Tue, 07 May 2019 05:19:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to;
        bh=Xmv3cWZJO3q0ewy3CPAml4oEEIt/JeWZ78wNO2fTUp0=;
        b=Fk4Ww0GcuCiTFkbY6cmPiAtb7NFRXjLsgUJJbTJp0Q5AigjVnmhtiePa5WN5Nvqboh
         p3LqIMGstAT0bvroNWw3zGtGmVDyvKfrbfNDnyhzqJypMTdcOTG9DZEeMPila2qLSJgo
         +HRG3f752Xp+fwBHOivu8Lr1DcT6lHLjf0WxTTIhOC04gksoD4YF8JSRH7CoU4hzR4Q1
         bL+4zsG2h5t1aQW6D182UGhypXXvlfqqnOVtz7Cm/UF0/YJ8A3vGCyRycp/8YUOs+Jt7
         N6ELaUrUle8yaCGhprzn1071sO7PmyVNfxdm7QZDpZK94Mom5MnmEct+YnnMJ8PMtfPe
         RwEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to;
        bh=Xmv3cWZJO3q0ewy3CPAml4oEEIt/JeWZ78wNO2fTUp0=;
        b=Ug/LV/6g5XTKTStGso/OM/JDVJoO9XEmYm4/+h2fhRfRWm9uJPkhxhSIaVCPZ+EEYW
         HkelHiv9rjn8s+HURxUswv0e15x+oLd5TukaYK18K4EJ6GdWUaHJ0up33hQiknBXdfVf
         3KlqDeu3HdjIZvyIVX9WS2lt++2kaxtYeCATnlgA4AVZXjqwVi1Gj1Aagzyc+wVXPcBX
         7W2tVhFgXe27uFI1yGxKVVnDSCJ+lHbqeqyx3srIYusEWqyDKasDFVeZvh6PxXuy+SW5
         44t5+eEzZSfrNMkBYgj2nPH93axDIoJkH3lkMNX7cSPUs8MkuVQpvFz6BObr0PTGu20w
         DVaw==
X-Gm-Message-State: APjAAAV237Ltq4qsfh4oH8HXtlEhHJIi4fYKV0l5f3U77T3VWTs2DYpP
	d/CyRrmJOfxZq35pcOv/AB4=
X-Google-Smtp-Source: APXvYqyhUaqLZ+maxasQVOZoRBd2WtFDbXqhulZGifQ2QzjxfuQKOX62FbYS/EHoohHOFohiQT1FmQ==
X-Received: by 2002:a25:84c5:: with SMTP id x5mr19916080ybm.85.1557231587164;
        Tue, 07 May 2019 05:19:47 -0700 (PDT)
Received: from [192.168.86.89] (99-63-227-78.lightspeed.gnvlsc.sbcglobal.net. [99.63.227.78])
        by smtp.gmail.com with ESMTPSA id v144sm3786350ywc.37.2019.05.07.05.19.46
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 07 May 2019 05:19:46 -0700 (PDT)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
In-Reply-To: <CAOWwgpnASj3j8BXqoMAOhuHntmwOroivvNybbxxZV-GE_kaXqw@mail.gmail.com>
Date: Tue, 7 May 2019 08:19:44 -0400
Cc: Marco Pivetta <ocramius@gmail.com>,
 PHP Internals List <internals@lists.php.net>
Content-Transfer-Encoding: quoted-printable
Message-ID: <E7C478BC-DAE0-4C25-B54E-BD9852199D40@gmail.com>
References: <FB70FDD7-53AA-4DB4-B747-6E109BE52C2E@gmail.com>
 <CADyq6sJZjFQm0W+P=7C0CWp-TbiL2kUL-yJLCbZcmU0Ycc6cuQ@mail.gmail.com>
 <CAOWwgpnASj3j8BXqoMAOhuHntmwOroivvNybbxxZV-GE_kaXqw@mail.gmail.com>
To: Nicolas Grekas <nicolas.grekas@gmail.com>
X-Mailer: Apple Mail (2.3445.104.8)
Subject: Re: [PHP-DEV] Proposal for a RFC
From: stevenwadejr@gmail.com (Steven Wade)

> I want to weight in with what Marco expressed. I have the very same =
concerns and they are major ones for many use cases. Mine is VarDumper.
>=20
> Please don't do this the way it is described.


Is there a way that you'd suggest? First of all, TIL some cool things =
about "(array) $foo" and how VarDumper uses that, so thank you! =
Secondly, I believe the casting syntax is the best user experience and =
would be a good addition to the language, so is there any other way at =
all to maintain something like VarDumper's functionality without using =
the casting syntax? I'd like to find a way to not distrupt too much of =
what's out there, while also adding value to the end user.

--
Steven Wade
stevenwadejr@gmail.com