Is it possible to use target="_blank" in PHP to open a new window?

Yes, it is possible to use target="_blank" in PHP to open a new window. You can achieve this by using the header() function in PHP to set the location header with the target attribute set to "_blank". This will open the link in a new window or tab.

<?php
$url = "https://www.example.com";
header("Location: $url", true, 301);
header("Content-Type: text/html");
echo "<script>window.open('$url', '_blank');</script>";
exit;
?>