Single Choice Not Set

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

ID: #2375 Variables in Php MCQ 706 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

Explanation

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

Share This Question

Challenge a friend or share with your study group.