Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130025 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 8A85E1A00BC for ; Fri, 6 Feb 2026 09:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1770371519; bh=3yQQUnfEbYutq1/viK5vvwE4gm+l5D8Qm48x58iYPFI=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Egb9e3vtPqYE6FSo/v6BqEh+wksXkhWM6Ym7jbOqxguaiVBFyeH1sUTuNq8bX/bjJ c4ixH0Ev850G6oxWqKRTQH4Zcn+3jY5VT5GGtP00x2HPgtcuVZ4lwX95uMO1BDdCEH susG9Xa1bPAyoU9Ao5Hj8ebYGm819k7w7zy4QEIKQCUGUcmvkDbm7pXGqKufqewxtb MNvrRStsZYDAfnWuLJTbthEZ4rpgNjiRhQSQPJNn7w4G6YfguDBZ/jHm1JFNEeuJCb C6djaNmLG4H74MhQeiTLvm7YnRxIHbMD06Pb0Hvoae/Zzjt9BnOyU+rDg59tRQUa+F Uo2x2js0AURWg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3ECE0180087 for ; Fri, 6 Feb 2026 09:51:58 +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=0.6 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_FROM,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-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (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, 6 Feb 2026 09:51:58 +0000 (UTC) Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-8c5320536bfso184510685a.1 for ; Fri, 06 Feb 2026 01:51:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770371512; cv=none; d=google.com; s=arc-20240605; b=Qw+pED2zSP8ar6rlzm8BNa2ri70ryQFhbwDus6nSJzETFY1xnaBXlJltcM9rf/kp4+ FUtbAWpisv5QUMB5ydVzlIr9uTE0gIyVCdMKQPAGWepgTxzsTHeTRmBl/qRpDGQYefid 8Yg8+OTWEuH+XgiWuBM86fmYuxVOwDXtTroLmLlAGEdXn6X/iqlP8LBu4gqzUj6h/Nyq G2gFfwpeXKn7LE9d1gLuqhkbNhUk6NNmAXGTD5wL7dzgEgs5EHxisTF/uKT5JYcXGMk1 1hb6KP/uH7TEJssfoDqFmRlul5jXUNFbGm/rBNpb4wZFOw/dOmF5yRKhPnLe27uXmC0/ nOMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3yQQUnfEbYutq1/viK5vvwE4gm+l5D8Qm48x58iYPFI=; fh=PwvV1jWZOR90rDIG/6XexqaHJyAFBTdnFVhsS64qdEQ=; b=RjRDBQBEblUbgJNdxMZnY+NNNyqdMytmv36JkFDWVdFg3fmhU0lTnrqoLhm0QiaDw/ EQ+sxEJRu0iPpIE/TExBWMjlUKcXdfOvb1waGaTbe5Dn2IE9MnzE2qjr6dOC8ayjRdyx rCEuXhEDItlSTJGYrwNyPW8jZI7Z+wwqQtBjIDFizJmyCT3SVyeHAf/fwigWVMV+5GYZ FstiJ4hbi+/zr3fwAMaWJJtzCwvYujzjCFYh7YTFj+jbEejNv7HsCtcPgLVuNsOn+4VG 0I6tLsphd9Knn8w3NrawMF9lxJ6o+BFafMQIf3GpAJBL2kGTg4aZqjN6P9c/TBbaoiWK QmIQ==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770371512; x=1770976312; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3yQQUnfEbYutq1/viK5vvwE4gm+l5D8Qm48x58iYPFI=; b=k1+4oyZtTXj08WXd2wclRGsojX663AU0yOkk+Iaav8H6/VJl1P5fkXgXPsimtefBfc bW+NIuOGqZ2Ud/t+N12ySOGZCmAXnlWOUB3Uw/ChY9PvHtZSUD3A3EFpxeeJaT1nnr8g tJSxt38yGHOE5abGLn2wdHrmBrI90h8IUg2hUodnw3ulwG0dRRjVEmnVUFLbt5rQnO5d c1dQOP6hcgqLWAPeX6egTtqXChh4iLLPKUkRzR+ea5Xhlnj/zcKS1pT8miQiDPXcnbOx ZmDF0gGKxt5jXZu2oZOnb81jWx86pjitt/zma3SLmVPkDt2mrv2v/OB2vZKfQY9k+OEj ZZpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770371512; x=1770976312; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3yQQUnfEbYutq1/viK5vvwE4gm+l5D8Qm48x58iYPFI=; b=IOYVp2NHJBpbHeoNL2Lhr13MynZpdf4llqmHSN45mWcNbI5qCtiWawwRoAtmeskJO8 X8J5vfA/esDFZpFrPreXKsrFk8mtBkJobGFDPJ3q6a3rLmTKsdhuFDzS2Pk4wfVxsh7y i/rEo8Kiv3oR5CMHTVqxPagU2ECie11e+JzoEBxF+HxfQd9ZrZPo89TCZ3lT+mYaWE5C cI49yb2liqBMomTFszmKFSPf4grUdltO7lu/VecNzTccYF4v/jahOm82rTJo+8youX1Y E7/pWaVbjvTW58EwkeOLs93HifpduML0CwxX8ggKzlwfxxBkeFZBuzyFrfW0Lhdnyvpa NjMg== X-Gm-Message-State: AOJu0YzxmSkD4xGBhmy1SFqdcxG3jky8v/2IH8jWA6/HV7YRYvu2IjmD RmTFe7KwxybBvw515KJxPhS09sryzDNLrO5dsCL97SqIygJb4A48ll8Uy9XtU3mp8L/0OV/Rh7A ZPQvNONK+ws45+zEx7h4Or+OHvEgBBCr1dm1QagEvGA== X-Gm-Gg: AZuq6aIPFyFvkjfzMlbMrPuuLCX7K2k5nZVHl0jclnJRjStE7nAwOEoUE9N821YjHtn hxbwCsx9O/9UZvHOxZhhlblqRpcjYL12ROWvbXDDw8ouYIi7ftUDXGNOq6UfPVlEGpLXdThAZeT JWN/JA9kUTpEEiDjn3QEMAP2tvAXFVvxFJqhr+5DnzUtOgfcLt3HFhbaxz9o1mZ76mkoez8l+dy JQ+EqgUtzkOj4eSt93HosEH/M4qKe/zmX59jgdL7hoLsyNrqOwwi0hfgHiWmoXY+eoPJVcl X-Received: by 2002:a05:620a:2a0a:b0:8ca:105a:f5ca with SMTP id af79cd13be357-8caf0d3d0dcmr241321885a.47.1770371512112; Fri, 06 Feb 2026 01:51:52 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <15b6506dc69bd13eceffd36375f83509@bastelstu.be> In-Reply-To: Date: Fri, 6 Feb 2026 10:51:40 +0100 X-Gm-Features: AZwV_QjdN_zvFpON3CGhkZylQ1zoBZ9PwDk0YoU_nl-vo9qI_ZrhWtXflEVz4jI Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Prefix and Suffix Functions To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Carlos On Fri, Feb 6, 2026 at 10:41=E2=80=AFAM Barel wro= te: > > It's been 14 days since the last change to the RFC and there have been no= further discussions, so the cooldown period is over and I would like to an= nounce the start of the voting > > Link to the RFC for reference: https://wiki.php.net/rfc/prefix_suffix_fun= ctions Sorry for my late feedback. What's the rationale for $subject being the last parameter only in str_prefix_replace() and str_suffix_replace()? I feel pretty strongly that the subject should always be the first parameter. We don't want to add to the classic haystack/needle confusion. Regards, Ilija