I have written a new script.
The code is below.
What will be printed on screen?

<?php

$str1 = 'hello world!';
$str2 = 'I hate PHP!';
$str3 = 'I do hate in class tests!';


echo '<p>In PHP class, I have learned to print out $str1</p>';

echo "Since attending Wednesday sessions, I have discovered ".str_replace('hate','love',$str2)."</p>";

echo "<p>I can't say ".rtrim($str2,'!').", but $str3</p>";


?>

In PHP class, I have learned to print out $str1

Since attending Wednesday sessions, I have discovered I love PHP!

I can't say I hate PHP, but I do hate in class tests!