Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105997 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93528 invoked from network); 20 Jun 2019 14:33:10 -0000 Received: from unknown (HELO mail-vs1-f44.google.com) (209.85.217.44) by pb1.pair.com with SMTP; 20 Jun 2019 14:33:10 -0000 Received: by mail-vs1-f44.google.com with SMTP id l20so1332408vsp.3 for ; Thu, 20 Jun 2019 04:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=J0Ps02RN4a2Y4KtP3gdz07kzksG1qCtiMt/RX7/MU7I=; b=QH56SKUymfOZAHRKqw9pyClAR/VhahiJ70Jqpf+jM+oIKj38v0ZhovsUHMVyIOK9Dz e0ijANsd/ledpK09rn42/KRnj2oNZF/4jcskmSb2gHdUcocPUlQl2U/D56oUufn/Xaa5 Cmt9xy4Oy3aAMJd/G1ZGgSdi0xZaK3pRB1o4OFuv0F3EbtN5D93UCjwehL3lZW1mHz3L 9UDtUJbgrbqsqzmOC9qiK44wFFtsCo9aaV+ZO8ibTuE5ULnwnyqr45IrNsSM2BMpw5Cc 9Nhtmvlq+2ub/v4eIFuqOVY8GEdW8dYoLQWoaxQkgrsngZavegxUCI8t+KsM5cY+Thk5 oOmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J0Ps02RN4a2Y4KtP3gdz07kzksG1qCtiMt/RX7/MU7I=; b=kGwwcwbtHUT3+8XvWNIziyfVh6EdY3212Oo6uCxL/fSUPDXKfxBCqbqQ5wRBqVz3S+ fXvieuFoh8cVWwifuKTOnLdZZRoGR/tV2Q/mPm1F4HoReWNv4ZQzkOReJt5m5KXj4d3D fAhTovfCNcj3rCU1seT45vMZalBypFhKhq66IzjNicV9KpqeuZ1QUIaULNhBeZC2HhgJ ConqqkYDWirEBi8UGHuQXMWaXlGLlkvsRU9bhKQUHixifZikQuF2eZ6waJTVzOBjn1Eb IjUhuPk2bnrDCgLKhAlCy+dXaIQbmy+WmF8CR5ajPWyuufmXq7AbePHPU9fDiecjd0L1 Is1A== X-Gm-Message-State: APjAAAWuFQCJHe4s0AVlAMNJAGwOML+2xZnnIqjVmEZCa/bMiLesyhfw t1JZDGyH5HFVYdLeJ7PhGym0arvoElPQO99N30L6BJiGB5E= X-Google-Smtp-Source: APXvYqzxe8M4P4CGONDwpco1Q1q+krYK2ejGb7gvnl9sMO8jMiaW+fiFELgC3BnlcJL6+laLYA6Kzf0R6B2iQYhda0Q= X-Received: by 2002:a67:e355:: with SMTP id s21mr26960581vsm.12.1561031282854; Thu, 20 Jun 2019 04:48:02 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 20 Jun 2019 13:47:51 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000001915d3058bbfeb3e" Subject: [RFC] Implement strrstr counterpart to strstr for consistency From: george.banyard@gmail.com ("G. P. B.") --0000000000001915d3058bbfeb3e Content-Type: text/plain; charset="UTF-8" Hello Internals; I've written an RFC to get feedback about adding a counterpart to strstr to make it more in line with the strpos family of functions which can be found here: https://wiki.php.net/rfc/implement-strrstr-for-consistency I've been mulling over this for quite some time as the PR [1] was created in April as there are quite some cons compared to pros which are detailed in the RFC. I'm not sure myself if this is a good idea but as feature freeze is coming close it seems to be a good time to get feedback on this. If nothing dramatic comes up or if a majority thinks this is a bad idea I'll withdraw it, otherwise expect this to be put to a vote in two weeks time. Best regards George P. Banyard [1] https://github.com/php/php-src/pull/4064 --0000000000001915d3058bbfeb3e--