What is the correct syntax for passing values to included PHP files using a switch statement?

When including PHP files using a switch statement, you can pass values to the included files by using the `include` or `require` statements within each case of the switch. This allows you to dynamically include different files based on the value of the switch variable. To pass values to the included files, you can define variables before including the file and then access them within the included file.

<?php
$variable = "value";

switch ($variable) {
    case "value1":
        $data = "data1";
        include 'file1.php';
        break;
    case "value2":
        $data = "data2";
        include 'file2.php';
        break;
    default:
        include 'default.php';
}
?>