Duplicate example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198347 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-10-13 12:05:32 +00:00
parent 063c60d9c3
commit 43080398da

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.52 $ -->
<!-- $Revision: 1.53 $ -->
<!-- Purpose: basic.session -->
<!-- Membership: core -->
@ -275,24 +275,6 @@ session_unregister('count');
is recommended for both security and performance reasons.
</para>
</caution>
<example>
<title>
Registering a variable with <link
linkend="ini.register-globals">register_globals</link>
enabled
</title>
<programlisting role="php">
<![CDATA[
<?php
if (! isset($_SESSION['count'])) {
$_SESSION['count'] = 1;
} else {
$_SESSION['count']++;
}
?>
]]>
</programlisting>
</example>
</para>
<para>
If <link