L Linh Chi New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $On_e = 1; $tw_o = 2; $thre_e = 3; $fou_r = 4; echo $on_e / $tw_o + $thre_e / $fou_r; ?> A. 0.75 B. 0.05 C. 1.25 D. Error
What will be the output of the following PHP code? Code: <?php $On_e = 1; $tw_o = 2; $thre_e = 3; $fou_r = 4; echo $on_e / $tw_o + $thre_e / $fou_r; ?> A. 0.75 B. 0.05 C. 1.25 D. Error
T Thành Đạt New member Sep 20, 2021 #2 Answer: a Explanation: Since the variable initialised is $On_e and the variable in the echo statement is $on_e the echo statement treats $on_e as 0; Upvote 0 Downvote
Answer: a Explanation: Since the variable initialised is $On_e and the variable in the echo statement is $on_e the echo statement treats $on_e as 0;