Parsing Variables Inside a String
| From: | heavyccasey at gmail dot com | Date: | Wed, 15 Aug 2007 06:50:50 +0000 |
| Subject: | Parsing Variables Inside a String | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260837@lists.php.net to get a copy of this message | ||
Hi, is there a function that can parse variables within a string?
For example:
$good_day = 'The';
$fr['iop'] = "y're crazy!";
$new = '$good_day$fr['iop']';
echo TheFunctionIRequest($new); // They're crazy!
Thanks!