- debug_zval_dump: documentation ( source)
<?php
$actions = array();
for ($x = 1; $x < 3; ++$x){
$actions[] = function(){
echo 'this is action 425 to 724';
// etc etc..
};
}
debug_zval_dump($actions[0]);
debug_zval_dump($actions[1]);