What will be the output of the following PHP code?
<?php $name = "What is your name?" if (preg_match("/name/"),$name) echo "My name is Will Pitt "; else echo "My name is not Will Pitt "; if (preg_match("/are/")) echo "I am great" else echo "I am not great"; ?>
A.My name is Will Pitt I am great
B.My name is not Will Pitt I am great
C.My name is Will Pitt I am not great
D.My name is not Will Pitt I am not great
Answers
Answered by
1
hey mate........the answer is
C. My name is Will Pitt I am not great
C. My name is Will Pitt I am not great
Answered by
0
HeYaA mAtE
Here is your answer:-
___________________________
▇ ▅ █ ▅ ▇ ▂ ▃ ▁ Option C▁ ▅ ▃ ▅ ▅ ▄ ▅ ▇
____________________________
==>> Because this option match's the most from your answer.
==>> This is the right option for your question.
==>> Mark it as brain list .
Hope it helps you
Thanks
Similar questions
Math,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Physics,
1 year ago
Math,
1 year ago