Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103782 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51596 invoked from network); 23 Jan 2019 00:50:27 -0000 Received: from unknown (HELO mail-ot1-f45.google.com) (209.85.210.45) by pb1.pair.com with SMTP; 23 Jan 2019 00:50:27 -0000 Received: by mail-ot1-f45.google.com with SMTP id w25so25030977otm.13 for ; Tue, 22 Jan 2019 13:28:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1yGKOlisKOVBm/6q20uVj3+Jr3g/j4cn+f2VUYpm4jA=; b=Of3gqYu1wi7JydZzwUfY273AZbWDo2h7dfOb9SEQQPdEgymzJ/+tATi4dRUlyfj8iE Hk4oW6UYyWGTzKrRsz0JCf/Geh4tJwkDuchaalWbMEVFDINSNsa5gsaD6uFZBjwc/rLQ Ku3rTVIBI9Nf5d++Sm0pOAy2CifOTMBSmM+0TEieWZSHeRAIfEO5SZFUe29vZvMSwWBN cGTS/Gy0AetDgGkEj3CSVh/rDpdOxol4b+3VMrqcVo1woXSv+0yeLC7W12HmBlC36dQc 6P3r715yQlX1J7zIHyN9QYiVNYzHbCZ5PvFq977lJe/v7qdXqKLCZrWqPkkkKnnOWyPr MszA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1yGKOlisKOVBm/6q20uVj3+Jr3g/j4cn+f2VUYpm4jA=; b=QEjgp4qGH5B+tfIZrps3h4R4LebTm78/fS3Iybz4Q4C/Q9bDdfxAa4BYYZdrr9DSyP z1h9MoA7Eqs9BgyjcvMLpNUpVvsxkPQ0x06nlymFLry7KNZ6RemmeSfO4R1bIH7z8W0f YW/N2MPxc6UJC9AVCzQ7646rR2Q8lqORqD0ykRfSkiapb26bhCzv7gD1NDT/Q7rKEUa0 Jhf5kTvCb2SxCwXJTqHEZ6yWcQ79lwKeobInnrG+dSGxqk4dIQjUnh2CDrYETNuOmVXi IxTvXB2dCZs7/yCQHCY8I/WE3c6VKH+1q8QkjwrUA5AFcEgttb3p5wKejXd7TlfsvgfS EnKw== X-Gm-Message-State: AJcUukf4cb9BYKMW0BtWgMe3qlchiBTpSkPePVuTpRpyHx1guXxjv2MU nF67bY29qVDW/GzlSZGIc4q43IJdVdi5ks+c44o= X-Google-Smtp-Source: ALg8bN5TUE/HxP+m0KKZyoitKrCpCRp0+515ooV4O9Gm5vxlWGi0zmt/BcFB4lfyeajityj7GS14hwweSb75BnSMvWw= X-Received: by 2002:a9d:1ee2:: with SMTP id n89mr23948644otn.262.1548192489893; Tue, 22 Jan 2019 13:28:09 -0800 (PST) MIME-Version: 1.0 References: <0243D3A4-2C15-4B31-81A8-C2E5892913F9@koalephant.com> In-Reply-To: Date: Tue, 22 Jan 2019 22:27:58 +0100 Message-ID: To: Girgias Cc: Stephen Reay , PHP Internals Content-Type: multipart/alternative; boundary="0000000000006774a5058012a718" Subject: Re: [PHP-DEV] Deprecation ideas for PHP 8 From: mtkocak@gmail.com (=?UTF-8?Q?Midori_Ko=C3=A7ak?=) --0000000000006774a5058012a718 Content-Type: text/plain; charset="UTF-8" Can we also add strange function names without any naming conventions to this list? Without undersore: strcspn, With underscore: str_repeat, chain of abrevs: strnatcasecmp. Similar namings do exist for array functions either. Cheers, Midori On Tue, 22 Jan 2019 at 22:22, Girgias wrote: > On Tue, 22 Jan 2019 at 21:48, Stephen Reay > wrote: > > > > > > On 23 Jan 2019, at 03:34, Girgias wrote: > > > Classes/Objects functions: > > > > > > - is_a (use instanceof operator) > > > - is_subclass_of (not exactly what it's purpose is but the instanceof > > > operator SHOULD be a valid equivalence with another condition if the > > same > > > class must not be used) > > > > is_subclass_of allows checking string class names, instanceof (AFAIK) > does > > not. > > > > Good catch, just checked and it's indead the case that instanceof can't > check string class names: > https://3v4l.org/DkMC4 > > George P. Banyard > --0000000000006774a5058012a718--