Users need to be able to enter a PHP array of parameters.
Currently, they see a text area where they are expected to enter PHP code that defines an array:
<textarea name="foo">
$bar = array( 'key' => 'value' );
</textarea>
I get the value of the text area as, for instance, the string $_GET['foo'].
How can I parse this so that I can use the array $bar? I'd rather not use eval if I can help it.
Thanks!