Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125000 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 DC9671A00BD for ; Fri, 16 Aug 2024 22:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723845800; bh=7J3B3LKs0YsdiwgqehKY1Ko6JhrumJMtJjwPQqy5HdQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cIk6gF3SjaahcW7V1SW0gTTj4mRL6NRwAQorl2mQD/0EXwB4e8+80BzbJgL6HWmJB kRkVKdgGcxih/73E4fCPBYfq/XjiwQZbmOkE+5PtubfAs1Mytosj5ymQ5s2AtCISn6 Ug8ut0NIVlJYL2Nz16ykxrmlpv5NE2+CVaaiY96b4aanJBcc+AdApX/hY+MvY+Csd1 yTaBVi+mI1VvzgFNZGouxndCXYElsMoIzaL91neMBcJ6YXbqCaLNcd5bQeYQ2+QFUB iX6plpMus1Tj2iCL6Ztc7Y7ygwdcqWtavD0pitIjANbVxhnK2/fhIQSKxM9GU48K+2 Pog5ilNUw175Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E81AE180340 for ; Fri, 16 Aug 2024 22:03: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=0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 ; Fri, 16 Aug 2024 22:03:19 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-429da8b5feaso24631555e9.2 for ; Fri, 16 Aug 2024 15:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scriptfusion-com.20230601.gappssmtp.com; s=20230601; t=1723845691; x=1724450491; darn=lists.php.net; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=IYD4OvzS1ZydcwhTyw3Rv0JG+ow3BX2H8rBdsZ5J7ws=; b=wheKkHa1GFp3+O0Zv3wCwC6ON64TWBOwUHyYRXD0I2s9S+KyBXyU/b00ZKE59K6yh2 6O4BJaBuhs2T2V0Ms9sEsKgdT4v7uhrwP6vvLyg5z/O2LvJ4AL1w/RC8xPDA+zku7yPN vnj9PARK7Itw+3W9CONEIGcFCb6yPP6me3WKuwQN1nX+8d8eWhWPfrqAqhYbwgx1HMEB IXwVixKsVHkcRF+jranCDtBEjNTvpsbT6iNLG/sJCPp657Ah52opE3MtsXWERP3D0+/C cZHODVSwKT9LtDSNkQLJ/4OSnpLRF8sUxg7cPczPnHvYOoOLTDst28yOlXSUCUn+zKYE PE1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723845691; x=1724450491; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=IYD4OvzS1ZydcwhTyw3Rv0JG+ow3BX2H8rBdsZ5J7ws=; b=UcGOIl0q8IfeI0RuQNzPkKE9mJvVRsAi8pJpyWAX34+HOTR36MxItXxLrMixVPPk3D pkhlRCgGko3jxzWUU3JRZajs6L1gxuOBfZ5Dr3zxFeg5jJEu/L/rhh8v9TxziAiGz/AD yO8Xvtrnn7JhyyyCCkvn07Mq58WxNjEbzO9KudDatbL29Z2pPpbOdHmJULZTScpLggj1 JfiOuLVNxfCZ+MAVwERwl30o4NCowP0iY3HjF3c1YBsV1OysFQgki+raX0xn6taduEaI 9VKc3nZRbFkatUpihFnClvlvUF9GkKmt8EcxrIPmW3LdXF6aBrnG74YHi7ewFhP43iZ0 ZB2w== X-Forwarded-Encrypted: i=1; AJvYcCVchw3Gx9Yi1JOiqdRkclC9Ib54rhOH1ia0bIAYEzYwRhc3xVjp39YTd83GXuQoR738oNSANnqu4uoTxzdXtZktsaol+0y1GA== X-Gm-Message-State: AOJu0YzvPbjourPa3y5u+oRLV02zueZcuBnPYJ5js7KQef3+HDirmYEx yclcMX034pFgnvHTXu5jOd5vvQwfg3axnEzeBb3Mh6CYFPZ+OxmqmchxXXdZcAxNFPfLT4NKC1q TC/k= X-Google-Smtp-Source: AGHT+IEiAw6DYznGiooNLRveb/rkXQ3e3PaklJ+LE4EzhSrnuz5rhneyei9zSfDMk108MIvOoN2RBw== X-Received: by 2002:a05:600c:5101:b0:428:29e:8c42 with SMTP id 5b1f17b1804b1-429ed79464dmr39616245e9.9.1723845690665; Fri, 16 Aug 2024 15:01:30 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bf09:5101:1441:9f04:9e5b:d7cb? ([2a01:4b00:bf09:5101:1441:9f04:9e5b:d7cb]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-429ed7847d7sm32884965e9.31.2024.08.16.15.01.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Aug 2024 15:01:30 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------KofOPqEBhf3SlBhG8RPinlMh" Message-ID: Date: Fri, 16 Aug 2024 23:01:29 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] String enums & __toString() To: "Gina P. Banyard" Cc: John Coggeshall , PHP internals References: <501db7d2-55e1-4b20-bb6e-1e079aa4939b@scriptfusion.com> <59BED9FD-EB77-4B44-9F93-7FC573EC7F14@getmailspring.com> Content-Language: en-GB In-Reply-To: From: bilge@scriptfusion.com (Bilge) This is a multi-part message in MIME format. --------------KofOPqEBhf3SlBhG8RPinlMh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/08/2024 22:51, Gina P. Banyard wrote: > On Friday, 16 August 2024 at 22:01, Bilge wrote: >> >> >> On Fri, 16 Aug 2024, 20:57 John Coggeshall, wrote: >> >> >> I'm not seeing an obvious upside to forbidding straight out >> |__toString()| >> >> >> I tend to agree, but Crell will drive by in a minute to drop some >> philosophical nonsense about why we're all wrong :^) > > If you could avoid disrespecting a contributor to the project, this > would be appreciated. To be clear, I have nothing but love and respect for Larry. Cheers, Bilge --------------KofOPqEBhf3SlBhG8RPinlMh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 16/08/2024 22:51, Gina P. Banyard wrote:
On Friday, 16 August 2024 at 22:01, Bilge <bilge@scriptfusion.com> wrote:


On Fri, 16 Aug 2024, 20:57 John Coggeshall, <john@coggeshall.org> wrote:

I'm not seeing an obvious upside to forbidding straight out __toString()

I tend to agree, but Crell will drive by in a minute to drop some philosophical nonsense about why we're all wrong :^)

If you could avoid disrespecting a contributor to the project, this would be appreciated.

To be clear, I have nothing but love and respect for Larry.

Cheers,
Bilge

--------------KofOPqEBhf3SlBhG8RPinlMh--