I have a very simple question about php. In PHP, can we have script function, javascript or any other script in php section without script tag. Something like this:
<?php
function javascript_or_any_other_script_function() {
}
?>
I am aware that the question is pretty naive (almost silly) but I wanted to see whether php supports this syntax.
Thanks in advance,