PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_Beautifier » Bug #6237

SESSION variables

Details

Submitted2005-12-13 13:20 UTC
Fromrkrater at yahoo dot com
Assignedclbustos
StatusClosed
PackagePHP_Beautifier
PHP Version5.1.0
OSWin XP Pro
Roadmaps(Not assigned)

Comments

[2005-12-13 13:20 UTC] rkrater at yahoo dot com

Description:
------------
My code wasn't running because it put spaces in my SESSION variables.

Test script:
---------------
<?
$_SESSION["test$i"];
$_SESSION["test_$i"];
?>

Expected result:
----------------
<?php
$_SESSION["test$i"];
$_SESSION["test_$i"];
?>

Actual result:
--------------
<?php
$_SESSION["test $i"];
$_SESSION["test_ $i"];
?>

[2006-01-01 14:47 UTC] clbustos at php dot net

Ups! You're right, a very nasty bug!
Will be fixed on the new release.

[2006-01-26 05:36 UTC] clbustos at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

A very easy bug fix... thanks for the report :)