note 92545 added to reserved.variables.globals

From: Date: Tue, 28 Jul 2009 22:53:59 +0000
Subject: note 92545 added to reserved.variables.globals
Groups: php.notes 
Request: Send a blank email to php-notes+get-158847@lists.php.net to get a copy of this message
Better yet, use print_r. While var_dump does detect the recursion that var_export fails on, it seems to recurse one level first for my setup. So var_dump ends up printing all globals twice, but print_r prints them only once since it detects the recursion right away. Serialize seems to not detect the recursion at all either, similar to var_export. ---- Server IP: 208.69.120.35 Probable Submitter: 66.57.39.193 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.globals.php Edit -- https://master.php.net/note/edit/92545 Del: integrated -- https://master.php.net/note/delete/92545/integrated Del: useless -- https://master.php.net/note/delete/92545/useless Del: bad code -- https://master.php.net/note/delete/92545/bad+code Del: spam -- https://master.php.net/note/delete/92545/spam Del: non-english -- https://master.php.net/note/delete/92545/non-english Del: in docs -- https://master.php.net/note/delete/92545/in+docs Del: other reasons-- https://master.php.net/note/delete/92545 Reject -- https://master.php.net/note/reject/92545 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158847) next »