= 0) ? (int)$times : 1; return str_replace ('$', str_repeat ("\\", $times) . '$', (string)$string); } /** * Evaluates PHP code, and "returns" output. * * @package s2Member\Utilities * @since 110917 * * @param str $code A string of data, possibly with embedded PHP code. * @return str Output after PHP evaluation. */ public static function evl ($code = FALSE) { ob_start (); /* Output buffer. */ /**/ eval ("?>" . trim ($code)); /**/ return ob_get_clean (); } } } ?>