note 45200 added to language.operators.execution
| From: | webmaster at demogracia dot com | Date: | Sun, 29 Aug 2004 14:36:54 +0000 |
| Subject: | note 45200 added to language.operators.execution | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75572@lists.php.net to get a copy of this message | ||
Backticks operator is similar to double quotes: you have variable parsing and you can concatenate
strings (for instance, for inserting a function):
<?
$data['command']='ls';
$data['folder']='/tmp';
echo
{$data['command']} -al {$data['folder']};
echo ls -al . escapeshellarg('/tmp');
?>
----
Manual Page -- http://www.php.net/manual/en/language.operators.execution.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45200
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45200&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45200&report=yes
Search -- http://master.php.net/manage/user-notes.php