• 2022-06-06
    <?php $A=array_fill(-5,3,"Hello"); for ($i=0; $i<5; $i++){ echo "\$A[$i] = ".$A[$i]." "; } ?>以下程序运行结果为( )。
    A: $A[0] = Hello $A[1] = Hello $A[2] = $A[3] = $A[4] =
    B: $A[0] = Hello $A[1] = Hello $A[2] = Hello $A[3] = $A[4] =
    C: $A[0] = $A[1] = $A[2] = $A[3] = $A[4] =
    D: 程序运行提示错误