메소드 |
설명 |
|
expectException ( $exception ) |
|
|
setUp ( ) |
Sets up the test |
|
test ( ) |
|
|
test2 ( ) |
|
|
testAllowsReferences ( ) |
Test whether sandbox allows references |
|
testAllowsStaticVariableCreation ( ) |
Test whether sandbox allows static variable creation |
|
testAllowsVariableCreation ( ) |
Test whether sandbox allows variable creation |
|
testAutowhitelistTrustedCode ( ) |
Test whether sandbox autowhitelists trusted code |
|
testCallbackViolations ( ) |
Test whether sandbox disallows violating callbacks |
|
testCallbackViolationsWithStringManipulation ( ) |
Test whether sandbox disallows violating callbacks even with manipulated sandboxed strings |
|
testConvertErrors ( ) |
Test whether sandbox converts errors to exceptions |
|
testCustomErrorHandler ( ) |
Test whether sandbox custom error handler intercepts errors |
|
testCustomExceptionHandler ( ) |
Test whether sandbox custom exception handler intercepts exceptions |
|
testCustomFunctionValidationFailure ( ) |
Test whether sandbox custom function validation succeeds |
|
testCustomFunctionValidationSuccess ( ) |
Test whether sandbox custom function validation succeeds |
|
testCustomValidationErrorHandler ( ) |
Test whether sandbox custom validation error handler intercepts validation Errors |
|
testDisallowsAliases ( ) |
Test whether sandbox disallows aliases (aka uses) |
|
testDisallowsBackticks ( ) |
Test whether sandbox disallows backtick execution |
|
testDisallowsCasting ( ) |
Test whether sandbox disallows casting |
|
testDisallowsClasses ( ) |
Test whether sandbox disallows classes |
|
testDisallowsClosures ( ) |
Test whether sandbox disallows closures |
|
testDisallowsConstants ( ) |
Test whether sandbox disallows classes |
|
testDisallowsDie ( ) |
Test whether sandbox disallows die keyword |
|
testDisallowsErrorSuppressing ( ) |
Test whether sandbox disallows error suppressing |
|
testDisallowsEscaping ( ) |
Test whether sandbox disallows escaping to HTML |
|
testDisallowsEval ( ) |
Test whether sandbox disallows eval keyword |
|
testDisallowsExit ( ) |
Test whether sandbox disallows exit keyword |
|
testDisallowsFunctions ( ) |
Test whether sandbox disallows functions |
|
testDisallowsGlobals ( ) |
Test whether sandbox disallows globals |
|
testDisallowsHalting ( ) |
Test whether sandbox disallows halting |
|
testDisallowsInclude ( ) |
Test whether sandbox disallows include keyword |
|
testDisallowsIncludeOnce ( ) |
Test whether sandbox disallows include_once keyword |
|
testDisallowsInterfaces ( ) |
Test whether sandbox disallows interfaces |
|
testDisallowsNamespaces ( ) |
Test whether sandbox disallows namespaces |
|
testDisallowsNonwhitelistedClass ( ) |
Test whether sandbox disallows non-whitelisted class |
|
testDisallowsNonwhitelistedFunction ( ) |
Test whether sandbox disallows non-whitelisted functions |
|
testDisallowsNonwhitelistedType ( ) |
Test whether sandbox disallows non-whitelisted class type |
|
testDisallowsRequire ( ) |
Test whether sandbox disallows require keyword |
|
testDisallowsRequireOnce ( ) |
Test whether sandbox disallows require_once keyword |
|
testDisallowsTraits ( ) |
Test whether sandbox disallows traits |
|
testHelloWorldEchoed ( ) |
Test whether sandbox echoes expected value |
|
testHelloWorldReturned ( ) |
Test whether sandbox returns expected value |
|
testMagicConstants ( ) |
Test whether sandbox disallows violating callbacks |
|
testSandboxedStringsMimicStrings ( ) |
Test whether sandboxed strings do not cause conflicts with is_string, is_object, or is_scalar |
|
testSandboxedStringsSatisfyIntval ( ) |
Test whether sandboxed strings do not cause conflicts with intval |
|
testSettingAndUnsettingOptions ( ) |
|
|
testSettingAndUnsettingOptionsViaCompatibilityAPI ( ) |
|
|
testStaticTypeOverwriting ( ) |
|
|
testWhitelistMagicConstants ( ) |
Test whether sandbox disallows violating callbacks |
|