A
Q. What will be the output of the following PHP code?
Code:
<?php
$num = 10120;
$num1 = (array) $num;
echo $num1[0];
?>
$num = 10120;
$num1 = (array) $num;
echo $num1[0];
?>
- Correct Answer - Option(A)
- Views: 19
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.