What potential pitfalls should be considered when attempting to highlight code in multiple languages using tools like GeSHi in PHP forums?

When attempting to highlight code in multiple languages using tools like GeSHi in PHP forums, a potential pitfall to consider is ensuring that the code snippets are properly formatted and identified with the correct language tags. This is important to ensure that the syntax highlighting works correctly for each language. Additionally, it is important to handle any potential conflicts or overlapping language definitions that may arise when highlighting code in multiple languages.

// Example code snippet using GeSHi for highlighting code in multiple languages
$geshi = new GeSHi($code, 'php');
$geshi->enable_classes();
$geshi->set_language_path('path/to/languages/');
$geshi->set_overall_class('codeblock');
$geshi->set_overall_id('codeblock');
echo $geshi->parse_code();