what is output of echo 1< 2 and echo 1 >2
Answers were Sorted based on User's Feedback
Answer / sanjaytiwari345
echo 1<2 output is 1 and echo 1>2 is no output
Is This Answer Correct ? | 39 Yes | 3 No |
output of echo 1<2 will be 1
output of echo 1>2 will be nothing
Is This Answer Correct ? | 32 Yes | 2 No |
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 |
Answer / krunal gohel
echo 1<2 output is 1 and echo 1>2 output is nothing
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ravindra nath verma
echo 1< 2; output is 1
echo 1 >2; output is nothing
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / ravindra saxena
echo 1<2 output is 1 and echo 1>2 output is 0
Is This Answer Correct ? | 3 Yes | 2 No |
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 |
Which function would you use to read a line of data from a file in php?
Write a program to get lcm of two numbers using php?
How can we execute a php script using command line?
Can you use both this () and super () in a constructor?
Swap two variables value without using third variable in php ?
How could I install codeignitor ?
What is in php 7?
Differences between get and post methods?
How to find datatype of variable in php?
What is properties of class?
Explain the changes in php versions?
What is Joomla?