[doc-en] master: tokens: Add tokens `T_VOID_CAST` and `T_PIPE` (#5038)

From: Date: Sun, 10 May 2026 13:17:45 +0000
Subject: [doc-en] master: tokens: Add tokens `T_VOID_CAST` and `T_PIPE` (#5038)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23300@lists.php.net to get a copy of this message
Author: sasezaki (sasezaki) Committer: GitHub (web-flow) Pusher: jordikroon Date: 2026-05-10T15:17:42+02:00 Commit: https://github.com/php/doc-en/commit/5f720ab2b9c8122d1a127684748712fc57a24d06 Raw diff: https://github.com/php/doc-en/commit/5f720ab2b9c8122d1a127684748712fc57a24d06.diff tokens: Add tokens T_VOID_CAST and T_PIPE (#5038) * [PHP 8.5] Add new tokens, T_VOID_CAST T_PIPE Changed paths: M appendices/tokens.xml Diff: diff --git a/appendices/tokens.xml b/appendices/tokens.xml index 3f85262a54ff..fd8aab8f18d3 100644 --- a/appendices/tokens.xml +++ b/appendices/tokens.xml @@ -999,6 +999,13 @@ defined('T_FN') || define('T_FN', 10001); <entry><link linkend="language.oop5.paamayim-nekudotayim">scope resolution</link>. Also defined as <constant>T_DOUBLE_COLON</constant>.</entry> </row> + <row xml:id="constant.t-pipe"> + <entry><constant>T_PIPE</constant></entry> + <entry>|></entry> + <entry> + <link linkend="language.operators.functional">functional operators</link> (available as of PHP 8.5.0) + </entry> + </row> <row xml:id="constant.t-plus-equal"> <entry> <constant>T_PLUS_EQUAL</constant> @@ -1314,6 +1321,11 @@ defined('T_FN') || define('T_FN', 10001); <entry>$foo</entry> <entry><link linkend="language.variables">variables</link></entry> </row> + <row xml:id="constant.t-void-cast"> + <entry><constant>T_VOID_CAST</constant></entry> + <entry>(void)</entry> + <entry><link linkend="language.types.void">void cast</link> (available as of PHP 8.5.0)</entry> + </row> <row xml:id="constant.t-while"> <entry> <constant>T_WHILE</constant>

« previous php.doc.cvs (#23300) next »