- // Replace the variable with it's value, if found
- $value = $this->readVariable($match);
- //* DEBUG: */ print __METHOD__.": match=".$match.",value[".gettype($value)."]=".$value."<br />\n";
- if (($setMatchAsCode === true) && (is_null($value))) {
+ // Debug message
+ //* DEBUG: */ $this->debugOutput(__METHOD__ . ': match=' . $match . ',value[' . gettype($value) . ']=' . $value);
+
+ // Use $match as new value or $value from read variable?
+ if ($setMatchAsCode === true) {