Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109229 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 30399 invoked from network); 23 Mar 2020 15:43:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Mar 2020 15:43:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DE715180504 for ; Mon, 23 Mar 2020 07:08:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 23 Mar 2020 07:08:07 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id n17so4352322lji.8 for ; Mon, 23 Mar 2020 07:08:06 -0700 (PDT) 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; bh=F/30awpznZiou4tc/0P3Zh8C7A1oeNFKCe3j+JhE404=; b=Lgif8f4ZvkkvehcxLWSkT5ZzeoyRwk+Z2p8lM0laQ30rpMSbcqMdZizydSSW4KDLgS UN4eXRfVlHoYlcBYlhKraTiOt1WQJidGZvDnDK9/6xu/tNxN5z+W//VYTjPdUtaHP57n TB2M/izAYsDCL9Al4pZlJX/EspQIhz/JoMnAiBR1r4oYOu/nPZnIlNxZcPcIe9QayuR6 /RG9QXVqYeUyt4Effg+W9N726+D7dqdItBfXNTM5jn/fNTscDqTMZo1boeWffVNm3/Eu +eOlJ78m/xr3XyEDGZyzBQqyNU7Iox7OL84P1it0lZ0OJAtz7n2CyllceWGw4pnkEigj 5RWA== 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; bh=F/30awpznZiou4tc/0P3Zh8C7A1oeNFKCe3j+JhE404=; b=t+5CGYh2XreZRxIgALKojA2Yco9iJG/eKKKT3P5uauIZbMzJJta1OsrBfNmRGC5yP4 Mg1dY69y4nW7OFkumQ1+BLVpcc6ttvFf94V/D6D8pb0SkIAAmSLC5vLyvFo26ic4aAaN pk+sFfBPC9d0E1MIuipfmKRGwT9GJN1yKGrPLMEhlelEr89QNhNlJisNSfhpBqDXehok ikdZOtmqTIP+JJCmTKyMM9oL+/iNAe7R9wH2IRNuHFnK9GLbYto8aF+X2izg1t8n7BdA l0JoLqOp+iZT0JY9COaZDAFGpyyv40cOg8ba3nHjD6oAwHsVnzDdoIouq5RBObc2VPNm b5jw== X-Gm-Message-State: ANhLgQ0dDOvgsIY7AJ4RXK1k7x/yp7f40EbWDmLS7QiuHa1MXe7jwe7I OWF6zePulDdmkHIAtqA6oGJ6WwSt2DduW74ao1xWFfJuqVY= X-Google-Smtp-Source: ADFU+vuEIWzu2G/QsR6ARaSRDfdf0Uu3w24lJGk9cyCnN8IyK/KXPVEXn6urSqq/HGncy3bwvhec07IViqh7QhFr/tQ= X-Received: by 2002:a2e:2e01:: with SMTP id u1mr1743543lju.260.1584972482631; Mon, 23 Mar 2020 07:08:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 23 Mar 2020 15:07:46 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000ce5d3605a186294b" Subject: Re: [VOTE] Object-based token_get_all() alternative From: nikita.ppv@gmail.com (Nikita Popov) --000000000000ce5d3605a186294b Content-Type: text/plain; charset="UTF-8" On Fri, Mar 6, 2020 at 10:33 AM Nikita Popov wrote: > Hi internals, > > I've opened voting on https://wiki.php.net/rfc/token_as_object, which > adds a new object-based interface to the tokenizer. Voting closes on > 2020-03-20. > This RFC has been accepted unanimously, with 47 votes in favor. Based on the additional feedback in this thread, I'll also add a __toString() method that returns the value of $token->text, unless anyone has objects to that... Regards, Nikita --000000000000ce5d3605a186294b--