what is output of echo 1< 2 and echo 1 >2

Answers were Sorted based on User's Feedback



what is output of echo 1< 2 and echo 1 >2..

Answer / sanjaytiwari345

echo 1<2 output is 1 and echo 1>2 is no output

Is This Answer Correct ?    39 Yes 3 No

what is output of echo 1< 2 and echo 1 >2..

Answer / imteyazhaider

output of echo 1<2 will be 1
output of echo 1>2 will be nothing

Is This Answer Correct ?    32 Yes 2 No

what is output of echo 1< 2 and echo 1 >2..

Answer / joseph

what will happened mean if true echo 1 else nothing
example
echo 5>2 ans is 1
echo 10<11 ans is 1
echo 10<9 ans nothing
so if true 1 else nothing

Is This Answer Correct ?    20 Yes 1 No

what is output of echo 1< 2 and echo 1 >2..

Answer / ajish mathew

1<2 = 1
1>2 = nothing

Is This Answer Correct ?    14 Yes 2 No

what is output of echo 1< 2 and echo 1 >2..

Answer / krunal gohel

echo 1<2 output is 1 and echo 1>2 output is nothing

Is This Answer Correct ?    5 Yes 1 No

what is output of echo 1< 2 and echo 1 >2..

Answer / ravindra nath verma

echo 1< 2; output is 1
echo 1 >2; output is nothing

Is This Answer Correct ?    3 Yes 1 No

what is output of echo 1< 2 and echo 1 >2..

Answer / ravindra saxena

echo 1<2 output is 1 and echo 1>2 output is 0

Is This Answer Correct ?    3 Yes 2 No

what is output of echo 1< 2 and echo 1 >2..

Answer / lalit kumar sharma

1>2=0
1<2=1
because it return only TRUE value that is 1<2

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More PHP Interview Questions

Does php support inheritance?

0 Answers  


What function should you use to join array elements with a glue string?

0 Answers  


If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

0 Answers  


Write the statements that are used to connect php with mysql

0 Answers  


How can I maintain the count of how many persons have hit my site?

1 Answers   MTOG, Rushmore Consultancy,






Whhat is a Functions

1 Answers   IQ,


How to enable parsing?

0 Answers  


What is php in full?

0 Answers  


Is php difficult to learn?

0 Answers  


Does facebook use php framework?

0 Answers  


How do I run a php script in windows?

0 Answers  


m new to xampp i want to configure file server in xampp... is it possible ??? if so help me....

0 Answers  


Categories