Computer Science, asked by heplme721, 11 months ago

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 cutieeee10101
1
hey mate........the answer is

C. My name is Will Pitt I am not great
Answered by Anonymous
0

&lt;b&gt;

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