I have declared
$func = array( \'a\' => array( \'b\' => function() { echo \"hello\"; } ) );
I try
What you did works. Try this:
<?php $func = array( 'a' => array( 'b' => function() { echo "hello"; } ) ); $call = $func['a']['b']; $call();
See also here.