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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 + 48 = ?
Subscribe to this entry?

 
 [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-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 07:05:53 2023 UTC