Zend Framework

Short tags are deprecated in PHP6

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.8.4
  • Fix Version/s: None
  • Component/s: Zend_Tool
  • Labels:
    None

Description

Short tags are meant to be deprecated in PHP6. Enforcing this setting in my server, I've been able to find this bug

From Zend/Tool/Project/Context/Zf/ViewScriptFile.php:
Starting in line 127:

<h2><?= \$this->message ?></h2>

  <? if ('development' == APPLICATION_ENV): ?>

  <h3>Exception information:</h3>
  <p>
      <b>Message:</b> <?= \$this->exception->getMessage() ?>
  </p>

  <h3>Stack trace:</h3>
  <pre><?= \$this->exception->getTraceAsString() ?>
  </pre>

  <h3>Request Parameters:</h3>
  <pre><? var_dump(\$this->request->getParams()) ?>
  </pre>
  <? endif ?>

Issue Links

Activity

Hide
Satoru Yoshida added a comment -

It seems to be duplicate of ZF-6889

Show
Satoru Yoshida added a comment - It seems to be duplicate of ZF-6889

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: