<?php
$Arr = array(); $Arr['self'] = &$Arr; var_dump ( $Arr );
?>
It returns:
array(1) { ["self"]=> array(1) { ["self"]=> *RECURSION* } }
Is that as its expected to be? I meant that perhaps it should be:
array(1) { ["self"]=> *RECURSION* }
Since the element in $Arr['self'] is yet (or at least should be) a reference to itself...
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php