What are the potential issues when using absolute paths for including files in PHP development environments like XAMPP?

Using absolute paths for including files in PHP development environments like XAMPP can lead to portability issues when moving the code to a different server or directory structure. To solve this problem, it's better to use relative paths for including files so that the code can be easily transferred without having to update the paths manually.

// Instead of using absolute paths like this:
// include '/opt/lampp/htdocs/project/includes/config.php';

// Use relative paths like this:
include 'includes/config.php';