Home / MCQ Bank / Computer
Computer Html Forms Handling

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>" ); ?>

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • Swapna Lawrence you are really pretty !

Related Computer Questions

How many times is the function recursive_min_element() called when the following code is executed? int min_of_two(int a, int b) { if(a < b) return a; return b; } int recursive_min_element(int *arr, int len, int idx) { if(idx == len - 1) return arr[idx]; return min_of_two(arr[idx], recursive_min_element(arr, len, idx + 1)); } int main() { int n = 10, idx = 0, arr[] = {5,2,6,7,8,9,3,-1,1,10}; int min_element = recursive_min_element(arr,n,idx); printf("%d",min_element); return 0; } In data science, what does "consent withdrawal" mean in the context of data collection? In LINQ, what is the purpose of the Where operator? What will be the output of the following code? #include <iostream> using namespace std; int main() { int arr[] = {1,2,3,4,5,6}; int n = sizeof(arr)/sizeof(arr[0]); int d=4; int temp[10]; for(int i=0;i<d;i++) temp[i]=arr[i]; int j=0; for(int i=d;i<n;i++,j++) arr[j]=arr[i]; int k=0; for(int i=n-d;i<n;i++,k++) arr[i]=temp[k]; for(int i=0;i<n;i++) cout<<arr[i]<<" "; return 0; } How to assign values to variable using property?