What will the value of $x be at the end of this script?

1
2
3
4
5
6
<?PHP
$x=0;
$x=$x+1;
echo $x. value”;
$x++;
?>

Select one:

  • a. 1
  • b. 2
  • c. 3
  • d. There will be an error

The correct answer is: 2

Related Posts

0 Comments

12345

    00