mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Duplicate example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198347 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
063c60d9c3
commit
43080398da
1 changed files with 1 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue