Knowee
Questions
Features
Study Tools

What will be the output of the following PHP code ?< ?php$on_e = 1;$tw_o = 2;$thre_e = 3;$fou_r = 4;echo "$on_e / $tw_o + $thre_e / $fou_r" ;?>

Question

What will be the output of the following PHP code ?< ?phpone=1;on_e = 1;tw_o = 2;three=3;thre_e = 3;fou_r = 4;echo "one/on_e / tw_o + three/thre_e / fou_r" ;?>

🧐 Not the exact question you are looking for?Go ask a question

Solution

The output of the given code will be "1 / 2 + 3 / 4".

Similar Questions

What will be the output of the following PHP code?

What will be the output of the following PHP code?< ?php$hello = "Hello World";$bye = "Bye";echo $hello;"$bye";?>

What will be the output of the following PHP code ?< ?phpone = 1;two = 2;three = 3;four = 4;echo "one / two + three / four";?>

What will be the output of the following PHP code?1.0 Marks1$z815

What will be the output of the following PHP code?< ?php$a = "clue";$a .= "get";echo "$a";?>

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.