Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14795
| From | crankypuss <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | how to identify $GLOBALS['GLOBAL'] as recursive? |
| Date | 2015-01-03 08:43 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <m892mh$ecs$1@dont-email.me> (permalink) |
I've had a dump() subroutine for years but never happened to dump($GLOBALS) before, go figure. So, var_dump($GLOBALS['GLOBALS']) works fine, and shows ["GLOBALS"]=> *RECURSION* so clearly it can identify $GLOBALS['GLOBALS'] either as a special-case or through some other mechanism. I can certainly deal with it as a special-case until I have time to figure it out, but is there some cleaner way to identify a variable that is itself recursive? -- undisclosedUserid@gmail.com
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
how to identify $GLOBALS['GLOBAL'] as recursive? crankypuss <invalid@invalid.invalid> - 2015-01-03 08:43 -0700 Re: how to identify $GLOBALS['GLOBAL'] as recursive? Richard Damon <Richard@Damon-Family.org> - 2015-01-03 13:53 -0500
csiph-web