Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122273 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 9107 invoked from network); 2 Feb 2024 08:16:23 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Feb 2024 08:16:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1706861832; bh=YT7tJjzBB1jUasMzB91xcrGNBWCnF9Rz4SvUq7nEk5Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PssVqyGWVzsRrXuePO1af6ILj/JMzQzx+RFg1yK21tjjSU3vy7TGkb7LSJdBiLFEF 6dKNOLos/b2At3w0gIYaijfpsSC7x9sgFoa03U2maZIqOSlqC8fhRixkEwqfjIyVUt 1YfQc/RV0NvTJbVOkB06yMGtYSQBbGXqEqKXWi+RreoDF/pV6pxQFggR9xb9kYcGfz eYBNdUyoZ6wMkMNwvzmCMTCuqKxSbzjeU6UCxSFHlSfJwXu0YEaYlQuwS1sQDnOIpt 3WcdlGYmcJi2wrXG9DwsyN2gMd7eY7KJeUjKDuIwxy1/NtIxtu6u8H/Lhy/pI7vzdK CGdL0f2JZnFvA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5C6C9180066 for ; Fri, 2 Feb 2024 00:17:11 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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, 2 Feb 2024 00:17:10 -0800 (PST) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a350bfcc621so218627366b.0 for ; Fri, 02 Feb 2024 00:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706861780; x=1707466580; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YT7tJjzBB1jUasMzB91xcrGNBWCnF9Rz4SvUq7nEk5Y=; b=MjaCL4xc1J/0vYEtL4uL7hnDr5DHc1NM6918RaPS0axa5Gm2coSXKr2GBlDadvQ4ST SBPOL+fYxXN8bhaNlRJqYemPGUE8vgxv1mour9Do5h9Ti4RszrAI7qB5BpDHiqPirkdt L4KZjfXPH10uLYzU25JGvdLaznBvzT2zJLks0LPnPIsS3tU502Tpgz5/EyTWZEdhifHi YAZITA+nHRvbRxdBnuIuKkBop7twQDsjPxs7Rxw/Tpbs6xM/lkCHltjAEPMYs5Jw6+7o zAilQB+CT5Jw8Imh6wwmRLSRFhEUILmsxKo37tFXKEqFtherXTXKsM2X8bqULnytxwBH E7VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706861780; x=1707466580; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YT7tJjzBB1jUasMzB91xcrGNBWCnF9Rz4SvUq7nEk5Y=; b=GGUnGvlI1LdnypvTSm5+twuF9doE1butb7v0LvWTwTW+FhYxr2kvBzhaMA7gUWBA4v uAQEFrZLXKcoBKka0e+BhZH9CEf70KDN8gXMLhYjQcPLCnr1bch0R3hxgOZMTQw/v2Md 3y1rCqAev1c4emKlisJcw5hlVnxotUxEI1DddfUjEp+7BQF47DRxsIk+xtnsK5Tmu96T PHZkygRraSFw31LgpnqYpTyjwRNWUrDwBE22qsRZEX7rMIt5Jsiz4LzwKk7VT8FPtsyR JqcVoB8OuUHjySJDM5sbiZEssXsJYF5r6mslh9cgU7CD1cLCXx45DNsDeUe+lPDI5nur 7Rzw== X-Gm-Message-State: AOJu0YwyTkz4IAQTy3HIXKXP57zHWNypCMAAvBOEoH03HLkZ8Uidnrsz oPFaKXe3fFFWsLlRb2H4Mu1Pcq8+F8/wx03l4Nal/CQ0CzmOrPMEVJHB8maP1VfLAiAWSb/1cre ebYNffFWMNToKcMJfvvZolxsq3K5s2dBIydE= X-Google-Smtp-Source: AGHT+IHqKZQxsF0oPGXug9mDzM8gFuHaGR9OS/Dkslp5UnbiLvO1KlVVwqNf8E70yhKbI+xiZE30/ztmbxl22aoOSeY= X-Received: by 2002:a17:906:680a:b0:a35:b827:e5f7 with SMTP id k10-20020a170906680a00b00a35b827e5f7mr903650ejr.50.1706861779395; Fri, 02 Feb 2024 00:16:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 2 Feb 2024 09:15:53 +0100 Message-ID: To: youkidearitai Cc: php internals Content-Type: multipart/alternative; boundary="0000000000000aaa73061061ba76" Subject: Re: [PHP-DEV][VOTE][RFC] mb_ucfirst and mb_lcfirst functions From: kjarli@gmail.com (Lynn) --0000000000000aaa73061061ba76 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 2, 2024 at 2:00=E2=80=AFAM youkidearitai wrote: > Hi, Internals > > I have just opened the voting "Multibyte ucfirst and lcfirst functions" > RFC. > https://wiki.php.net/rfc/mb_ucfirst > > Voting will be open until February 26th, 2024 at 01:00 UTC. > > Cheers > Yuya > > -- > --------------------------- > Yuya Hamada (tekimen) > - https://tekitoh-memdhoi.info > - https://github.com/youkidearitai > ----------------------------- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > In the proposal part is mentioned "From what I've researched with Unicode, it may not behave as expected in some languages. In that case, please deal with it in userland.". If my understanding here is wrong, please correct me. ucfirst and lcfirst are to uppercase/lowercase the first character of a word for characters that have an upper/lower case variant. Whether or not a word _should_ have an uppercase or lower case character is not important and currently doesn't behave in such a way for ucfirst and lcfirst. To me this isn't unexpected behavior, that's exactly how I would expect it to behave. --0000000000000aaa73061061ba76--