Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128527 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 89E371A00BC for ; Fri, 22 Aug 2025 13:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1755870280; bh=8AdnKiBCnFBB5KS1L6pfj1JeHyV3bEZOyN3hnotjDyI=; h=Date:Subject:To:References:From:In-Reply-To:From; b=VqBYEr9oG2qBOo5QkO3Whnuj+jP2bFcoR0GbnsjgLD3gB88eGjwbuXB4xxi7ZyYiC FSX2zJ0CcIn21RlxtK8v31ur3V5n4IYWBZG8d9BgQ3to23lTh74vI9ZOc+kq0jBS99 bizOWJU6W/SKq8TdLOmlN1FZexowCerP2kzdjXsQGmWtjN3nghrhsAoLNMrlj0qfNs 99pfJJBcAXvQRqDP67c4qNiMb8qQk7aBgwbyFQEV9tObDaxAgzIu2On7MbbEaNWVOO YO8UmSsLW7qSay5IYRfDN2dM4Lghz5nm5fNlqBp4eKATP0sXhInAdAtwDHWvEqP+cs cufn9LBffGykw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3419318004D for ; Fri, 22 Aug 2025 13:44:36 +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.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-108-mta108.mxroute.com (mail-108-mta108.mxroute.com [136.175.108.108]) (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, 22 Aug 2025 13:44:35 +0000 (UTC) Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta108.mxroute.com (ZoneMTA) with ESMTPSA id 198d2078ad2000025c.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 22 Aug 2025 13:46:06 +0000 X-Zone-Loop: 8ac7a3fccb2607913fc3f01ce71114d5aeb1d90691fe X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sandfox.me; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:MIME-Version:Date:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=pLunBEburFETYOjwOf9kRIzrKdY9D5UnplptMsv2SaI=; b=gTeyYZaqs65Y pCiX1nm4XjOIgu54omSMAFcw54UYYMkEVYhMIRB5UxCM027Z+yHX9Df97DIWYXzPkJsSLO+o5Fpa3 ZJetEx73K4m5UrZ8A9EnbBpXyGadw3xHuB2G9bVLSidsv1sIJHYUVYMjpGVN+YYe/qXTqIV52XGBx mPbGv0cBKxnFJadJIqf9DY1P309bjsBa+6LQoV9GDzH3WD1lEFT5+WeSrioPee+6tkgjllkeQQwqx 0wpkyOZGQy7Ct/QRlXbVxN+J/+b0sXzk3tok/TRkwStaY9Xa3vEsnmPiSiZLTQJcKKM/tef9+8r88 W0Kv79+ict9ehYPmNtVZfg==; Message-ID: <3811c85b-53e9-4a15-96e6-c96f680a6c4e@sandfox.me> Date: Fri, 22 Aug 2025 16:46:02 +0300 Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Create "split" as an alias to "explode" To: internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Id: sandfox@sandfox.me From: sandfox@sandfox.me (Anton Smirnov) On 18/08/2025 17:57, Vinicius Dias wrote: > Hello, folks. As discussed in previous messages [1], I am proposing > the creation of an alias function `split` to the `explode` function. > > Here is the RFC for discussion: > https://wiki.php.net/rfc/create-split-alias-to-explode > > [1] https://news-web.php.net/php.internals/128477 Please add mb_split to "Confusion with other functions" mbstring functions are typically designed so func and mb_func behave similarly, just mb_ has multibyte support. Since the closest chance to remove mb_split is PHP 9, the closest introduction for split would be PHP 10 imho -- Anton