How can additional recipients, such as test recipients, be added to a PHP mail script?

To add additional recipients, such as test recipients, to a PHP mail script, you can simply include their email addresses in the `$to` variable separated by commas. This will ensure that the email is sent to all recipients listed in the `$to` variable.

$to = 'recipient1@example.com, recipient2@example.com, testrecipient@example.com';
$subject = 'Subject of the email';
$message = 'Body of the email';

$headers = 'From: sender@example.com' . "\r\n" .
    'Reply-To: sender@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);