<<< Previous question <<< Question ID#0507.md >>> Next question >>>
What is the correct way to add 1 to the $count
variable?
- A)
<?php $count++;
- B)
<?php $count += 1;
- C)
<?php ++count
- D)
<?php count++
Answer
Answer: A, B
What is the correct way to add 1 to the $count
variable?
<?php $count++;
<?php $count += 1;
<?php ++count
<?php count++
Answer: A, B