【单选题】【消耗次数:1】
PHP中存在多种变量,其中在函数外定义的变量称之为( )。
局部变量
变量
超全局变量
全局变量
参考答案:
复制
纠错
相关题目
【单选题】 PHP中存在多种变量,其中在函数内部定义的变量称之为( )。
①  变量
②  局部变量
③  全局变量
④  内部变量
【单选题】 PHP中存在多种变量,其中在函数内部定义的变量称之为( )。
①  变量
②  局部变量
③  全局变量
④  内部变量
【单选题】 当全局变量与函数内部的局部变量同名时,则在函数内部( )。
①  全局变量与局部变量都无效
②  全局变量有效
③  局部变量有效
④  全局变量与局部变量都有效
【单选题】 当全局变量与函数内部的局部变量同名时,则在函数内部( )
①  全局变量与局部变量都无效
②  全局变量有效
③  局部变量有效
④  全局变量与局部变量都有效
【单选题】 局部变量可以隐藏全局变量,那么在有同名全局变量和局部变量的情形时,可以用()提供对全局变量的访问。
①  作用域运算符
②  指针运算符
③  提取运算符
④  插入运算符
【判断题】 C语言中全局变量和局部变量不能同名。
①  正确
②  错误
【判断题】 编码时尽量多用全局变量。()
①  正确
②  错误
【单选题】 如果局部变量和成员变量同名,如何在局部变量作用域内引用成员变量?( )
①  不能引用,必须改名,使它们的名称不相同
②  在成员变量前加 this,使用 this 访问该成员变量
③  在成员变量前加 super,使用 super 访问该成员变量
④  不影响,系统可以自己区分
【单选题】 按照变量的作用域可将变量划分为()。
①  公有、私有、系统
②  全局变量、模块级变量、过程级变量
③  动态、常数、静态
④  Public 、 Private、 Protected
【单选题】 C++语言中所有在函数中定义的变量,连同形式参数,都属于()
①  全局变量
②  局部变量
③  静态变量
④  函数
随机题目
【简答题】 Translate the following sentence into Chinese.Just show th clerk a piece of paper with my name written on it
【简答题】 Translate the following sentence into English.教师首先要考虑的事情之一是唤起学生的兴趣,激发他们的创造力。
【简答题】 Fill in the blanks with the words or phrases given below. Change the form if necessary.[evaluate; expand; reveal; fertile; convince; impulse; reach; transfer; concrete; productive; take up; right away; fall asleep; back and forth; take advantage of; try to]2. Thehours that a child plays incompany with his peers[填空1]his life space and provide him with experience in getting along with others.
【简答题】 Fill in the blanks with the words given below. Change the form if necessary.[sharp; sustainable; soar; grim; release; bleak; initiative; insight; negative; alter]7. Millennium Development Goals isa UN[填空1]that aims to reduce socioeconomic problems by 2015.
【简答题】 Fill in the blanks with the words given below. Change the form if necessary.[significant; consequent; conduct; fulfill; assess; competence; obtain; efficiency; convention; charge]4. Julian says he hopes to get a job and find a way to[填空1]a college educatioin.
【简答题】 Fill in the blanks with the words or phrases given below. Change the form if necessary.[capture; desperate; turn out; so far; in question; domestic; equivalent; exploit; inspire; apart from; be obsessed by; in that case; promote; intimate; recession; trend; go by; take refuge in]2. Latelythere has been a[填空1]towards hiring younger, cheaper employees.
【简答题】 Fill in the blanks with the words or phrases given below. Change the form if necessary.[evaluate; expand; reveal; fertile; convince; impulse; reach; transfer; concrete; productive; take up; right away; fall asleep; back and forth; take advantage of; try to]3. Every term students are given the opportunity to[填空1]their instructors.
【简答题】 Fill in the blanks with the words or phrases given below. Change the form if necessary.[evaluate; expand; reveal; fertile; convince; impulse; reach; transfer; concrete; productive; take up; right away; fall asleep; back and forth; take advantage of; try to]9. What she said[填空1]me that I was mistaken.
【简答题】 Fill in the blanks with the words or phrases given below. Change the form if necessary.[compromise; doom; due to; financial; rarely; security; source; survey; unique; valid]1. The project was[填空1]right from the beginning.
【简答题】 Fill in the blanks with the words given below. Change the form if necessary.[mingle; harden; disapproval; due; resonate; instinct; fretful; awkward; suspect; feature]9. His laughter[填空1]among the hollow rocks.