http://nl.php.net/parse_str

On Tue, 31 Aug 2004, Herbert Groot Jebbink wrote:

> Hi,
>
> To speed up a homebuild PHP framework I would like to have a new
> function that expands a string with the PHP variables in it, just like
> how variable parsing is done for a double-quotes string.
>
> string VariableParsingString ( string string )
>
> Currently I do it with the next eval statement.
>
> eval('$result = "' . str_replace('"', '\\"', $string) . '";');
>
> Greetings, Herbert
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to