My question is, what is the best solution to get the $1 in?
//rewriting "Si,$number" error
$si[0] = "$l[s]";
$si[1] = "$l[m]";
$si[2] = "$l[h]";
//alot here and others
$preg_o = array('/Si,(\d+)/');
$preg_t = array("$si[$1]");
//currently i using this but i dun think it is a good method
//rewriting "id($number)"
$preg_o = array('/id\((\d+)\)/e');//dunknow why force to use /e to avoid error of $1
$preg_t = array("\$id['\\1']");
i couldn't understand proberly the use of /e /i from the documentation
could you help me?