Programming Languages PHP Objective
Jan 02, 2013

Which one is used before a variable in PHP?

Choose the correct answer:
A) #
B) $
C) %
D) &
Detailed Explanation

Explanation: In PHP, variables are prefixed with the dollar sign ($). This is a fundamental syntax rule in PHP that distinguishes variables from other identifiers. For example: $name, $age, $data.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback