Open
Description
Cast expressions may not contain anything except spaces and tabs between the parentheses.
In the following example, the parser generates a CastExpression while PHP sees it as a constant named 'int' followed by a variable.
Example:
<?php (/* hello */int)$a;
Actual result:
No error.
Expected result:
syntax error, unexpected $a (T_VARIABLE)