I'm trying to find out how I could pass a ereg_replace value to a function to evaluate it of some sort, but it seems impossible.
ereg_replace('$cl([0-9])([])($cl|$ol)','<font color="'.getcolor('\1').'">\2</font>',$out);
is there a way to do this?
Thanks