Q. What will be the output of the following PHP code?
Code:
<?php $num = 10120; $num1 = (array) $num; echo $num1[0]; ?>
β
Correct Answer: (A)
10120
<?php $num = 10120; $num1 = (array) $num; echo $num1[0]; ?>
You must be Logged in to update hint/solution