PHP MCQ Variables in Php MCQ Question #2375
MCQ Single Best Answer Not Set

QWhat will be the output of the following PHP code?
< ?php 
int $one = 1;
echo "$one";
?>

ID: #2375 Variables in Php MCQ 694 views
Question Info
#2375Q ID
Not SetDifficulty
Variables in Php MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • B 1
  • C $one
  • D Error
Correct Answer: Option D

Explanation

Unlike other programming languages, there are no data types in PHP.

Share This Question

Challenge a friend or share with your study group.