sean Sun May 15 23:47:14 2005 EDT
Modified files:
/phpdoc/en/reference/runkit sandbox.xml
Log:
added markup; example entities
http://cvs.php.net/diff.php/phpdoc/en/reference/runkit/sandbox.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/runkit/sandbox.xml
diff -u phpdoc/en/reference/runkit/sandbox.xml:1.8
phpdoc/en/reference/runkit/sandbox.xml:1.9
--- phpdoc/en/reference/runkit/sandbox.xml:1.8 Sun May 15 22:37:19 2005
+++ phpdoc/en/reference/runkit/sandbox.xml Sun May 15 23:47:13 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc.
-->
<refentry id="runkit.sandbox">
<refnamediv>
@@ -12,7 +12,8 @@
&reftitle.description;
<para>
- Instantiating the Runkit_Sandbox class creates a new thread with its own
scope
+ Instantiating the <classname>Runkit_Sandbox</classname>
+ 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 @@
<term><parameter>safe_mode</parameter></term>
<listitem>
<para>
- If the outer script which is instantiating the Runkit_Sandbox class
+ If the outer script which is instantiating the
+ <classname>Runkit_Sandbox</classname> class
is configured with <literal>safe_mode = off</literal>, 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 <literal>safe_mode</literal> when it's already
+ enabled in the outer script.
</para>
</listitem>
</varlistentry>
@@ -51,7 +54,8 @@
<listitem>
<para>
<parameter>open_basedir</parameter> 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 <literal>open_basedir</literal>. If
+ <literal>open_basedir</literal> is not set within the global scope,
then it is assumed to be the root directory and may be set to any
location.
</para>
</listitem>
@@ -147,6 +151,7 @@
]]>
</programlisting>
</example>
+ &example.outputs;
<screen>
<![CDATA[
bar
@@ -182,6 +187,7 @@
]]>
</programlisting>
</example>
+ &example.outputs;
<screen>
<![CDATA[
fbc
@@ -210,6 +216,7 @@
]]>
</programlisting>
</example>
+ &example.outputs;
<screen>
<![CDATA[
bar