From 554e4bfbec9c1d6b06ebbd2f546118b45fea967d Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Mon, 16 May 2005 03:47:13 +0000 Subject: [PATCH] added markup; example entities git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@186449 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/runkit/sandbox.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/reference/runkit/sandbox.xml b/reference/runkit/sandbox.xml index 38febf57e1..b47a94666a 100644 --- a/reference/runkit/sandbox.xml +++ b/reference/runkit/sandbox.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,8 @@ &reftitle.description; - Instantiating the Runkit_Sandbox class creates a new thread with its own scope + Instantiating the Runkit_Sandbox + class creates a new thread with its own scope and program stack. Using a set of options passed to the constructor, this environment may be restricted to a subset of what the primary interpreter can do and provide a safer environment for executing user supplied code. @@ -39,10 +40,12 @@ safe_mode - If the outer script which is instantiating the Runkit_Sandbox class + If the outer script which is instantiating the + Runkit_Sandbox class is configured with safe_mode = off, then safe_mode may be turned on for the sandbox environment. This setting can not - be used to disable safe_mode when it's already enabled in the outer script. + be used to disable safe_mode when it's already + enabled in the outer script. @@ -51,7 +54,8 @@ open_basedir may be set to any path below the - current setting of open_basedir. If open_basedir is not set within the global scope, + current setting of open_basedir. If + open_basedir is not set within the global scope, then it is assumed to be the root directory and may be set to any location. @@ -147,6 +151,7 @@ $sandbox->eval('var_dump(isset($foo));'); ]]> + &example.outputs; str_replace('a','f','abc'); ]]> + &example.outputs; str_replace('a',$sandbox->foo,'a'); ]]> + &example.outputs;