note 90819 deleted from function.var-export by danbrown

From: Date: Mon, 11 May 2009 18:16:27 +0000
Subject: note 90819 deleted from function.var-export by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154463@lists.php.net to get a copy of this message
Note Submitter: Tahir ---- Glen, Surprisingly array_merge() somehow handles recursive references as well. So we can write: <?php $lunars=array_merge($GLOBALS); $lunars[GLOBALS]="-deleted-"; $lunars_str = var_export($lunars, TRUE); ?> until the bug in var_export() function is removed.

« previous php.notes (#154463) next »