note 54028 deleted from reserved.variables by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 18:22:03 +0000 |
| Subject: | note 54028 deleted from reserved.variables by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134348@lists.php.net to get a copy of this message | ||
Note Submitter: koerner-familie at t-online dot de
----
If you want to make a copy of $BLOBALS (e.g. to test whether which tariables were changed during
script-runtime,
<?php $___debug_var_dump = $GLOBALS; ?>
will _NOT_ make a copy in PHP4 (tested with 4.3.11). Use
<?php $___debug_var_dump = array_merge($GLOBALS, array()); ?> instead, but ONLY for testing
purpose.
Best regards, Peter