Reputation: 3265
When rendering a Zend_View, the php code inside it is not executed and I get back the actual text of the view. Example:
<?echo 'Hello';?>
I would expect the output to be
Hello
instead I get back
<?echo 'Hello';?>
Configuration: xampp 1.7.3 (php 5.3.1) on Windows 7, Zend Framework 1.10.4
NOTE:
I DO have this issue
1. when running php from command line
2. when running phpunit through netbeans
I DON'T have this issue
1. when running php through Apache
2. when running phpunit from command line
Upvotes: 0
Views: 95
Reputation: 3871
Look at short tag configuration in the php ini you use in those situations and also see if processing .phtml is set up
to get the ini you are using on command line use php --ini
Upvotes: 1