"checking"的翻译 使用英语:
字典 中国人-英语
例子 (外部来源,未经审查)
| 瞰赽 1. Checking Constants | Checking Constants |
| 瞰赽 1. Checking a color name against a shell wildcard pattern. | Checking a color name against a shell wildcard pattern. |
| Assertions should not be used for normal runtime operations like input parameter checks. As a rule of thumb your code should always be able to work correctly if assertion checking is not activated. | As a rule of thumb your code should always be able to work correctly if assertion checking is not activated. |
| 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. |
| A standard attack tactic involves profiling a system by feeding it improper data, and checking for the kinds, and contexts, of the errors which are returned. This allows the system cracker to probe for information about the server, to determine possible weaknesses. For example, if an attacker had gleaned information about a page based on a prior form submission, they may attempt to override variables, or modify them | The PHP errors which are normally returned can be quite helpful to a developer who is trying to debug a script, indicating such things as the function or file that failed, the PHP file it failed in, and the line number which the failure occured in. |
| 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. |