Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123705 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 833911A009C for ; Thu, 20 Jun 2024 18:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718908039; bh=iplA0asT1Po990WjiFtBAE7oHf+beRDRwGnhWFPbBdw=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=I/T6GHNR0phnKobETvJEQKKaazh4N1AzZCs3V6TCG0NNblCGdxExRTcRk3u7KR+KR selCJ457OOmF9sROUKVjw1iQ+bg1gm0jh0n1lgTj6RXyholebDz0LEj5ALqcAEv1uY x+2GxqJOQhqlwMbZm5CzPstZg3nyY8gp9xhEe36VKcWnVSHfgea0CT8/7igeCGGuNS PKkiHYml6uIn5Ius4aNM9MJ29362SIuMFLgRgiJqe32kK7SehdHtrwCxPOQCsOz9GN C9rtHaSwAlEHkX4CUAznSowt/t2jks4zq12KcFuKttKWBML2D8swyat3A2jeaHrSK7 FfxNfgO34ngYw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F22D71808A7 for ; Thu, 20 Jun 2024 18:27:17 +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.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_KAM_HTML_FONT_INVALID, 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 BRA01-CPZ-obe.outbound.protection.outlook.com (mail-cpzbra01olkn2057.outbound.protection.outlook.com [40.92.97.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 20 Jun 2024 18:27:15 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hoLmmUqDnBqdI3oSuDFbgqXpfzjtOZVHIVMQG6OfggYG3S2m6ny23nvStkOTmlrsP7zHMZ8QYZVor4tR5K/AkrLxxYgcRgrJRm13v5M1qKWnXRyAoitQkbs6ngojt+risVA3cDvOD84NJajo+in/FPoXLsovrOXh0hqfzARrgNezQYDk9/2mdTkpkC7oKGJ1B/kYvFyukFLE3ip4SmiHm0oRZkqbRLla7Jzp5gh5Qz2kgxQSN4RxMetVN+cOX4/+81m7BlA96dX+LkdqAwnDkVvd0qm3nzUpPvOV2l2UxviRVBPo3qsIOqVcbcl+uR95DBmQH6XchaNINbSgvK2Npg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iplA0asT1Po990WjiFtBAE7oHf+beRDRwGnhWFPbBdw=; b=gr8L31ITnTBUXu9Q7NqjGHFVOZG0L44z1MSW13BLpYYmjTddEinCnU4vkk7gaLxBoiSJUPvaQv6pkkq+xDYIUrdoAMdZI3PmozTmGTfVWrRG60gTovg1YJMURXSoteKehLSP601gnBI2pGqed7CBkNQAZgLoSduqIyYLWiPGcASn5HEZDF8dlgexN/KDV9Y8krT8T8YPqOM57u/4v0lRBeq/MzfftjtZ4Jajplb1Y8or9Fj32fLapLLHBq1JgxQO0IokDJ1Y5wdo7+WqST0bLW75+pjw+kRDVksUkdQcNk+c1Cc0sJxg16gT6B0m2p+AhC/4cW4/O9AIaTZuymsBdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iplA0asT1Po990WjiFtBAE7oHf+beRDRwGnhWFPbBdw=; b=KbePlJ5SkXO2xqynLF5T3n9bDEyNuHBDDsBhCr/k/Y3HFcfkeek9x9EjnQU6xbI34vn6/6NUeHOdZ8fM8uuNX4ymyTmeBtFABmUyDZ5n/wsgBEcUEX+NmRipZpdUrxUB2csW7nAorPBNCYU/drY0o1opVLu9LgatRcLcPkBL3QqtVMvIjsGOF74bDmhx4ypgVMec8LTpUGO40jF2rfkX/DP5ibRbt1rqbnkih1Qoanm0n6DXGW8VxA89t9rR3rJzPHKxcfivhtgQHm5t3sfkdy//cF4svhmakHMOPXSFzfHKqrtL7wIreXFZOE19oSvQUK+87twmzd0SOjgm6S6IcA== Received: from CP4P284MB2160.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:1c8::15) by ROAP284MB2678.BRAP284.PROD.OUTLOOK.COM (2603:10d6:10:136::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Thu, 20 Jun 2024 18:25:57 +0000 Received: from CP4P284MB2160.BRAP284.PROD.OUTLOOK.COM ([fe80::c316:5352:af24:5455]) by CP4P284MB2160.BRAP284.PROD.OUTLOOK.COM ([fe80::c316:5352:af24:5455%3]) with mapi id 15.20.7698.017; Thu, 20 Jun 2024 18:25:57 +0000 Date: Thu, 20 Jun 2024 15:25:50 -0300 To: Larry Garfield , Eugene Sidelnyk Cc: php internals Message-ID: In-Reply-To: References: <2a6b92eb-d5e9-4a1a-9548-a068ac42ebd2@app.fastmail.com> Subject: Re: [PHP-DEV] [Early Feedback] Pattern matching X-Readdle-Message-ID: 3f28dbb5-7e02-4c09-8f13-84d24db58ae0@Spark Content-Type: multipart/alternative; boundary="66747434_34357396_cb2" X-TMN: [PWoPArTd0CxtLzxhq+fl/vxqMozXtdH0QfLKyJWZjveTBvnSbwv2xg==] X-ClientProxiedBy: CP5P284CA0215.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:22b::6) To CP4P284MB2160.BRAP284.PROD.OUTLOOK.COM (2603:10d6:103:1c8::15) X-Microsoft-Original-Message-ID: <3f28dbb5-7e02-4c09-8f13-84d24db58ae0@Spark> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CP4P284MB2160:EE_|ROAP284MB2678:EE_ X-MS-Office365-Filtering-Correlation-Id: 7af67062-870a-41bb-78a9-08dc91566dbf X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|3412199022|440099025; X-Microsoft-Antispam-Message-Info: tbDiFD/GRbkh3vb8Ed/56C4KMmZXwpb4k0SdjqQjplbJhzMw++NqevK1wGU/XZAnw7FHMpT2QmiCn9w36X45wgHyjBAvYx5dpWuxtAFw2ZOT1Bp00l29m9e1sARExxuDgbTaGx4fTj8kOyzf6eOht2FVfR0szbbBkuAnq0C6zIMEKwBSEoXilH9XMamimSvqUml3xRAXSRqFI9VdxYN3wGM39Oc/4rYF9fKBTd+BhX6ZhTtmxOJ88m7N0ox0jNzvnU74EuISHSqfg7V4SfBIVYb+PIi/Lq1alEkwkGaimsBq1j6O2cTVRnyrCp5RnZRQrdbAMy8gC/jqxnBFQc2ll20gUKyS+RoFYBkzucCPd8mAvJ2fSvHbD9vRuUC18Me/HeOL6Oij7PovOpvK9A6EkEr0DwOeRoH4vqfhv1aODzvPw5r/rx7pSrUgbMCEBafVf7AIbdNnutH3CPBWLO/CuA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dHdJZXZKajUzdEVBOGdNdU8xTC9oMUpy?= =?utf-8?B?emo4OWVhTW1udW80OXFwL3RIQ1IvK2syUkhqZHdleXZRc1ZMTitvVjMxUzBj?= =?utf-8?Q?OihKMXqi+KRWePOU0c=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7af67062-870a-41bb-78a9-08dc91566dbf X-MS-Exchange-CrossTenant-AuthSource: CP4P284MB2160.BRAP284.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 18:25:57.7759 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: ROAP284MB2678 From: rodrigo.vieira92@outlook.com (Rodrigo Vieira) --66747434_34357396_cb2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OMG, this R=46C is a true masterpiece=21=21=21 Congratulations, it turned out really well=21 I hope this gets approved s= oon=21 Rodrigo A. Vieira Em 20 de jun. de 2024, 15:03 -0300, Eugene Sidelnyk , escreveu: > 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 =60=24a is =46oo&Bar=60 or =60=24b is =46oo=7CBaz=7Cnull=60), and he= re you write out this email. > > I didn't read the whole R=46C, but I'd like to say that having at least= aforementioned type tests would be really=C2=A0helpful > > Thank you for your effort and have a nice day=21 > > --66747434_34357396_cb2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
OMG, this RFC is a= true masterpiece!!! 

Congratulations, it turned out reall= y well! I hope this gets approved soon!

Rodrigo A. Vieira
Em 20 de jun. de 2024, 15:03 -0300, Eugen= e Sidelnyk <zsidelnik@gmail.com>, escreveu:
You won't believe it, but just right now I've been thinki= ng 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 hav= ing at least aforementioned type tests would be really helpful

Thank you for your effort and have a nice day!


--66747434_34357396_cb2--