Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75151 invoked from network); 4 Aug 2016 05:50:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2016 05:50:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.195 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.213.195 mail-yb0-f195.google.com Received: from [209.85.213.195] ([209.85.213.195:34681] helo=mail-yb0-f195.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/72-53111-E97D2A75 for ; Thu, 04 Aug 2016 01:50:22 -0400 Received: by mail-yb0-f195.google.com with SMTP id x196so230795ybe.1 for ; Wed, 03 Aug 2016 22:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=joKIOLAidSoC+Ao+nCCQcnVTGyUNkyl4fNBMgewhzJE=; b=g4D+uRA0AbS2SMMBfDbRdlJBbwmUE/PVHBuARLZuxiEORp2/BeoNjIpA/UsXPy+jzy tVYE5Gh32hf1LPNr6jkLkyhJyBocVBTMv7VMJsq2Q9bfLlkEuTrsg0Slb8AGz5y5y0UH aJlGuz0gQujGG+deyvdL2qw9TSSQ8IgM0A+NJv5d+8QtrOU8a7/9LIAk6IiJ6L1mUxJu eqrRWwhAQaWdiTlmmWo+EIAEaO+p/my0g8CUIVGHFgGQO3KgZun0clNttdEFuJ+vjTwd 7FPc1r/YJtulFJYWPulD+ag45IrAZnbOMOpN9qsBRwXBcLu9Swt3VwZdLf+UJrXvsHss WrIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=joKIOLAidSoC+Ao+nCCQcnVTGyUNkyl4fNBMgewhzJE=; b=X0/JyV76saNC4HO9NSfL/hXQb0v83Ge10s61mfthzU/60nU8b2+ckqG4vB+bqqxkoT zWe23J3TAN4lQj/jdUtVOxZIKp9tr49JC//suJE9Tv/bFJhs1aAWxBvSe51MJZrS6VBe lQEWA6eP7usPDed1NDCgIUjmg9XFt7vx/T/pWD/DfzvXQ7uNNUi5mEs8fQ5YBtnsLrwX iW8AJ1teOc9nOTIX4xwWViSZRs0WZRQLOgSMxcSrWahy8jFRzwkTjl6ZC9VuXjDG5jcL aG87qTwCAlVvhgKNC7uklHUMS/umHWguV/9jxs4rksScP3OBdLljyLISnS5gXtNlhhEm R+/g== X-Gm-Message-State: AEkoous9BRRrTfcOvJy6M3a3fR6mxgFHD0AK682kQLZm8ZzO+4f3pxmIHQPSwNwrrj/Wjw== X-Received: by 10.37.216.213 with SMTP id p204mr46088879ybg.89.1470289819545; Wed, 03 Aug 2016 22:50:19 -0700 (PDT) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id j7sm4875156ywb.30.2016.08.03.22.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Aug 2016 22:50:17 -0700 (PDT) To: David Rodrigues , Yasuo Ohgaki References: <8442f1fa5544b2ca03e7cebbc64e8e5c@wkhudgins.info> Cc: Sara Golemon , will@wkhudgins.info, PHP internals Message-ID: Date: Wed, 3 Aug 2016 22:50:16 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC Posted for str_begins and str_ends functions From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > I guess that "i" isn't appliable when it have slashes. > In this case, functions should be: strbegins, stribegins, strends, striends. > In all case, I think that is better a third parameter and keep underlined. Please, not stribegins. We have enough functions with weird names :) I am ambivalent of the question whether to have additional argument or two functions, I guess with a slight preference for argument. -- Stas Malyshev smalyshev@gmail.com