Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123703 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 qa.php.net (Postfix) with ESMTPS id E68641A009C for ; Thu, 20 Jun 2024 17:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718906278; bh=Z01A3d4MyQNItwLEQmdlXKXxbNzAcp20FvPzYk3Coeg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BH2bD62kcusjused82izMiM5lNyMCfhHV59E9XKhzN1YwVqVOaNEKPdpnu7MW+ZjW B66JhNHxVJQ+bxGgSPuibXrfB/wnYJ4NVAScdq1aI1P+P9oUdJIsJquzzXGMlVO6SR DiOgdEBio0pUHD7pwxiZEpjIt+eCM/Hz9Rw7cXmY5TFsv/6lzgLpSx7kxuAIz3PD6m +wrhpAJMdY5n1m/3HtqsTNJV95j8J5flOpPzEIwnF3ivsm//axyVBRyzyI7o0xxfFa zUpOlvLm/tE1x+cTr9LXcPwCqALoDtWbbPpO5jR0ahQVSekWLLkhbhUB5RXEn8Fpal 6Gan5ZCB5Iqkg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 14F9D1801EF for ; Thu, 20 Jun 2024 17:57:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 ; Thu, 20 Jun 2024 17:57:51 +0000 (UTC) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-630640c1e14so12873767b3.1 for ; Thu, 20 Jun 2024 10:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718906197; x=1719510997; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Z01A3d4MyQNItwLEQmdlXKXxbNzAcp20FvPzYk3Coeg=; b=NT9tlAKdwt+LYSSHB2VHc67bZVO1XdbvUlF5xc2qtnr9e7LjdGc6MpBYLmYyB8QT62 0nepGK2CQFc1pgsv9DU0ritSzTKx+NGi49/LnzfZ0THqRuB+8lggIkfSmjX6qNpn9UMA t60lGN/oq1zHJkMewtyFTtvpcbaUPSntVLqz4SncqEMCxU9K5QJ+xFkd/R4rjM2Nv599 GUdouAEHul/HMVlg1POu3kddklzHu4URz8XvkAhDTsmjiXEIqDSHocf7PptopIyYVspC 7NLdHHbDh03AVCFBep4QTXx219P1f35saQpvPpaNfjofbRNU9KZ2q3nqKAysovXtlSZ7 Helw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718906197; x=1719510997; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z01A3d4MyQNItwLEQmdlXKXxbNzAcp20FvPzYk3Coeg=; b=EADVZeeLcNPYZ0LABEUrwXB5QFQsxLvulsglftHlA9kDgL8PJ7sVBhBRWXXfupSm1w Yqu6ZSoDvxpeMH5Cc0Ic/MlIhID0zn5iXg6FkgfssU2AK8pXHDWUbMxG9AAzRvGGrh40 Xx5KY1mSgH+o1LzlSmaR3ZKt79LEQlQWPQ7u+vueRXOOOTtz7XKLP+Z242Da+QSW88AN gDn8IWC8vxfAjvlv2xqaVpGJN6wkX+Vph1OyKLq9WjqCReNIy1/cMqzxABYNpAqZi8X8 eqdw1I+5TV8UmUNR9b/gT8TRZhueqGWUXJaOLtFVR+RPh/fIudj2Nl/6q9inm+8hxiS2 BKDg== X-Gm-Message-State: AOJu0Yw3jlkc7MGTlDIS/bsdiIE9dvEuY4ljK/TXmVBhc1N8ZgxA02xf lQLewpko675/IWnjCymB1ibW9tXaISSiM9cLrto6yGf76tlW/CtC03SIAqO/tZ6lDqJdz2aUUfz 3KomEmg6e2Q/d6SJZr4iEt9FN2vezgw== X-Google-Smtp-Source: AGHT+IH3Au01Q5pd6/1otWj8j8ZrctbJPt2IHYW9pK7BaWgajNmv6mfxn8Uj9YKSA/icZI0qLJN8md4d06sYRRg0Rqk= X-Received: by 2002:a0d:e612:0:b0:627:db47:b4a0 with SMTP id 00721157ae682-63a8f524c46mr64049007b3.38.1718906195882; Thu, 20 Jun 2024 10:56:35 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <2a6b92eb-d5e9-4a1a-9548-a068ac42ebd2@app.fastmail.com> In-Reply-To: <2a6b92eb-d5e9-4a1a-9548-a068ac42ebd2@app.fastmail.com> Date: Thu, 20 Jun 2024 20:56:26 +0300 Message-ID: Subject: Re: [PHP-DEV] [Early Feedback] Pattern matching To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000353e9b061b5609fc" From: zsidelnik@gmail.com (Eugene Sidelnyk) --000000000000353e9b061b5609fc Content-Type: text/plain; charset="UTF-8" You won't believe it, but just right now I've been thinking about that it would be a wonderful feature for PHP to have some kind of type-tests (like `$a is Foo&Bar` or `$b is Foo|Baz|null`), and here you write out this email. I didn't read the whole RFC, but I'd like to say that having at least aforementioned type tests would be really helpful Thank you for your effort and have a nice day! --000000000000353e9b061b5609fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You won't believe it, but just right now I've bee= n thinking about that it would be a wonderful feature for PHP to have some = kind of type-tests (like `$a is Foo&Bar` or `$b is Foo|Baz|null`), and = here you write out this email.

I didn't read the whole RFC, but I'd like to say that having at le= ast aforementioned type tests would be really=C2=A0helpful

Thank you for your effort and have a nic= e day!


--000000000000353e9b061b5609fc--