![]() ![]() Validate Operators: - Default Value: true.If this flag isĭisabled then all keyword validation, including custom keyword validation, will be ignored. If this flag is set the sandbox will validate keywords within the sandboxed code. Validate Keywords: - Default Value: true.If this flag isĭisabled then all trait validation, including custom trait validation, will be ignored. If this flag is set the sandbox will validate traits within the sandboxed code. If this flag isĭisabled then all interface validation, including custom interface validation, will be ignored. If this flag is set the sandbox will validate interfaces within the sandboxed code. Validate Interfaces: - Default Value: true.If this flag isĭisabled then all class validation, including custom class validation, will be ignored. If this flag is set the sandbox will validate classes within the sandboxed code. Validate Classes: - Default Value: true.If this flag isĭisabled then all alias validation, including custom alias validation, will be ignored. If this flag is set the sandbox will validate aliases within the sandboxed code. ![]() Validate Aliases (aka Use): - Default Value: true.If this flag isĭisabled then all namespace validation, including custom namespace validation, will be ignored. If this flag is set the sandbox will validate namespaces within the sandboxed code. Validate Namespaces: - Default Value: true.If this flag isĭisabled then all magic constant validation, including custom magic constant validation, will be ignored. If this flag is set the sandbox will validate magic constants within the sandboxed code. Validate Magic Constants: - Default Value: true.If this flag isĭisabled then all constant validation, including custom constant validation, will be ignored. If this flag is set the sandbox will validate constants within the sandboxed code. Validate Constants: - Default Value: true.If this flag isĭisabled then all superglobal validation, including custom superglobal validation, will be ignored. If this flag is set the sandbox will validate superglobals within the sandboxed code. Validate Superglobals: - Default Value: true.If this flag isĭisabled then all global validation, including custom global validation, will be ignored. If this flag is set the sandbox will validate globals within the sandboxed code. Validate Globals: - Default Value: true.If this flag isĭisabled then all variable validation, including custom variable validation, will be ignored. If this flag is set the sandbox will validate variables within the sandboxed code. Validate Variables: - Default Value: true.If this flag isĭisabled then all function validation, including custom function validation, will be ignored. If this flag is set the sandbox will validate functions within the sandboxed code. Validate Functions: - Default Value: true.Example: $sandbox->setOption('allow_functions', false) Option Descriptions $sandbox->allow_functions = true ) or through the setOption()Īnd setOptions() instance methods. The flag's public instance property (e.g. ![]() Options are configured in the PHPSandbox class by accessing You have four main areas of configuration available in PHPSandbox: Options, $traits) $sandbox = \PHPSandbox\PHPSandbox::create($options,Ĭlick the "Configuring PHPSandbox" tab below to continue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |