22 $expression = ltrim($expression,
'=');
23 $expression = trim($expression);
24 preg_match_all(
"/([^\\\\&]|\\\\&)*/ui", $expression, $matches);
33 $return[] = str_ireplace(
'\&',
'&',
$r);
36 return array_map(
'trim', $return);
49 $pattern =
'#((^\[\[)[\d\.]+)|(\(|\)|\\' . implode(
"|\\", $operators) .
')#';
52 return array_map(
'trim', $tokens);
An exception for terminatinating execution or to throw for unit testing.
static getMathTokens($math_expression)
Generate tokens for a math expression.
static getTokens($expression)
echo;exit;}function LogoutNotification($SessionID) { global $ilDB; $q="SELECT session_id, data FROM usr_session WHERE expires > (\w+)\|/" PREG_SPLIT_NO_EMPTY PREG_SPLIT_DELIM_CAPTURE