php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3926
Submitted: 2000-03-25 16:43 UTC Modified: 2000-07-02 04:05 UTC
From: leon at leonatkinson dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (25/03/2000) OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: leon at leonatkinson dot com
New email:
PHP Version: OS:

 

 [2000-03-25 16:43 UTC] leon at leonatkinson dot com
Try this amusing exercise:

<pre>
<? 
	print_r($GLOBALS);
?>
</pre>

This goes on infinitely because the GLOBALS
array contains itself.  It would be nice if print_r
would avoid this.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-02 04:05 UTC] sterling at cvs dot php dot net
A big warning is added about this in the documentation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 10 00:01:28 2024 UTC