[PHP-WEBMASTER] [web-php] master: make pipe operator discoverable from php.net/pipe + /|> (#1689)

Author: Sean Coates (scoates)
Committer: GitHub (web-flow)
Pusher: sgolemon
Date: 2025-12-06T04:52:33-06:00

Commit: make pipe operator discoverable from php.net/pipe + /|> (#1689) · php/web-php@04410fe · GitHub
Raw diff: https://github.com/php/web-php/commit/04410fed9f7f8632f6d077890779011f74507a8a.diff

make pipe operator discoverable from php.net/pipe + /|> (#1689)

Changed paths:
  M error.php

Diff:

diff --git a/error.php b/error.php
index 70beeb42e4..3890d71a34 100644
--- a/error.php
+++ b/error.php
@@ -410,6 +410,8 @@
     "splat" => "functions.arguments",
     "arrow" => "functions.arrow",
     "fn" => "functions.arrow",
+ "pipe" => "operators.functional",
+ "|>" => "operators.functional",
     // ?:, ??, ??=
     // These shortcuts can not be captured here since they
     // don't actually produce a 404 error.