php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41123 $GLOBALS incomplete
Submitted: 2007-04-17 14:28 UTC Modified: 2007-04-25 01:00 UTC
From: tschmieder at bitworks dot de Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.2.1 OS: Debian 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tschmieder at bitworks dot de
New email:
PHP Version: OS:

 

 [2007-04-17 14:28 UTC] tschmieder at bitworks dot de
Description:
------------
VERSION is 5.2.0-8etch1 distributed with debian 4.0!


After switching in php.ini to

  register_long_arrays = off

not still the HTTP_*_VARS vanished, but also the $_SERVER disappeared

Reproduce code:
---------------
switch off in ini register_long_arrays


Use either

  <?php   ### get_globals.php ###

     echo "<pre>\n";
     print_r($GLOBALS);
     echo "<pre>\n";

  ?>

or

  <?php   ### get_globals.php ###

     echo "<pre>\n";
     print_r($GLOBALS);
     print_r($_SERVER);
     echo "<pre>\n";
   
   ?>


The different behavior seams mystical.




Expected result:
----------------
please try yourself

Actual result:
--------------
please try yourself

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-17 14:38 UTC] tony2001@php.net
Please upgrade to 5.2.1 first.
 [2007-04-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 21:01:29 2024 UTC