Seems like some sort of question of scope. If all your functions are in an external file, I'd try to validate that the external file will parse correctly. This is easily done if you have command line PHP ability:
$ php -l db_fns.php
No syntax errors in db_fns.php
You might also try wrapping your code in a conditional test that uses [man]function_exists[/man] with an appropriate error handler:
<?php
if (!function_exists("change_tags")) {
die("Change tags isn't a valid function here at line #"); // put your line # in there
} else {
// do your processing
}