【单选题】【消耗次数:1】
PHP中用于判断文件是否存在的函数是( )。
fileinfo()
file_exists()
fileperms()
filesize()
参考答案:
复制
纠错
相关题目
【单选题】 PHP中用于判断文件是否存在的函数是( )。
①  fileinfo()
②  file_exists()
③  fileperms()
④  filesize()
【单选题】 PHP中获取文件类型的函数是( )。
①  fileinfo()
②  filesystem()
③  filetype()
④  fileowner()
【简答题】 利用File类的[填空1]方法可以确定指定的文件是否存在。
【单选题】 测试文件是否结束函数的函数名是(   )
①  feof
②  EOF
③  eof
④  FEOF
【单选题】 PHP中存在多种变量,其中在函数内部定义的变量称之为( )。
①  变量
②  局部变量
③  全局变量
④  内部变量
【单选题】 PHP中存在多种变量,其中在函数外定义的变量称之为( )。
①  局部变量
②  变量
③  超全局变量
④  全局变量
【单选题】 PHP中存在多种变量,其中在函数内部定义的变量称之为( )。
①  变量
②  局部变量
③  全局变量
④  内部变量
【单选题】 下面的程序段创建了BufferedReader类的对象in,以便读取本机c盘my文件夹下的文件1.txt。File构造函数中正确的路径和文件名的表示是( )。 File f = new File(填代码处); file =new FileReader(f); in=new BufferedReader(file);
①  ./1.txt
②  ../my/1.txt
③  c:\\my\\1.txt
④  c:\ my\1.txt
【判断题】 判断对错:判断现象之间是否存在相关关系必须计算相关系数。( )
①  正确
②  错误
【单选题】 在PHP程序开发中,通过( )函数创建Cookie。
①  setcookie()
②  set_cookie()
③  cookie()
④  以上答案都不对
随机题目
【单选题】 Its an important component of preschool education to help and instruct young children to develop a positive ______.
①  self-reality
②  self-evidence
③  self-service
④  self-concept
【单选题】 You ____ business interfering with my affairs.
①  have none
②  have no
③  have none of the
④  have nothing like
【单选题】 Whatwereyoudoing ______ therainstormcame?
①  while
②  when
③  before
④  after
【单选题】 We looked for a table to sit down, but they were all ____.
①  reserved for
②  engaged in
③  used up
④  taken up
【单选题】 It is ____ with the customer not to let the shop assistants guess what she really likes and wants until the last moment.
①  in her honor
②  on her honor
③  a point of honor
④  an honor
【单选题】 But the Swiss discovered long years ago that constant warfare brought them ____suffering and poverty.
①  anything but
②  nothing but
③  none other than
④  no more than
【单选题】 Information and opinion gap exercises have to have some content ___ talking about.
①  worthwhile
②  worthily
③  worth
④  worthy
【单选题】 Jane tried to ____ the doorman with money, but she failed.
①  bribe
②  corrupt
③  award
④  endow
【单选题】 He packed an ____ shirt in case he had to stay another day.
①  spare
②  unnecessary
③  excessive
④  extra
【单选题】 I was awfully tired when I got home from work, but a half hour nap ____ me.
①  revived
②  released
③  relieved
④  recovered