[doc-en] master: Add note to shell_exec that the backtick operator is deprecated (#5719)
| From: | Tim Bond via GitHub | Date: | Tue, 28 Jul 2026 16:56:35 +0000 |
| Subject: | [doc-en] master: Add note to shell_exec that the backtick operator is deprecated (#5719) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23516@lists.php.net to get a copy of this message | ||
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 <jordikroon@php.net>
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