echo , print , die , require , require_once , include , include_once and others (I'm sure I missed some) are not functions, but language constructs. Using say echo() with parentheses means syntactic sugar.
If you want to use them, as you already above, you will need to wrap them in a function:
<?php function echoMyEcho($str){ echo $str; } $c = "echoMyEcho"; $c("Let go of my eggo");
source share