<?php $a = array(1,2); $test = '{{$the}}'; $the = 'var'; $theVar = preg_match('/({{\$(.*)}})/', '${2}', $test); echo $theVar; echo ${$theVar};
You have javascript disabled. You will not be able to edit any code.