Using Hookbox To Execute PHP Code

Here's the output of my hookbox/shortcode

[hookbox_php]

This is my code in the Beaver Extender Hookbox

<?php echo 'Theme Name: ' . wp_get_theme(); ?> <br> <?php echo 'Post Title: ' . get_the_title( $before, $after, $echo ); ?> <br> <?php echo 'Category of this post: ' .the_category( $separator, $parents, $post_id ); ?> <br> <?php echo "Just some text Cool Dude"; ?>