Function php
Prints PHP code inside a tag, for further execution.
Example:
Located at app/Kernel/Helpers/support_functions.php
php("echo 'Copyright ', date('Y')")
will echo
<?php echo 'Copyright ', date('Y')?>
and php will parse it.
Located at app/Kernel/Helpers/support_functions.php
string |
$php |
|
boolean |
$return = FALSE |
= FALSE |
string
|
the $php code inside <?php ?> tags |