What will be the output of the following PHP code? [code] <?php $color = "red"; $color = "green"; echo "$color"; ?> [/code]

Nguyễn Tân

New member
What will be the output of the following PHP code?
Code:
<?php
$color = "red";
$color = "green";
echo "$color";
?>
A. red
B. green
C. red green
D. error
 

Tìm kiếm

Back
Top