What Will Be The Value Of The Variable Input In The Following #198
What will be the value of the variable $input in the following PHP code?</p> <pre><code class="language-php" line="1"> <?php $input = "Swapna<td>Lawrence</td>you are really<i>pretty</i>!"; $input = strip_tags($input,"<i></i>"); echo $input; ?> </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP File and Session Handling - PHP HTML Forms - Quiz No.1.
What will be the value of the variable $input in the following PHP code?
<?php $input = "Swapna<td>Lawrence</td>you are really<i>pretty</i>!"; $input = strip_tags($input,"<i></i>"); echo $input; ?>
Swapna Lawrence you are really pretty!
Swapna <td>Lawrence</td> you are really<i>pretty</i>!
Swapna <td>Lawrence</td> you are really pretty!
Swapna Lawrence you are really<i>pretty</i>!