Doc #55765 [Asn->Csd]: clarify that backticks aren't interpreted within double-quotes
| From: | aharvey@php.net | Date: | Sat, 24 Sep 2011 19:35:57 +0000 |
| Subject: | Doc #55765 [Asn->Csd]: clarify that backticks aren't interpreted within double-quotes | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7251@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55765&edit=1
ID: 55765
Updated by: aharvey@php.net
Reported by: php at richardneill dot org
Summary: clarify that backticks aren't interpreted within
double-quotes
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2011-09-24 19:35:49] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=317253
Log: Fix doc bug #55765 (clarify that backticks aren't interpreted within
double-quotes).
------------------------------------------------------------------------
[2011-09-23 00:46:56] php at richardneill dot org
Description:
------------
On the documentation page: language.operators.execution.php
I think it might be worth adding something similar to the following:
Backticks are NOT interpreted within double quotes.
Unlike the BASH shell, where:
echo "Hello
whoami";
will print "Hello [name]"
PHP will simply treat the backticks as literal. i.e. it prints:
"Hello whoami"
(To use backticks in PHP, do: echo "Hello ".whoami; )
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55765&edit=1