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