Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123556 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 89C7E1A009C for <internals@lists.php.net>; Sat, 8 Jun 2024 00:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1717807220; bh=apNw//TGq/ESkMXe+CtMjzLlHdSx3vxuIWEAlNeoLAU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=EG63huhmpL6tZo6Wl5POXT4oZD1cbPC/Oc9FGr5T1M7+wrMUVhMHMM+NlL9SUkNv4 OWssduscCFZkTk+edYYRbuOUp79pny8n0/R/jjll5Z4PZShA7t6+nd6iTrkZLci/9T V+DCZihVxkPcd0rD13XPwHPj7id1iYoGS9a6HAQkyBeQOLaulo36PTFJ6AdnEnufT3 I8ldBB6aOi5i6snWiqNfns7nPSFeOpDt35ZBnFxUaozQ7kjJlJ8a5cu9ABodNqx0OJ OUAX5eSJ2OblZZXcbdQEgNN9iSg+iYPGxdc9RP/3TuNF4UDZLFoCJBydMIBVgmTEKt IRFNN59tCiOAA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A240D180555 for <internals@lists.php.net>; Sat, 8 Jun 2024 00:40:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: <john@coggenterprises.com> Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for <internals@lists.php.net>; Sat, 8 Jun 2024 00:40:19 +0000 (UTC) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6f95c2c1250so600024a34.1 for <internals@lists.php.net>; Fri, 07 Jun 2024 17:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coggenterprises-com.20230601.gappssmtp.com; s=20230601; t=1717807152; x=1718411952; darn=lists.php.net; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=apNw//TGq/ESkMXe+CtMjzLlHdSx3vxuIWEAlNeoLAU=; b=YUUQDqsHSCs4kxqKZ6KaohDBuc7fw6ci3GskVPHeQrYO9mdnyJfZCMRIsy7gsmrOzX EgaAvN6sDULugAfhlxzPWa9x2yI3u90+TOaEVZxMk/qkgQ8FO9rjGsxylq5UicQg9U8G oXqp98lyJ/NHX5WtVFfxtSBotNyEOW4SlcKxSL6Zwlh66pKJsx4BZdOYxeUeYvK+Np9V C6Jd6aoLnLPJXHzW/ZrBLZq2/QpcfSbnUhs5JnRdqx1MrNeQXhyOcMLkdfO+UqW6GUHX dWdYUG1HiySUjcJw3vItdOFUJTvWWAzuKBpZEopnR7O81AqMdHxy0EQ3c6bfhpfkWxqf yOtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717807152; x=1718411952; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=apNw//TGq/ESkMXe+CtMjzLlHdSx3vxuIWEAlNeoLAU=; b=vJsFe4JB15ZmMmUIT14b6JwSUjZjUsAdpQgM+0HtAH1RpX0jmjfGUios4jn1kPlpTl z1NdOJnhSj8ywsq4NzZJqhsNESKIgGRJ3TcHI4noZHSOXt/VXBO6WfiiKMm7DgFzPuAJ WBUgpPd+kWPNy80VDI5YGYTXoF0rccl6dYcqmTLrhIl4bTmt/WFI7QQjXjac965fvqW1 vH5QoAfRUK41q/ao+j956+ifieD8Q3qS6zGPHYc9FCzItxwsHpwddPOJC9KyWRnNg9mj ev3qMX4GzgeBBme1eZdj+mjXXQ9/cREKuValz/fd4Z9WwUcH+4ZxqHiB8hgeuVhnxjY/ j6Ow== X-Gm-Message-State: AOJu0YyDwL5WjpVv9ASv3RljxEo5aIv4wRJ7UAFrkI+mVURpBcc7Rg1G evW8TkchOK2HOHOpZxIZZqW25++c9gEHUjgeO7be34XwSt/o9x6NniWdxDct0uE= X-Google-Smtp-Source: AGHT+IESBW0z8DylfxkT8tAu65+F+OFE9uMz6p7JLoCEEdgAOyVAukBNu6dU5I/ScPAEZIBI8vf9Ng== X-Received: by 2002:a05:6830:1148:b0:6f0:e28c:afe0 with SMTP id 46e09a7af769-6f9573372bamr3907814a34.30.1717807152248; Fri, 07 Jun 2024 17:39:12 -0700 (PDT) Received: from Johns-MacBook-Pro-2.local ([98.97.21.183]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79532813bbesm216143985a.12.2024.06.07.17.39.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2024 17:39:11 -0700 (PDT) Date: Fri, 7 Jun 2024 20:39:10 -0400 To: =?utf-8?Q?Beno=C3=AEt_Condaminet?= <condaminet.benoit@gmail.com> Cc: "=?utf-8?Q?internals=40lists.php.net?=" <internals@lists.php.net> Message-ID: <534E0EB4-AC48-44A5-9AC0-B2D97151360A@getmailspring.com> In-Reply-To: <CAMuyDGP58tTGWiTN=e22x7A5DXxE7UTZ1X2No+zcf6sYUc4wmg@mail.gmail.com> References: <CAMuyDGP58tTGWiTN=e22x7A5DXxE7UTZ1X2No+zcf6sYUc4wmg@mail.gmail.com> Subject: Re: [PHP-DEV] RFC proposal : "new" keyword shorthand X-Mailer: Mailspring Precedence: bulk list-help: <mailto:internals+help@lists.php.net list-unsubscribe: <mailto:internals+unsubscribe@lists.php.net> list-post: <mailto:internals@lists.php.net> List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="6663a82e_327b23c6_ff29" From: john@coggeshall.org (John Coggeshall) --6663a82e_327b23c6_ff29 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline > So here is my proposal : > > Add a "new" shorthand, using the tilde character : "~" -10. Please, don't make PHP as unreadable as Perl. IMO It's two extra characters at worst and would be solved much more elegantly by removing the new keyword entirely. J --6663a82e_327b23c6_ff29 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <br><blockquote><div><div><div>So here is <strong>my proposal : = ;</strong></div><div><br></div><div>Add a =22new=22 shorthand, using the = tilde character : =22=7E=22</div></div></div></blockquote><div><div><br><= div>-10.</div><br><div>Please, don't make PHP as unreadable as Perl. IMO = It's two extra characters at worst and would be solved much more elegantl= y by removing the <code>new</code> keyword entirely.</div><br><div>= J</div></div></div> --6663a82e_327b23c6_ff29--