| 1 | <? |
||
| 10 | class PropertyDefinition { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var Token |
||
| 14 | */ |
||
| 15 | private $variable; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | private $tokensToReplace; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * @param Token $variable |
||
| 25 | * @param array $tokensToReplace |
||
| 26 | */ |
||
| 27 | public function __construct(Token $variable, array $tokensToReplace) { |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @return Token |
||
| 35 | */ |
||
| 36 | public function getVariable() { |
||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * @return Token[] |
||
| 43 | */ |
||
| 44 | public function getTokensToReplace() { |
||
| 47 | |||
| 48 | |||
| 49 | } |
Short opening tags are disabled in PHP’s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.
As a precaution to avoid these problems better use the long opening tag
<?php.