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

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: Sat Dec 21 15:01:29 2024 UTC