Node > Exec
The element is a wrapper for the exec parser. Inner text will be passed to PHP's eval() function and the returning result will be exported by the node. See documentation on the exec parser for more information on accepted attributes.
Note that expressions will be parsed first before the inner text is executed.
parser : 'exec'
walk : false
<exec>
return 1 + 1;
</exec>
<exec>
return get_bloginfo('name');
</exec>
<exec context=base=4&exp=2 >
return pow({ $base }, { $exp });
</exec>