"arguments"的翻译 使用英语:
字典 中国人-英语
例子 (外部来源,未经审查)
Accessing Arguments | Next |
Retrieving Arguments | Next |
Using the Function Arguments | The type of each argument is stored in the pval type field. |
梒 32. Accepting Arguments | Chapter 32. |
A function can take a variable number of arguments. If your function can take either 2 or 3 arguments, use the following | If your function can take either 2 or 3 arguments, use the following |
ד E 2. Variable function arguments | Variable function arguments |
Dealing with Arguments Passed by Reference | Next |
The following code checks for the correct number of arguments | Note |
The separator used in PHP generated URLs to separate arguments. | Every character in this directive is considered as separator! |
The user supplied function will be called with the following arguments | The user supplied function will be called with the following arguments |
选择分发列表arguments are host name, datetime | Select Distribution List |
Pack given arguments into binary string according to format. Returns binary string containing data. | The format string consists of format codes followed by an optional repeater argument. |
Add two GMP numbers. The result will be a GMP number representing the sum of the arguments. | The result will be a GMP number representing the sum of the arguments. |
If your function accepts arguments passed by reference that you intend to modify, you need to take some precautions. | If your function accepts arguments passed by reference that you intend to modify, you need to take some precautions. |
This multiple stage type of processing, similar to a stairway, allows convenient processing of a variable number of arguments. | This multiple stage type of processing, similar to a stairway, allows convenient processing of a variable number of arguments. |
This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets. The supported types are | The supported types are |
This function has changed it's arguments, sinceversion 4.0.6. Do NOT provide the actual xml or xsl content as 2nd and 3rd argument, as this will create a segmentation fault, in Sablotron versions up to and including 0.95. | Do NOT provide the actual xml or xsl content as 2nd and 3rd argument, as this will create a segmentation fault, in Sablotron versions up to and including 0.95. |
The optional third and fourth arguments to this function, authns and addtl are passed by reference and, if given, will be populated with Resource Records for the Authoritative Name Servers, and any Additional Records respectively. See the example below. | See the example below. |
关于这一意见的进一步讨论资料 见Edda Kristjansdottir Note The Legality of the Threat or Use of Nuclear Weapons Under Current International Law The Arguments Behind the World Court's Opinion 30 New York University Journal of International Law and Policy 291(1997 98) | For an additional discussion of the opinion, see Edda Kristjansdottir, Note The Legality of the Threat or Use of Nuclear Weapons Under Current International Law The Arguments Behind the World Court's Opinion, 30 New York University Journal of International Law and Policy 291 (1997 98). |
PHP doesn't make use of any formal function declarations this is why call syntax is always completely dynamic and never checked for errors. Checking for correct call syntax is left to the user code. For example, it's possible to call a function using only one argument at one time and four arguments the next time both invocations are syntactically absolutely correct. | Since PHP doesn 't have formal function definitions with support for call syntax checking, and since PHP features variable arguments, sometimes you need to find out with how many arguments your function has been called. |
To access arguments, it's necessary for each argument to have a clearly defined type. Again, PHP's extremely dynamic nature introduces some quirks. Because PHP never does any kind of type checking, it's possible for a caller to pass any kind of data to your functions, whether you want it or not. If you expect an integer, for example, the caller might pass an array, and vice versa PHP simply won't notice. | If you expect an integer, for example, the caller might pass an array, and vice versa PHP simply won 't notice. |