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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 16:01:29 2024 UTC