Hello friends,
I’ve seen in some code examples in ZF documentation about echoing variables in view scripts like this:
<?= $this->var; ?>
I tried out this in my view but doesn’t seem to work, unless I put all the echo instruction like this:
<?php echo $this->var ?>
Can anyone tell me how configure my project environment to work like the first option? I appreciate so much your help, thank you.
没有评论:
发表评论