Doc #55765 [Opn->Asn]: clarify that backticks aren't interpreted within double-quotes

From: Date: Sat, 24 Sep 2011 19:31:26 +0000
Subject: Doc #55765 [Opn->Asn]: clarify that backticks aren't interpreted within double-quotes
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7250@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: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#7250) next »