脚本错误,如使用未初始化的变量等。
Scripting errors such as using uninitialized variables, etc.
正在初始化一个变量未初始化的变量的法律?
Is initializing a variable with an uninitialized variable legal?
因此,若无密码键入,传递到该函数的是未初始化的变量和脚本错误结果。
Hence, with no password entered, the function is passed an uninitialized variable and a script error results.
有时我们很幸运,使用未初始化的变量导致程序在运行时突然崩溃。
Sometimes, we're lucky and using an uninitialized variable results in an immediate crash at run time.
每当使用未初始化的变量(假定具有值)时,您将得到一条 E_NOTICE。
You will get an E_NOTICE any time an uninitialized variable is used in a way that assumes it has a value.
如果编译器检测到使用了可能未初始化的变量,就会生成CS0165。
If the compiler detects the use of a variable that might not have been initialized, it generates CS0165.
设置更改后,每当使用未初始化的变量、进行错误的文件访问及发生其他(大多数)无害错误时,PHP都会报告一条警告消息,但也存在这是一个潜在攻击矢量的可能性。
This will result in PHP reporting a warning every time an uninitialized variable is used, each bad file access, and other (mostly) harmless errors, but might also represent a potential attack vector.
正如我们在前面提到过的,属于业务对象类型的变量未自动初始化。
As we mentioned before, variables that are business objects are not automatically initialized.
E_ALL对于开发过程来说有点太细,因为它在屏幕上为一些小事(例如变量未初始化)也显示提示,会搞糟浏览器的输出。
E_ALL is a little too picky for my liking in the development process because it clutters the browser output by displaying notices on the screen for small things like uninitialized variables.
否则,该变量在使用时将是未初始化的。
Otherwise, the variable will be uninitialized when it is used.
赋值中的表达式访问变量的未初始化部分。
The expression in an assign accesses an uninitialized part of a variable.
未初始化变量是如何得到一个随机的价值?
因此,恰好在随后使用相同堆栈区域的未初始化堆栈变量就可能返回上次使用该堆栈内存时留下的值。
Therefore, subsequent, uninitialized stack variables that happen to use the same stack area can return values left over from the prior use of this stack memory.
使用初始化是避免类型中出现未初始化变量的最简单的方法。
Using initializers is the simplest way to avoid uninitialized variables in your types, but it's not perfect.
使用初始化是避免类型中出现未初始化变量的最简单的方法。
Using initializers is the simplest way to avoid uninitialized variables in your types, but it's not perfect.
应用推荐