What are the potential issues with using a semicolon as a parameter separator in PHP URLs?

Using a semicolon as a parameter separator in PHP URLs can cause issues with compatibility, as some servers may not recognize it as a valid separator. To solve this issue, it is recommended to use the ampersand (&) as the parameter separator in PHP URLs, as it is widely accepted and supported.

// Use ampersand as the parameter separator in PHP URLs
$url = 'http://example.com/script.php?param1=value1&param2=value2';