网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
下面的PHP程序远程的结果是什么?( )?php$array = array( 0.1=’a’, 0.2=’b’);echo count($array);?

A.1

B.2

C.0

D.什么都没有


参考答案

更多 “ 下面的PHP程序远程的结果是什么?( )?php$array = array( 0.1=’a’, 0.2=’b’);echo count($array);? A.1B.2C.0D.什么都没有 ” 相关考题
考题 运行下面的PHP程序后,数据$array的内容是什么?( )?php$array = array(‘1’,’1’);foreach($array as $k=$v){$v = 2;} A.array(‘2’,’2’)B.array(‘1’,’1’)C.array(2,2)D.(1,1)

考题 下面的php程序运行的结果是什么?( )?php$array = array(true=’a’,1=’b’);print_r($array);? A.Array([1]=b)B.Array([true]=a [1]=b)C.Array(0=a[1]=b)D.什么都没有

考题 以下php程序的运行结果是什么?( )?php$array = array (‘3’ = ‘a’, 1.1= ‘b’, ‘c’, ‘d’);echo $array[1];? A.bB.一个警告C.dD.1

考题 下面的PHP程序运行的结果是什么?( )?phpfunction sort_my_array(}$a1 = array(3,2,1);var_dump(sort_my_array($a1)); A.NULLB.array(3){[0]=int(1) [1]=int(2) [2]=int(2)}C.bool(true)D.array(3){[2]=int(1) [1]=int(2) [0]=int(3)}

考题 下面的PHP程序运行结果是什么?( )?php$A=’hello’;function print_A(){$A = ‘php mysql!!’;Global $A;echo $A;}eho $A;print_A();? A.helloB.php mysql!!C.hello helloD.hello php mysql!!

考题 以下PHP数组函数中,能取得数组键名的函数是()。 A.Array_keysB.Array_valuesC.Array_mergeD.Array_flip

考题 3、以下那一个不是PHP数据类型的为A.integerB.friendC.booleanD.array

考题 16、若执行如下Shell程序,显示的结果为() #!/bin/bash # arraytest.sh my_array=(A B C D) echo "The output is : ${my_array[1]}"A.The output is :AB.The output is :BC.The output is :CD.The output is :D

考题 6、若执行如下Shell程序,显示的结果为() #!/bin/bash # arraytest.sh my_array=(A B C D) echo "The output is : ${my_array[1]}"A.The output is :AB.The output is :BC.The output is :CD.The output is :D