Bug #13096 Updated: session_register doesn't work with 16 character variable name
| From: | sebastian@php.net | Date: | Sun, 18 Nov 2001 06:30:54 +0000 |
| Subject: | Bug #13096 Updated: session_register doesn't work with 16 character variable name | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70781@lists.php.net to get a copy of this message | ||
ID: 13096
Updated by: sebastian
Reported By: mckaym@illyana.com
Old Status: Open
Status: Closed
Bug Type: Session related
Operating System: Windows NT 4 Sp6
PHP Version: 4.0.6
New Comment:
The following script works fine with PHP 4.1.0 RC2
<?php
session_register("MMBetaDepart","MMBetaDepartment");
echo ++$MMBetaDepartment;
echo ++$MMBetaDepart;
?>
Previous Comments:
------------------------------------------------------------------------
[2001-09-02 15:20:37] mckaym@illyana.com
Example Code:
$MMBetaDepartment = 'bad name';
$MMBetaDepart = 'good name';
session_register("MMBetaDepart","MMBetaDepartment");
echo $MMBetaDepartment;
echo $MMBetaDepart;
------------------------------------------------------------------------
[2001-09-02 15:16:28] mckaym@illyana.com
Trying to register a variable with 16 characters in it's name doesn't work
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13096&edit=1