php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7599 print_r($GLOBALS)
Submitted: 2000-11-02 14:39 UTC Modified: 2000-11-02 18:24 UTC
From: ignacio at openservices dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (02/11/2000) OS: Red Hat 6.2
Private report: No CVE-ID: None
 [2000-11-02 14:39 UTC] ignacio at openservices dot net
(CVS 2000.10.27)

You see, the global variable $GLOBALS has this element, it's called  "GLOBALS", and can you guess what it contains?

<?
  print_r($GLOBALS);
?>

var_dump, on the other hand, had this to say:

<br>
<b>Warning</b>: Nesting level too deep - recursive dependency? in <b>/path/to/script/script.php3</b> on line <b>2</b>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-02 14:53 UTC] waldschrott@php.net
This is currently a known issue under investigation, thanks
for your report.
 [2000-11-02 18:24 UTC] zeev@php.net
Fixed, thanks for the bug report
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 22 01:00:02 2026 UTC