You are here

function Smarty::_eval in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/smarty/Smarty.class.php \Smarty::_eval()

wrapper for eval() retaining $this

Return value

mixed

File

includes/moodle/lib/smarty/Smarty.class.php, line 1923

Class

Smarty
@package Smarty

Code

function _eval($code, $params = null) {
  return eval($code);
}