[DOC-CVS] [doc-en] master: Add note to shell_exec that the backtick operator is deprecated (#5719)

[email protected] (Tim Bond via GitHub) Tue, 28 Jul 2026 16:56:35 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Tim Bond (cookieguru)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-07-28T18:56:32+02:00

Commit: https://github.com/php/doc-en/commit/81593f08db3320d5366bf925c8561f097a9d69ad
Raw diff: https://github.com/php/doc-en/commit/81593f08db3320d5366bf925c8561f097a9d69ad.diff

Add note to shell_exec that the backtick operator is deprecated (#5719)

* Add note to shell_exec that the backtick operator is deprecated

See https://github.com/php/doc-en/pull/5017

---------

Co-authored-by: Jordi Kroon <[email protected]>

Changed paths:
  M  reference/exec/functions/shell-exec.xml


Diff:

diff --git a/reference/exec/functions/shell-exec.xml b/reference/exec/functions/shell-exec.xml
index 4af998048154..1af9bfaf7951 100644
--- a/reference/exec/functions/shell-exec.xml
+++ b/reference/exec/functions/shell-exec.xml
@@ -13,9 +13,9 @@
    <type class="union"><type>string</type><type>false</type><type>null</type></type><methodname>shell_exec</methodname>
    <methodparam><type>string</type><parameter>command</parameter></methodparam>
   </methodsynopsis>
-  <para>
-   This function is identical to the <link linkend="language.operators.execution">backtick operator</link>.
-  </para>
+  <simpara>
+   This function is identical to the deprecated <link linkend="language.operators.execution">backtick operator</link>.
+  </simpara>
   <note>
    <para>
     On Windows, the underlying pipe is opened in text mode which can cause the