correcting the example (register_globals)

reformating to use screen notation


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143149 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-10-26 17:35:36 +00:00
parent 00c345732c
commit eae402ffc2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.64 -->
<refentry id="function.ini-get">
<refnamediv>
@ -49,17 +49,22 @@ print 'register_globals = ' . ini_get('register_globals') . "\n";
print 'post_max_size = ' . ini_get('post_max_size') . "\n";
print 'post_max_size+1 = ' . (ini_get('post_max_size')+1) . "\n";
/*
This script will produce:
display_errors = 1
register_globals =
post_max_size = 8M
post_max_size+1 = 9
*/
?>
]]>
</programlisting>
<para>
This script will produce:
</para>
<screen>
<![CDATA[
display_errors = 1
register_globals = 0
post_max_size = 8M
post_max_size+1 = 9
]]>
</screen>
</informalexample>
</para>
</note>