5 years ago in Php Variables and Syntax

$a = 10;
$b = $a;
$b = 20;
Result of echo $a;

[A] 10
[B] 20
[C] 30
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 52
Correct 21
Incorrect 15
Viewed 16

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 5 days ago

Shamsa hafeez from Lahore, Pakistan is saying 20 is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying 10 is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying 20 is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying 10 is correct answer

Samir Pawar
Samir Pawar - 8 months ago

Samir Pawar from Pune, India is saying 10 is correct answer

Related Questions

How to define constant in php ?

  • [A] $
  • [B] define
  • [C] #define
  • [D] All of the above

Output of the code:- echo 'This is \'my\' string';

  • [A] • This is 'my' string
  • [B] • This is \'my\' string
  • [C] • This is my string
  • [D] • None of the above

Output of the code.

  • [A] Hello $who
  • [B] Hello World
  • [C] 'Hello World'
  • [D] None of the above