static function checkActualTitle(&$match, &$varAffected){ if ( optionParser::preg_match_wrapper("actualTitle *= *([[:digit:]])", $match, $found) ){ $varAffected = $found[1]; } else if ( optionParser::preg_match_wrapper("actualTitle", $match, $found) ){ $varAffected = 2; } $match = str_replace($found[0], '', $match); }
static function checkActualTitle(&$match, &$varAffected) { if (optionParser::preg_match_wrapper("actualTitle *= *([[:digit:]])", $match, $found)) { $varAffected = $found[1]; } else { if (optionParser::preg_match_wrapper("actualTitle", $match, $found)) { $varAffected = 2; } } $match = optionParser::_removeFromMatch($found[0], $match); }