Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130000 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 lists.php.net (Postfix) with ESMTPS id 5A0BF1A00BC for ; Wed, 4 Feb 2026 01:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1770170272; bh=sNKVZukal7Li3l8rTc/UUdHGrJu8CTNrPyvLQxdUbto=; h=From:Subject:Date:References:To:In-Reply-To:From; b=CnuklocbxPO7f9SYoFJ86f4YB9MfOwAevU+HaNoetIK2wH0MxV4RUA5PZiJDnW+ux ysldy2cQx7vT1iSY58hoqhQTuv/xDD+OaO3VmWvVekekx7P1LpQCIS42d/mP21Q4VC HUFdzRSPNo0sUTKk8d6VubsSjk8hOIoBrnlpYQr6MxlUSMQk/n4Pu8I9QQX6bXJnrl ZysGZql3vpk/cz11Z6dMOh+VJ/yrnBUfq8uojpHWttGFADcjNJEWsI/3hLCl0TW9yc QkZlGqoz3hw5qbtuZIlPjGdI0IPusye2il6ljphq18dm1rjzz+SHkj8AZI+S+k/yCA Rg+m0+slhQt6Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E8D7B1801D7 for ; Wed, 4 Feb 2026 01:57:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,DMARC_NONE, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 ; Wed, 4 Feb 2026 01:57:51 +0000 (UTC) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-794d4c34bd3so31636187b3.3 for ; Tue, 03 Feb 2026 17:57:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770170266; x=1770775066; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZzCcEiZxT0vCP/KRqtDqPo/jURZXHiCgtJ6d59C2its=; b=QLlzzuCMsauxZkc5FEFBVUjk4WJpqQUwo+b9tY9tr3qfriRPR7yk1xH1AiCFoVgTwy ONjnwu/4GkF17fuL614UUYRdEZmyHoqqQ3XqdhJ3khL+KKLecFnvimKc1GXSTcekv+EI LOd5GHIWTOfSIulC+JHKRB6NsVeTdU3C5PcDI6y0I76WI9nuuWTWR5hMSvKfyUYP0gHA YhccQVvZ/D4q/naTgoHLOKyc4nkLNJ9gczOqDkBD8nTaqDKQDsYgHfFT53xBgVaf+E4k dygEmIFkz5u6T/QawMYYzDfjL5cai0iuoVlJVlvhOIJAI3OF5yoWoN0vI4lI9IgBTnfX ClKA== X-Forwarded-Encrypted: i=1; AJvYcCVuUcsjLuCtjjov37O7xETvTdSLhjBDSDBViuUE+77Fvtoas2HdwU3xaCQ7rsYTQV4RzysPj9pExM4=@lists.php.net X-Gm-Message-State: AOJu0Yy9iGF3XseXwgdbRRZWSA673ml4yGtzbkzieBaOavy/ngbw46Ug GXOoLea00O4TNtum2wTpVzbcuQ4x1eneQm2LJHgWjjPF682MPHBod4eaVgpFV309NDzSruFmHb2 lZubDVA== X-Gm-Gg: AZuq6aKpJn5fd8Ypm4CsnKRNgvmld+JAkDBOC2Z2Kz6yzvgHwGhKTjFdWbQDlTgXixf ytQ6+g8VW8kaC4Aj6hVyu4aO8yPm7qX44tnLWknEeVM1yp+eqH6i2ZFIKbuXOFbEOs7eViVxV84 RKy7Ey7ODCKisxA3cjLYUtp00h2avNwhaYd7kQqM3wTiYILhiybbybD9Jk13TPnRk1bMO/F5V7r 8iaWIg4MIs/5T4F4Lxw8vN0Km1UB0fGNyYGXSPus0SRb2Bxm5btlOA1n9UuZqifkpD7k1cYqbWb DGNm/MuerUiC1+mGMBiBJxg9+NaKV7wADTfzYELosP9EdOPKJArCnimrsnC4SRNyQsYdZqT55/R yGyzaNrrSiKBsPhuMTuVpqwc8Is3oHpSe1QTnyTcPwRAC4P/AQrlmyq4k/oKPL/+UUPsB99E63D TJDrNYg2jug/HHVC43yHMXrxpgbtU02+MBXG9BVTh+gLWF92t6vetvdWlA8URBeswAHTS0urbhx kcggtg= X-Received: by 2002:a05:690c:26c6:b0:794:c810:6c49 with SMTP id 00721157ae682-794fe83c85emr23577787b3.66.1770170265704; Tue, 03 Feb 2026 17:57:45 -0800 (PST) Received: from smtpclient.apple (h96-61-170-179.lvrgtn.broadband.dynamic.tds.net. [96.61.170.179]) by smtp.gmail.com with ESMTPSA id 00721157ae682-794fefa2abbsm10183187b3.26.2026.02.03.17.57.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Feb 2026 17:57:45 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_F085F138-6CF7-4E04-BA2C-8FB5705B1F1C"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PHP-DEV] [RFC] Trailing Boolean Operators Date: Tue, 3 Feb 2026 19:57:34 -0600 References: <20260204011317.E86B61A00BD@lists.php.net> To: Len Woodward , php internals In-Reply-To: Message-ID: X-Mailer: Apple Mail (2.3864.300.41.1.7) From: ramsey@php.net (Ben Ramsey) --Apple-Mail=_F085F138-6CF7-4E04-BA2C-8FB5705B1F1C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This message went directly to me instead of the list, so I=E2=80=99ve = added the list back to my reply. > On Feb 3, 2026, at 19:35, Len Woodward wrote: >=20 > I had originally written this RFC in markdown, and when I had claude = migrate it for the wiki it discarded a whole section I had in there = about simply using leading operators instead. I've added that back in = and tagged a minor change. Pro-tip: pandoc can do Markdown-to-Dokuwiki conversion in a = deterministic way, so you don=E2=80=99t have to worry about LLMs = generating slop. pandoc -f markdown -t dokuwiki my-doc.md https://pandoc.org/=20 > The gist of the argument against simply using leading operators = instead is that it doesn't solve the problem -- It just moves it. = There's always going to be a special reordering case. I see this as a feature and not a bug. Boolean operators control program = flow. Whenever you add a new condition, you should have to think about = reordering (because you might really need to reorder the conditions), or = you should consider splitting up the logic so that it is more = maintainable. > ps. When replying to the thread, I know I'm supposed to respond = underneath the previous content, but am I supposed to keep the entire = history, or just the previous message? I'm rereading the policies and = the rfc:howto, and I can't find that section. Yes, you may truncate the original message and weave your reply between = quotes, as I=E2=80=99ve done in this reply. Cheers, Ben --Apple-Mail=_F085F138-6CF7-4E04-BA2C-8FB5705B1F1C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCaYKnjgAKCRCwLZeYnIwH GyxbAP9/+m1CiICS9jSZ0GzY5IQiixpo2eiQlYS8vZi87NwKLwD/Wv0sd+5Tbkqv TdjgPa/w3ECIFTMGTQtK6e/XQUbzeHo= =lCh1 -----END PGP SIGNATURE----- --Apple-Mail=_F085F138-6CF7-4E04-BA2C-8FB5705B1F1C--