脚本错误,如使用未初始化的变量等。
Scripting errors such as using uninitialized variables, etc.
正在初始化一个变量未初始化的变量的法律?
Is initializing a variable with an uninitialized variable legal?
这有助于避免因意外使用了未经初始化的变量而导致的bug。
This helps avoid bugs that result from unintentional use of uninitialized variables.
因此,若无密码键入,传递到该函数的是未初始化的变量和脚本错误结果。
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.
另外,对一个没有初始化的变量进行递增操作要比初始化过的来得慢。
In addition, incrementing an uninitialized variable is much slower than if it was initialized.
每当使用未初始化的变量(假定具有值)时,您将得到一条 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.
请注意使用了先前初始化的变量以及指示用于内存初始化的GFP屏蔽第四个参数。
Note that you use your previously initialized variables along with a fourth parameter that indicates the GFP mask for memory initialization.
当需要没有初始化的变量,PHP解释器会自动创建一个变量,但依靠这个特性来编程并不是一个好主意。
Always initialize your variables. PHP will automatically create a variable if it hasn't been initialized, but it's not good practice to rely on this feature.
代码行 xdebug.show_local_vars =1将打印每个函数调用的最外围中的所有局部变量,包括尚未初始化的变量。
The line xdebug.show_local_vars = 1 prints all local variables in the outermost scope of each function call, including variables not yet initialized.
ThreadLocal变量与常规变量的不同之处在于,每个线程都有其各自初始化的变量实例,这通过get()或set()方法予以评估。
ThreadLocal variables are different from normal variables in that each thread has its own individually initialized instance of the variable, which it accesses via get() or set() methods.
设置更改后,每当使用未初始化的变量、进行错误的文件访问及发生其他(大多数)无害错误时,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.
只有复杂的变量需要初始化。
您可以声明并初始化一个测试变量,设置它的范围,并更改它的值。
You can declare and initialize a test variable, set its scope, and change its value.
第一个状态是初始化一些基本变量,计算总的问题数和记录测试的开始时间。
The first state is to initialize several essential variables, count the total question, and record the quiz start time.
否则,该变量在使用时将是未初始化的。
Otherwise, the variable will be uninitialized when it is used.
忘记初始化,忘记初始化变量是一个很常见的错误,运行完一个循环之后,当需要再次初始化时。
Initialization. A very common bug is to initialize a variable. Go through a loop, and then forget to reinitialize it when it needs to be reinitialized again.
正如我们在前面提到过的,属于业务对象类型的变量未自动初始化。
As we mentioned before, variables that are business objects are not automatically initialized.
更复杂的初始化脚本能做更多的事,包括声明由服务器维护的全局变量以及设置访问权限等等。
More elaborate initialization scripts can do a lot more, declaring global variables to be maintained by the server, setting up access privileges, and so on.
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.
两个关键字可以在抽象类型中被用来声明“抽象”(没有初始化的)的变量。
Both keywords can be used to declare "abstract" (uninitialized) variables in abstract types.
然后初始化变量,通过调用unpack来得到串的长度。
We initialize our variables, finding the length of the string from a call to unpack .
jsp—初始化tools. jsp使用的变量。
InitTools.jsp - Initializes variables used by the Tools.jsp.
接下来,您需要初始化该流程后面要使用的一些变量。
Next, you need to initialize some of the variables that the process USES later.
可以在自己的变量初始化中使用一行或两行。
You can use one line or two in your own variable initializations.
它们允许您在应用程序中初始化一些变量或对象,然后在应用程序的其他位置使用。
They allow you to have variables or objects that can be initialized early in your application, and then can be leveraged anywhere in the application.
可以使用初始化器列表对标量变量进行初始化,在这种情况下应用一般的类型窄化规则。
It's okay to use initializer lists to initialize scalar variables, and the usual rule of type narrowing applies in such cases.
可以使用初始化器列表对标量变量进行初始化,在这种情况下应用一般的类型窄化规则。
It's okay to use initializer lists to initialize scalar variables, and the usual rule of type narrowing applies in such cases.
应用推荐