You can't do it in PHP per se.
You could create a PHP conditional that then displays an HTML construct with a time-delayed META REFRESH construct (10 second delay shown)...
You would insert a real condition where {condition} is
<?php
if (({condition} == {we're staying on this page})) {
?>
<html>
<head><title>Elvis's Homepage</title></head>
<body>
<!-- Display page normally -->
</body>
</html>
<?
} else {
?>
<html>
<head><title>Redirecting you...</title>
<meta http-equiv="refresh" content="10;URL=http://www.elvis.com/elvispage2.php">
</head>
<body>
<b>You are now being redirected to elvispage2.php...</b>
</body>
</html>
<?
}
?>