Add PHP closing tags (despite optional)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185782 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-05-04 13:42:47 +00:00
parent 9c43f894a1
commit 5b510860f8

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="runkit.sandbox">
<refnamediv>
@ -112,6 +112,7 @@ $options = array(
$sandbox = new Runkit_Sandbox($options);
/* Non-protected ini settings may set normally */
$sandbox->ini_set('html_errors',true);
?>
]]>
</programlisting>
</example>
@ -142,6 +143,7 @@ $sandbox->eval('echo "$foo\n"; $bar = $foo . "baz";');
echo "{$sandbox->bar}\n";
if (isset($sandbox->foo)) unset($sandbox->foo);
$sandbox->eval('var_dump(isset($foo));');
?>
]]>
</programlisting>
</example>
@ -176,6 +178,7 @@ bool(false)
$sandbox = new Runkit_Sandbox();
echo $sandbox->str_replace('a','f','abc');
?>
]]>
</programlisting>
</example>
@ -203,6 +206,7 @@ $foo = 'bar';
$sandbox->foo = 'baz';
echo $sandbox->str_replace('a',$foo,'a');
echo $sandbox->str_replace('a',$sandbox->foo,'a');
?>
]]>
</programlisting>
</example>