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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Wed Oct 05 09:05:52 2022 UTC